Files
gustavoo-me/wp-content/plugins/fluent-crm/assets/vendor.js
T
2026-07-23 22:56:30 -03:00

2 lines
1.7 MiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var t=t=>{throw TypeError(t)},e=(e,n,i)=>n.has(e)||t("Cannot "+i),n=(t,n,i)=>(e(t,n,"read from private field"),i?i.call(t):n.get(t)),i=(e,n,i)=>n.has(e)?t("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(e):n.set(e,i),r=(t,n,i,r)=>(e(t,n,"write to private field"),r?r.call(t,i):n.set(t,i),i),o=(t,n,i)=>(e(t,n,"access private method"),i);function a(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}const s={},l=[],u=()=>{},d=()=>!1,c=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),h=t=>t.startsWith("onUpdate:"),p=Object.assign,f=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},g=Object.prototype.hasOwnProperty,y=(t,e)=>g.call(t,e),m=Array.isArray,v=t=>"[object Map]"===I(t),x=t=>"[object Set]"===I(t),_=t=>"[object Date]"===I(t),b=t=>"function"==typeof t,w=t=>"string"==typeof t,S=t=>"symbol"==typeof t,M=t=>null!==t&&"object"==typeof t,$=t=>(M(t)||b(t))&&b(t.then)&&b(t.catch),C=Object.prototype.toString,I=t=>C.call(t),T=t=>"[object Object]"===I(t),A=t=>w(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,D=a(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=a("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),L=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},O=/-\w/g,E=L(t=>t.replace(O,t=>t.slice(1).toUpperCase())),P=/\B([A-Z])/g,N=L(t=>t.replace(P,"-$1").toLowerCase()),R=L(t=>t.charAt(0).toUpperCase()+t.slice(1)),B=L(t=>t?`on${R(t)}`:""),z=(t,e)=>!Object.is(t,e),F=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},V=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},G=t=>{const e=parseFloat(t);return isNaN(e)?t:e},W=t=>{const e=w(t)?Number(t):NaN;return isNaN(e)?t:e};let H;const j=()=>H||(H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});const U=a("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function Y(t){if(m(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=w(i)?K(i):Y(i);if(r)for(const t in r)e[t]=r[t]}return e}if(w(t)||M(t))return t}const X=/;(?![^(]*\))/g,Z=/:([^]+)/,q=/\/\*[^]*?\*\//g;function K(t){const e={};return t.replace(q,"").split(X).forEach(t=>{if(t){const n=t.split(Z);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function J(t){let e="";if(w(t))e=t;else if(m(t))for(let n=0;n<t.length;n++){const i=J(t[n]);i&&(e+=i+" ")}else if(M(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function Q(t){if(!t)return null;let{class:e,style:n}=t;return e&&!w(e)&&(t.class=J(e)),n&&(t.style=Y(n)),t}const tt=a("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot"),et=a("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),nt=a("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),it=a("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),rt=a("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ot(t){return!!t||""===t}function at(t,e){if(t===e)return!0;let n=_(t),i=_(e);if(n||i)return!(!n||!i)&&t.getTime()===e.getTime();if(n=S(t),i=S(e),n||i)return t===e;if(n=m(t),i=m(e),n||i)return!(!n||!i)&&function(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=at(t[i],e[i]);return n}(t,e);if(n=M(t),i=M(e),n||i){if(!n||!i)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t){const i=t.hasOwnProperty(n),r=e.hasOwnProperty(n);if(i&&!r||!i&&r||!at(t[n],e[n]))return!1}}return String(t)===String(e)}function st(t,e){return t.findIndex(t=>at(t,e))}const lt=t=>!(!t||!0!==t.__v_isRef),ut=t=>w(t)?t:null==t?"":m(t)||M(t)&&(t.toString===C||!b(t.toString))?lt(t)?ut(t.value):JSON.stringify(t,dt,2):String(t),dt=(t,e)=>lt(e)?dt(t,e.value):v(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n],i)=>(t[ct(e,i)+" =>"]=n,t),{})}:x(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>ct(t))}:S(e)?ct(e):!M(e)||m(e)||T(e)?e:String(e),ct=(t,e="")=>{var n;return S(t)?`Symbol(${null!=(n=t.description)?n:e})`:t};function ht(t){return null==t?"initial":"string"==typeof t?""===t?" ":t:String(t)}var pt="object"==typeof global&&global&&global.Object===Object&&global,ft="object"==typeof self&&self&&self.Object===Object&&self,gt=pt||ft||Function("return this")(),yt=gt.Symbol,mt=Object.prototype,vt=mt.hasOwnProperty,xt=mt.toString,_t=yt?yt.toStringTag:void 0;var bt=Object.prototype.toString;var wt=yt?yt.toStringTag:void 0;function St(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":wt&&wt in Object(t)?function(t){var e=vt.call(t,_t),n=t[_t];try{t[_t]=void 0;var i=!0}catch(Qb){}var r=xt.call(t);return i&&(e?t[_t]=n:delete t[_t]),r}(t):function(t){return bt.call(t)}(t)}function Mt(t){return null!=t&&"object"==typeof t}function $t(t){return"symbol"==typeof t||Mt(t)&&"[object Symbol]"==St(t)}function Ct(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}var It=Array.isArray,Tt=yt?yt.prototype:void 0,At=Tt?Tt.toString:void 0;function Dt(t){if("string"==typeof t)return t;if(It(t))return Ct(t,Dt)+"";if($t(t))return At?At.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}var kt=/\s/;var Lt=/^\s+/;function Ot(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&kt.test(t.charAt(e)););return e}(t)+1).replace(Lt,""):t}function Et(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Pt=/^[-+]0x[0-9a-f]+$/i,Nt=/^0b[01]+$/i,Rt=/^0o[0-7]+$/i,Bt=parseInt;function zt(t){if("number"==typeof t)return t;if($t(t))return NaN;if(Et(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Et(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ot(t);var n=Nt.test(t);return n||Rt.test(t)?Bt(t.slice(2),n?2:8):Pt.test(t)?NaN:+t}function Ft(t){return t}function Vt(t){if(!Et(t))return!1;var e=St(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var Gt,Wt=gt["__core-js_shared__"],Ht=(Gt=/[^.]+$/.exec(Wt&&Wt.keys&&Wt.keys.IE_PROTO||""))?"Symbol(src)_1."+Gt:"";var jt=Function.prototype.toString;function Ut(t){if(null!=t){try{return jt.call(t)}catch(Qb){}try{return t+""}catch(Qb){}}return""}var Yt=/^\[object .+?Constructor\]$/,Xt=Function.prototype,Zt=Object.prototype,qt=Xt.toString,Kt=Zt.hasOwnProperty,Jt=RegExp("^"+qt.call(Kt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qt(t){return!(!Et(t)||(e=t,Ht&&Ht in e))&&(Vt(t)?Jt:Yt).test(Ut(t));var e}function te(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Qt(n)?n:void 0}var ee=te(gt,"WeakMap"),ne=Object.create,ie=function(){function t(){}return function(e){if(!Et(e))return{};if(ne)return ne(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function re(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var oe=Date.now;var ae,se,le,ue=function(){try{var t=te(Object,"defineProperty");return t({},"",{}),t}catch(Qb){}}(),de=ue?function(t,e){return ue(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Ft,ce=(ae=de,se=0,le=0,function(){var t=oe(),e=16-(t-le);if(le=t,e>0){if(++se>=800)return arguments[0]}else se=0;return ae.apply(void 0,arguments)});function he(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function pe(t){return t!=t}function fe(t,e){return!!(null==t?0:t.length)&&function(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):he(t,pe,n)}(t,e,0)>-1}var ge=/^(?:0|[1-9]\d*)$/;function ye(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&ge.test(t))&&t>-1&&t%1==0&&t<e}function me(t,e,n){"__proto__"==e&&ue?ue(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ve(t,e){return t===e||t!=t&&e!=e}var xe=Object.prototype.hasOwnProperty;function _e(t,e,n){var i=t[e];xe.call(t,e)&&ve(i,n)&&(void 0!==n||e in t)||me(t,e,n)}function be(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=void 0;void 0===l&&(l=t[s]),r?me(n,s,l):_e(n,s,l)}return n}var we=Math.max;function Se(t,e,n){return e=we(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=we(i.length-e,0),a=Array(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,s)}}function Me(t,e){return ce(Se(t,e,Ft),t+"")}function $e(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ce(t){return null!=t&&$e(t.length)&&!Vt(t)}var Ie=Object.prototype;function Te(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ie)}function Ae(t){return Mt(t)&&"[object Arguments]"==St(t)}var De=Object.prototype,ke=De.hasOwnProperty,Le=De.propertyIsEnumerable,Oe=Ae(function(){return arguments}())?Ae:function(t){return Mt(t)&&ke.call(t,"callee")&&!Le.call(t,"callee")};var Ee="object"==typeof exports&&exports&&!exports.nodeType&&exports,Pe=Ee&&"object"==typeof module&&module&&!module.nodeType&&module,Ne=Pe&&Pe.exports===Ee?gt.Buffer:void 0,Re=(Ne?Ne.isBuffer:void 0)||function(){return!1},Be={};function ze(t){return function(e){return t(e)}}Be["[object Float32Array]"]=Be["[object Float64Array]"]=Be["[object Int8Array]"]=Be["[object Int16Array]"]=Be["[object Int32Array]"]=Be["[object Uint8Array]"]=Be["[object Uint8ClampedArray]"]=Be["[object Uint16Array]"]=Be["[object Uint32Array]"]=!0,Be["[object Arguments]"]=Be["[object Array]"]=Be["[object ArrayBuffer]"]=Be["[object Boolean]"]=Be["[object DataView]"]=Be["[object Date]"]=Be["[object Error]"]=Be["[object Function]"]=Be["[object Map]"]=Be["[object Number]"]=Be["[object Object]"]=Be["[object RegExp]"]=Be["[object Set]"]=Be["[object String]"]=Be["[object WeakMap]"]=!1;var Fe="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ve=Fe&&"object"==typeof module&&module&&!module.nodeType&&module,Ge=Ve&&Ve.exports===Fe&&pt.process,We=function(){try{var t=Ve&&Ve.require&&Ve.require("util").types;return t||Ge&&Ge.binding&&Ge.binding("util")}catch(Qb){}}(),He=We&&We.isTypedArray,je=He?ze(He):function(t){return Mt(t)&&$e(t.length)&&!!Be[St(t)]},Ue=Object.prototype.hasOwnProperty;function Ye(t,e){var n=It(t),i=!n&&Oe(t),r=!n&&!i&&Re(t),o=!n&&!i&&!r&&je(t),a=n||i||r||o,s=a?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],l=s.length;for(var u in t)!e&&!Ue.call(t,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ye(u,l))||s.push(u);return s}function Xe(t,e){return function(n){return t(e(n))}}var Ze=Xe(Object.keys,Object),qe=Object.prototype.hasOwnProperty;function Ke(t){return Ce(t)?Ye(t):function(t){if(!Te(t))return Ze(t);var e=[];for(var n in Object(t))qe.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}var Je=Object.prototype.hasOwnProperty;function Qe(t){if(!Et(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=Te(t),n=[];for(var i in t)("constructor"!=i||!e&&Je.call(t,i))&&n.push(i);return n}function tn(t){return Ce(t)?Ye(t,!0):Qe(t)}var en=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/;function rn(t,e){if(It(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!$t(t))||(nn.test(t)||!en.test(t)||null!=e&&t in Object(e))}var on=te(Object,"create");var an=Object.prototype.hasOwnProperty;var sn=Object.prototype.hasOwnProperty;function ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function un(t,e){for(var n=t.length;n--;)if(ve(t[n][0],e))return n;return-1}ln.prototype.clear=function(){this.__data__=on?on(null):{},this.size=0},ln.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ln.prototype.get=function(t){var e=this.__data__;if(on){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return an.call(e,t)?e[t]:void 0},ln.prototype.has=function(t){var e=this.__data__;return on?void 0!==e[t]:sn.call(e,t)},ln.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=on&&void 0===e?"__lodash_hash_undefined__":e,this};var dn=Array.prototype.splice;function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}cn.prototype.clear=function(){this.__data__=[],this.size=0},cn.prototype.delete=function(t){var e=this.__data__,n=un(e,t);return!(n<0)&&(n==e.length-1?e.pop():dn.call(e,n,1),--this.size,!0)},cn.prototype.get=function(t){var e=this.__data__,n=un(e,t);return n<0?void 0:e[n][1]},cn.prototype.has=function(t){return un(this.__data__,t)>-1},cn.prototype.set=function(t,e){var n=this.__data__,i=un(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};var hn=te(gt,"Map");function pn(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function fn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}fn.prototype.clear=function(){this.size=0,this.__data__={hash:new ln,map:new(hn||cn),string:new ln}},fn.prototype.delete=function(t){var e=pn(this,t).delete(t);return this.size-=e?1:0,e},fn.prototype.get=function(t){return pn(this,t).get(t)},fn.prototype.has=function(t){return pn(this,t).has(t)},fn.prototype.set=function(t,e){var n=pn(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function gn(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(gn.Cache||fn),n}gn.Cache=fn;var yn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mn=/\\(\\)?/g,vn=function(t){var e=gn(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(yn,function(t,n,i,r){e.push(i?r.replace(mn,"$1"):n||t)}),e});function xn(t,e){return It(t)?t:rn(t,e)?[t]:vn(function(t){return null==t?"":Dt(t)}(t))}function _n(t){if("string"==typeof t||$t(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function bn(t,e){for(var n=0,i=(e=xn(e,t)).length;null!=t&&n<i;)t=t[_n(e[n++])];return n&&n==i?t:void 0}function wn(t,e,n){var i=null==t?void 0:bn(t,e);return void 0===i?n:i}function Sn(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}var Mn=yt?yt.isConcatSpreadable:void 0;function $n(t){return It(t)||Oe(t)||!!(Mn&&t&&t[Mn])}function Cn(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=$n),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?Cn(s,e-1,n,i,r):Sn(r,s):i||(r[r.length]=s)}return r}function In(t){return(null==t?0:t.length)?Cn(t,1):[]}function Tn(t){return ce(Se(t,void 0,In),t+"")}var An=Xe(Object.getPrototypeOf,Object),Dn=Function.prototype,kn=Object.prototype,Ln=Dn.toString,On=kn.hasOwnProperty,En=Ln.call(Object);function Pn(t){if(!Mt(t)||"[object Object]"!=St(t))return!1;var e=An(t);if(null===e)return!0;var n=On.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ln.call(n)==En}function Nn(){if(!arguments.length)return[];var t=arguments[0];return It(t)?t:[t]}function Rn(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=zt(n))==n?n:0),void 0!==e&&(e=(e=zt(e))==e?e:0),function(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}(zt(t),e,n)}function Bn(t){var e=this.__data__=new cn(t);this.size=e.size}Bn.prototype.clear=function(){this.__data__=new cn,this.size=0},Bn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Bn.prototype.get=function(t){return this.__data__.get(t)},Bn.prototype.has=function(t){return this.__data__.has(t)},Bn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof cn){var i=n.__data__;if(!hn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new fn(i)}return n.set(t,e),this.size=n.size,this};var zn="object"==typeof exports&&exports&&!exports.nodeType&&exports,Fn=zn&&"object"==typeof module&&module&&!module.nodeType&&module,Vn=Fn&&Fn.exports===zn?gt.Buffer:void 0,Gn=Vn?Vn.allocUnsafe:void 0;function Wn(t,e){if(e)return t.slice();var n=t.length,i=Gn?Gn(n):new t.constructor(n);return t.copy(i),i}function Hn(){return[]}var jn=Object.prototype.propertyIsEnumerable,Un=Object.getOwnPropertySymbols,Yn=Un?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}(Un(t),function(e){return jn.call(t,e)}))}:Hn;var Xn=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Sn(e,Yn(t)),t=An(t);return e}:Hn;function Zn(t,e,n){var i=e(t);return It(t)?i:Sn(i,n(t))}function qn(t){return Zn(t,Ke,Yn)}function Kn(t){return Zn(t,tn,Xn)}var Jn=te(gt,"DataView"),Qn=te(gt,"Promise"),ti=te(gt,"Set"),ei="[object Map]",ni="[object Promise]",ii="[object Set]",ri="[object WeakMap]",oi="[object DataView]",ai=Ut(Jn),si=Ut(hn),li=Ut(Qn),ui=Ut(ti),di=Ut(ee),ci=St;(Jn&&ci(new Jn(new ArrayBuffer(1)))!=oi||hn&&ci(new hn)!=ei||Qn&&ci(Qn.resolve())!=ni||ti&&ci(new ti)!=ii||ee&&ci(new ee)!=ri)&&(ci=function(t){var e=St(t),n="[object Object]"==e?t.constructor:void 0,i=n?Ut(n):"";if(i)switch(i){case ai:return oi;case si:return ei;case li:return ni;case ui:return ii;case di:return ri}return e});var hi=Object.prototype.hasOwnProperty;var pi=gt.Uint8Array;function fi(t){var e=new t.constructor(t.byteLength);return new pi(e).set(new pi(t)),e}var gi=/\w*$/;var yi=yt?yt.prototype:void 0,mi=yi?yi.valueOf:void 0;function vi(t,e){var n=e?fi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function xi(t,e,n){var i,r,o,a=t.constructor;switch(e){case"[object ArrayBuffer]":return fi(t);case"[object Boolean]":case"[object Date]":return new a(+t);case"[object DataView]":return function(t,e){var n=e?fi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return vi(t,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(t);case"[object RegExp]":return(o=new(r=t).constructor(r.source,gi.exec(r))).lastIndex=r.lastIndex,o;case"[object Symbol]":return i=t,mi?Object(mi.call(i)):{}}}function _i(t){return"function"!=typeof t.constructor||Te(t)?{}:ie(An(t))}var bi=We&&We.isMap,wi=bi?ze(bi):function(t){return Mt(t)&&"[object Map]"==ci(t)};var Si=We&&We.isSet,Mi=Si?ze(Si):function(t){return Mt(t)&&"[object Set]"==ci(t)},$i="[object Arguments]",Ci="[object Function]",Ii="[object Object]",Ti={};function Ai(t,e,n,i,r,o){var a,s=1&e,l=2&e,u=4&e;if(n&&(a=r?n(t,i,r,o):n(t)),void 0!==a)return a;if(!Et(t))return t;var d=It(t);if(d){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&hi.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return re(t,a)}else{var c=ci(t),h=c==Ci||"[object GeneratorFunction]"==c;if(Re(t))return Wn(t,s);if(c==Ii||c==$i||h&&!r){if(a=l||h?{}:_i(t),!s)return l?function(t,e){return be(t,Xn(t),e)}(t,function(t,e){return t&&be(e,tn(e),t)}(a,t)):function(t,e){return be(t,Yn(t),e)}(t,function(t,e){return t&&be(e,Ke(e),t)}(a,t))}else{if(!Ti[c])return r?t:{};a=xi(t,c,s)}}o||(o=new Bn);var p=o.get(t);if(p)return p;o.set(t,a),Mi(t)?t.forEach(function(i){a.add(Ai(i,e,n,i,t,o))}):wi(t)&&t.forEach(function(i,r){a.set(r,Ai(i,e,n,r,t,o))});var f=d?void 0:(u?l?Kn:qn:l?tn:Ke)(t);return function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););}(f||t,function(i,r){f&&(i=t[r=i]),_e(a,r,Ai(i,e,n,r,t,o))}),a}Ti[$i]=Ti["[object Array]"]=Ti["[object ArrayBuffer]"]=Ti["[object DataView]"]=Ti["[object Boolean]"]=Ti["[object Date]"]=Ti["[object Float32Array]"]=Ti["[object Float64Array]"]=Ti["[object Int8Array]"]=Ti["[object Int16Array]"]=Ti["[object Int32Array]"]=Ti["[object Map]"]=Ti["[object Number]"]=Ti[Ii]=Ti["[object RegExp]"]=Ti["[object Set]"]=Ti["[object String]"]=Ti["[object Symbol]"]=Ti["[object Uint8Array]"]=Ti["[object Uint8ClampedArray]"]=Ti["[object Uint16Array]"]=Ti["[object Uint32Array]"]=!0,Ti["[object Error]"]=Ti[Ci]=Ti["[object WeakMap]"]=!1;function Di(t){return Ai(t,5)}function ki(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new fn;++e<n;)this.add(t[e])}function Li(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function Oi(t,e){return t.has(e)}ki.prototype.add=ki.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ki.prototype.has=function(t){return this.__data__.has(t)};function Ei(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t),d=o.get(e);if(u&&d)return u==e&&d==t;var c=-1,h=!0,p=2&n?new ki:void 0;for(o.set(t,e),o.set(e,t);++c<s;){var f=t[c],g=e[c];if(i)var y=a?i(g,f,c,e,t,o):i(f,g,c,t,e,o);if(void 0!==y){if(y)continue;h=!1;break}if(p){if(!Li(e,function(t,e){if(!Oi(p,e)&&(f===t||r(f,t,n,i,o)))return p.push(e)})){h=!1;break}}else if(f!==g&&!r(f,g,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function Pi(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function Ni(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var Ri=yt?yt.prototype:void 0,Bi=Ri?Ri.valueOf:void 0;var zi=Object.prototype.hasOwnProperty;var Fi="[object Arguments]",Vi="[object Array]",Gi="[object Object]",Wi=Object.prototype.hasOwnProperty;function Hi(t,e,n,i,r,o){var a=It(t),s=It(e),l=a?Vi:ci(t),u=s?Vi:ci(e),d=(l=l==Fi?Gi:l)==Gi,c=(u=u==Fi?Gi:u)==Gi,h=l==u;if(h&&Re(t)){if(!Re(e))return!1;a=!0,d=!1}if(h&&!d)return o||(o=new Bn),a||je(t)?Ei(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new pi(t),new pi(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ve(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=Pi;case"[object Set]":var l=1&i;if(s||(s=Ni),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=2,a.set(t,e);var d=Ei(s(t),s(e),i,r,o,a);return a.delete(t),d;case"[object Symbol]":if(Bi)return Bi.call(t)==Bi.call(e)}return!1}(t,e,l,n,i,r,o);if(!(1&n)){var p=d&&Wi.call(t,"__wrapped__"),f=c&&Wi.call(e,"__wrapped__");if(p||f){var g=p?t.value():t,y=f?e.value():e;return o||(o=new Bn),r(g,y,n,i,o)}}return!!h&&(o||(o=new Bn),function(t,e,n,i,r,o){var a=1&n,s=qn(t),l=s.length;if(l!=qn(e).length&&!a)return!1;for(var u=l;u--;){var d=s[u];if(!(a?d in e:zi.call(e,d)))return!1}var c=o.get(t),h=o.get(e);if(c&&h)return c==e&&h==t;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++u<l;){var g=t[d=s[u]],y=e[d];if(i)var m=a?i(y,g,d,e,t,o):i(g,y,d,t,e,o);if(!(void 0===m?g===y||r(g,y,n,i,o):m)){p=!1;break}f||(f="constructor"==d)}if(p&&!f){var v=t.constructor,x=e.constructor;v==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof x&&x instanceof x||(p=!1)}return o.delete(t),o.delete(e),p}(t,e,n,i,r,o))}function ji(t,e,n,i,r){return t===e||(null==t||null==e||!Mt(t)&&!Mt(e)?t!=t&&e!=e:Hi(t,e,n,i,ji,r))}function Ui(t){return t==t&&!Et(t)}function Yi(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function Xi(t){var e=function(t){for(var e=Ke(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,Ui(r)]}return e}(t);return 1==e.length&&e[0][2]?Yi(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,i){var r=n.length,o=r;if(null==t)return!o;for(t=Object(t);r--;){var a=n[r];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++r<o;){var s=(a=n[r])[0],l=t[s],u=a[1];if(a[2]){if(void 0===l&&!(s in t))return!1}else if(!ji(u,l,3,i,new Bn))return!1}return!0}(n,0,e)}}function Zi(t,e){return null!=t&&e in Object(t)}function qi(t,e){return null!=t&&function(t,e,n){for(var i=-1,r=(e=xn(e,t)).length,o=!1;++i<r;){var a=_n(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&$e(r)&&ye(a,r)&&(It(t)||Oe(t))}(t,e,Zi)}function Ki(t){return rn(t)?(e=_n(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return bn(e,t)}}(t);var e}function Ji(t){return"function"==typeof t?t:null==t?Ft:"object"==typeof t?It(t)?(e=t[0],n=t[1],rn(e)&&Ui(n)?Yi(_n(e),n):function(t){var i=wn(t,e);return void 0===i&&i===n?qi(t,e):ji(n,i,3)}):Xi(t):Ki(t);var e,n}var Qi=function(t,e,n){for(var i=-1,r=Object(t),o=n(t),a=o.length;a--;){var s=o[++i];if(!1===e(r[s],s,r))break}return t};var tr,er=(tr=function(t,e){return t&&Qi(t,e,Ke)},function(t,e){if(null==t)return t;if(!Ce(t))return tr(t,e);for(var n=t.length,i=-1,r=Object(t);++i<n&&!1!==e(r[i],i,r););return t}),nr=function(){return gt.Date.now()},ir=Math.max,rr=Math.min;function or(t,e,n){var i,r,o,a,s,l,u=0,d=!1,c=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var n=i,o=r;return i=r=void 0,u=e,a=t.apply(o,n)}function f(t){var n=t-l;return void 0===l||n>=e||n<0||c&&t-u>=o}function g(){var t=nr();if(f(t))return y(t);s=setTimeout(g,function(t){var n=e-(t-l);return c?rr(n,o-(t-u)):n}(t))}function y(t){return s=void 0,h&&i?p(t):(i=r=void 0,a)}function m(){var t=nr(),n=f(t);if(i=arguments,r=this,l=t,n){if(void 0===s)return function(t){return u=t,s=setTimeout(g,e),d?p(t):a}(l);if(c)return clearTimeout(s),s=setTimeout(g,e),p(l)}return void 0===s&&(s=setTimeout(g,e)),a}return e=zt(e)||0,Et(n)&&(d=!!n.leading,o=(c="maxWait"in n)?ir(zt(n.maxWait)||0,e):o,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==s&&clearTimeout(s),u=0,i=l=r=s=void 0},m.flush=function(){return void 0===s?a:y(nr())},m}function ar(t,e,n){(void 0!==n&&!ve(t[e],n)||void 0===n&&!(e in t))&&me(t,e,n)}function sr(t){return Mt(t)&&Ce(t)}function lr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function ur(t,e,n,i,r,o,a){var s=lr(t,n),l=lr(e,n),u=a.get(l);if(u)ar(t,n,u);else{var d,c=o?o(s,l,n+"",t,e,a):void 0,h=void 0===c;if(h){var p=It(l),f=!p&&Re(l),g=!p&&!f&&je(l);c=l,p||f||g?It(s)?c=s:sr(s)?c=re(s):f?(h=!1,c=Wn(l,!0)):g?(h=!1,c=vi(l,!0)):c=[]:Pn(l)||Oe(l)?(c=s,Oe(s)?c=be(d=s,tn(d)):Et(s)&&!Vt(s)||(c=_i(l))):h=!1}h&&(a.set(l,c),r(c,l,i,o,a),a.delete(l)),ar(t,n,c)}}function dr(t,e,n,i,r){t!==e&&Qi(e,function(o,a){if(r||(r=new Bn),Et(o))ur(t,e,a,n,dr,i,r);else{var s=i?i(lr(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),ar(t,a,s)}},tn)}function cr(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return he(t,Ji(e),r,!0)}function hr(t,e){var n=-1,i=Ce(t)?Array(t.length):[];return er(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function pr(t,e){return Cn(function(t,e){return(It(t)?Ct:hr)(t,Ji(e))}(t,e),1)}var fr=1/0;function gr(t){return(null==t?0:t.length)?Cn(t,fr):[]}function yr(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];me(i,r[0],r[1])}return i}function mr(t,e){return e.length<2?t:bn(t,function(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(r);++i<r;)o[i]=t[i+e];return o}(e,0,-1))}function vr(t,e){return ji(t,e)}function xr(t){return null==t}function _r(t){return null===t}function br(t){return void 0===t}var wr,Sr=(wr=function(t,e,n){dr(t,e,n)},Me(function(t,e){var n=-1,i=e.length,r=i>1?e[i-1]:void 0,o=i>2?e[2]:void 0;for(r=wr.length>3&&"function"==typeof r?(i--,r):void 0,o&&function(t,e,n){if(!Et(n))return!1;var i=typeof e;return!!("number"==i?Ce(n)&&ye(e,n.length):"string"==i&&e in n)&&ve(n[e],t)}(e[0],e[1],o)&&(r=i<3?void 0:r,i=1),t=Object(t);++n<i;){var a=e[n];a&&wr(t,a,n,r)}return t})),Mr=Object.prototype.hasOwnProperty;function $r(t,e){var n=-1,i=(e=xn(e,t)).length;if(!i)return!0;for(;++n<i;){var r=_n(e[n]);if("__proto__"===r&&!Mr.call(t,"__proto__"))return!1;if(("constructor"===r||"prototype"===r)&&n<i-1)return!1}var o=mr(t,e);return null==o||delete o[_n(function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}(e))]}function Cr(t){return Pn(t)?void 0:t}var Ir=Tn(function(t,e){var n={};if(null==t)return n;var i=!1;e=Ct(e,function(e){return e=xn(e,t),i||(i=e.length>1),e}),be(t,Kn(t),n),i&&(n=Ai(n,7,Cr));for(var r=e.length;r--;)$r(n,e[r]);return n});function Tr(t,e,n,i){if(!Et(t))return t;for(var r=-1,o=(e=xn(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=_n(e[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var d=s[l];void 0===(u=void 0)&&(u=Et(d)?d:ye(e[r+1])?[]:{})}_e(s,l,u),s=s[l]}return t}function Ar(t,e){return function(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=bn(t,a);n(s,a)&&Tr(o,xn(a,t),s)}return o}(t,e,function(e,n){return qi(t,n)})}var Dr=Tn(function(t,e){return null==t?{}:Ar(t,e)});function kr(t,e,n){return null==t?t:Tr(t,e,n)}function Lr(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return Et(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),or(t,e,{leading:i,maxWait:e,trailing:r})}var Or=ti&&1/Ni(new ti([,-0]))[1]==1/0?function(t){return new ti(t)}:function(){};var Er=Me(function(t){return function(t,e,n){var i=-1,r=fe,o=t.length,a=!0,s=[],l=s;if(o>=200){var u=Or(t);if(u)return Ni(u);a=!1,r=Oi,l=new ki}else l=s;t:for(;++i<o;){var d=t[i],c=d;if(d=0!==d?d:0,a&&c==c){for(var h=l.length;h--;)if(l[h]===c)continue t;s.push(d)}else r(l,c,n)||(l!==s&&l.push(c),s.push(d))}return s}(Cn(t,1,sr,!0))});let Pr,Nr;class Rr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Pr&&(Pr.active?(this.parent=Pr,this.index=(Pr.scopes||(Pr.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=Pr;try{return Pr=this,t()}finally{Pr=e}}}on(){1===++this._on&&(this.prevScope=Pr,Pr=this)}off(){if(this._on>0&&0===--this._on){if(Pr===this)Pr=this.prevScope;else{let t=Pr;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){let e,n;for(this._active=!1,e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(this.effects.length=0,e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0}}}function Br(t){return new Rr(t)}function zr(){return Pr}function Fr(t,e=!1){Pr&&Pr.cleanups.push(t)}const Vr=new WeakSet;class Gr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Pr&&(Pr.active?Pr.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Vr.has(this)&&(Vr.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Ur(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,oo(this),Zr(this);const t=Nr,e=eo;Nr=this,eo=!0;try{return this.fn()}finally{qr(this),Nr=t,eo=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)Qr(t);this.deps=this.depsTail=void 0,oo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Vr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Kr(this)&&this.run()}get dirty(){return Kr(this)}}let Wr,Hr,jr=0;function Ur(t,e=!1){if(t.flags|=8,e)return t.next=Hr,void(Hr=t);t.next=Wr,Wr=t}function Yr(){jr++}function Xr(){if(--jr>0)return;if(Hr){let t=Hr;for(Hr=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;for(;Wr;){let n=Wr;for(Wr=void 0;n;){const i=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(e){t||(t=e)}n=i}}if(t)throw t}function Zr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function qr(t){let e,n=t.depsTail,i=n;for(;i;){const t=i.prevDep;-1===i.version?(i===n&&(n=t),Qr(i),to(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}t.deps=e,t.depsTail=n}function Kr(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Jr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Jr(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===ao)return;if(t.globalVersion=ao,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!Kr(t)))return;t.flags|=2;const e=t.dep,n=Nr,i=eo;Nr=t,eo=!0;try{Zr(t);const n=t.fn(t._value);(0===e.version||z(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(r){throw e.version++,r}finally{Nr=n,eo=i,qr(t),t.flags&=-3}}function Qr(t,e=!1){const{dep:n,prevSub:i,nextSub:r}=t;if(i&&(i.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)Qr(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function to(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let eo=!0;const no=[];function io(){no.push(eo),eo=!1}function ro(){const t=no.pop();eo=void 0===t||t}function oo(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=Nr;Nr=void 0;try{e()}finally{Nr=t}}}let ao=0;class so{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class lo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Nr||!eo||Nr===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==Nr)e=this.activeLink=new so(Nr,this),Nr.deps?(e.prevDep=Nr.depsTail,Nr.depsTail.nextDep=e,Nr.depsTail=e):Nr.deps=Nr.depsTail=e,uo(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=Nr.depsTail,e.nextDep=void 0,Nr.depsTail.nextDep=e,Nr.depsTail=e,Nr.deps===e&&(Nr.deps=t)}return e}trigger(t){this.version++,ao++,this.notify(t)}notify(t){Yr();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{Xr()}}}function uo(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)uo(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const co=new WeakMap,ho=Symbol(""),po=Symbol(""),fo=Symbol("");function go(t,e,n){if(eo&&Nr){let e=co.get(t);e||co.set(t,e=new Map);let i=e.get(n);i||(e.set(n,i=new lo),i.map=e,i.key=n),i.track()}}function yo(t,e,n,i,r,o){const a=co.get(t);if(!a)return void ao++;const s=t=>{t&&t.trigger()};if(Yr(),"clear"===e)a.forEach(s);else{const r=m(t),o=r&&A(n);if(r&&"length"===n){const t=Number(i);a.forEach((e,n)=>{("length"===n||n===fo||!S(n)&&n>=t)&&s(e)})}else switch((void 0!==n||a.has(void 0))&&s(a.get(n)),o&&s(a.get(fo)),e){case"add":r?o&&s(a.get("length")):(s(a.get(ho)),v(t)&&s(a.get(po)));break;case"delete":r||(s(a.get(ho)),v(t)&&s(a.get(po)));break;case"set":v(t)&&s(a.get(ho))}}Xr()}function mo(t){const e=oa(t);return e===t?e:(go(e,0,fo),ia(t)?e:e.map(sa))}function vo(t){return go(t=oa(t),0,fo),t}function xo(t,e){return na(t)?la(ea(t)?sa(e):e):sa(e)}const _o={__proto__:null,[Symbol.iterator](){return bo(this,Symbol.iterator,t=>xo(this,t))},concat(...t){return mo(this).concat(...t.map(t=>m(t)?mo(t):t))},entries(){return bo(this,"entries",t=>(t[1]=xo(this,t[1]),t))},every(t,e){return So(this,"every",t,e,void 0,arguments)},filter(t,e){return So(this,"filter",t,e,t=>t.map(t=>xo(this,t)),arguments)},find(t,e){return So(this,"find",t,e,t=>xo(this,t),arguments)},findIndex(t,e){return So(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return So(this,"findLast",t,e,t=>xo(this,t),arguments)},findLastIndex(t,e){return So(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return So(this,"forEach",t,e,void 0,arguments)},includes(...t){return $o(this,"includes",t)},indexOf(...t){return $o(this,"indexOf",t)},join(t){return mo(this).join(t)},lastIndexOf(...t){return $o(this,"lastIndexOf",t)},map(t,e){return So(this,"map",t,e,void 0,arguments)},pop(){return Co(this,"pop")},push(...t){return Co(this,"push",t)},reduce(t,...e){return Mo(this,"reduce",t,e)},reduceRight(t,...e){return Mo(this,"reduceRight",t,e)},shift(){return Co(this,"shift")},some(t,e){return So(this,"some",t,e,void 0,arguments)},splice(...t){return Co(this,"splice",t)},toReversed(){return mo(this).toReversed()},toSorted(t){return mo(this).toSorted(t)},toSpliced(...t){return mo(this).toSpliced(...t)},unshift(...t){return Co(this,"unshift",t)},values(){return bo(this,"values",t=>xo(this,t))}};function bo(t,e,n){const i=vo(t),r=i[e]();return i===t||ia(t)||(r._next=r.next,r.next=()=>{const t=r._next();return t.done||(t.value=n(t.value)),t}),r}const wo=Array.prototype;function So(t,e,n,i,r,o){const a=vo(t),s=a!==t&&!ia(t),l=a[e];if(l!==wo[e]){const e=l.apply(t,o);return s?sa(e):e}let u=n;a!==t&&(s?u=function(e,i){return n.call(this,xo(t,e),i,t)}:n.length>2&&(u=function(e,i){return n.call(this,e,i,t)}));const d=l.call(a,u,i);return s&&r?r(d):d}function Mo(t,e,n,i){const r=vo(t);let o=n,a=!1;r!==t&&(r!==t&&!ia(t)?(a=0===i.length,o=function(e,i,r){return a&&(a=!1,e=xo(t,e)),n.call(this,e,xo(t,i),r,t)}):n.length>3&&(o=function(e,i,r){return n.call(this,e,i,r,t)}));const s=r[e](o,...i);return a?xo(t,s):s}function $o(t,e,n){const i=oa(t);go(i,0,fo);const r=i[e](...n);return-1!==r&&!1!==r||!ra(n[0])?r:(n[0]=oa(n[0]),i[e](...n))}function Co(t,e,n=[]){io(),Yr();const i=oa(t)[e].apply(t,n);return Xr(),ro(),i}const Io=a("__proto__,__v_isRef,__isVue"),To=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(S));function Ao(t){S(t)||(t=String(t));const e=oa(this);return go(e,0,t),e.hasOwnProperty(t)}class Do{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if("__v_isReactive"===e)return!i;if("__v_isReadonly"===e)return i;if("__v_isShallow"===e)return r;if("__v_raw"===e)return n===(i?r?Zo:Xo:r?Yo:Uo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=m(t);if(!i){let t;if(o&&(t=_o[e]))return t;if("hasOwnProperty"===e)return Ao}const a=Reflect.get(t,e,ua(t)?t:n);if(S(e)?To.has(e):Io(e))return a;if(i||go(t,0,e),r)return a;if(ua(a)){const t=o&&A(e)?a:a.value;return i&&M(t)?Jo(t):t}return M(a)?i?Jo(a):qo(a):a}}class ko extends Do{constructor(t=!1){super(!1,t)}set(t,e,n,i){let r=t[e];const o=m(t)&&A(e);if(!this._isShallow){const t=na(r);if(ia(n)||na(n)||(r=oa(r),n=oa(n)),!o&&ua(r)&&!ua(n))return t||(r.value=n),!0}const a=o?Number(e)<t.length:y(t,e),s=Reflect.set(t,e,n,ua(t)?t:i);return t===oa(i)&&(a?z(n,r)&&yo(t,"set",e,n):yo(t,"add",e,n)),s}deleteProperty(t,e){const n=y(t,e);t[e];const i=Reflect.deleteProperty(t,e);return i&&n&&yo(t,"delete",e,void 0),i}has(t,e){const n=Reflect.has(t,e);return S(e)&&To.has(e)||go(t,0,e),n}ownKeys(t){return go(t,0,m(t)?"length":ho),Reflect.ownKeys(t)}}class Lo extends Do{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const Oo=new ko,Eo=new Lo,Po=new ko(!0),No=new Lo(!0),Ro=t=>t,Bo=t=>Reflect.getPrototypeOf(t);function zo(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function Fo(t,e){const n={get(n){const i=this.__v_raw,r=oa(i),o=oa(n);t||(z(n,o)&&go(r,0,n),go(r,0,o));const{has:a}=Bo(r),s=e?Ro:t?la:sa;return a.call(r,n)?s(i.get(n)):a.call(r,o)?s(i.get(o)):void(i!==r&&i.get(n))},get size(){const e=this.__v_raw;return!t&&go(oa(e),0,ho),e.size},has(e){const n=this.__v_raw,i=oa(n),r=oa(e);return t||(z(e,r)&&go(i,0,e),go(i,0,r)),e===r?n.has(e):n.has(e)||n.has(r)},forEach(n,i){const r=this,o=r.__v_raw,a=e?Ro:t?la:sa;return!t&&go(oa(o),0,ho),o.forEach((t,e)=>n.call(i,a(t),a(e),r))}};p(n,t?{add:zo("add"),set:zo("set"),delete:zo("delete"),clear:zo("clear")}:{add(t){const n=oa(this),i=Bo(n),r=oa(t),o=e||ia(t)||na(t)?t:r;return i.has.call(n,o)||z(t,o)&&i.has.call(n,t)||z(r,o)&&i.has.call(n,r)||(n.add(o),yo(n,"add",o,o)),this},set(t,n){e||ia(n)||na(n)||(n=oa(n));const i=oa(this),{has:r,get:o}=Bo(i);let a=r.call(i,t);a||(t=oa(t),a=r.call(i,t));const s=o.call(i,t);return i.set(t,n),a?z(n,s)&&yo(i,"set",t,n):yo(i,"add",t,n),this},delete(t){const e=oa(this),{has:n,get:i}=Bo(e);let r=n.call(e,t);r||(t=oa(t),r=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return r&&yo(e,"delete",t,void 0),o},clear(){const t=oa(this),e=0!==t.size,n=t.clear();return e&&yo(t,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=function(t,e,n){return function(...i){const r=this.__v_raw,o=oa(r),a=v(o),s="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,u=r[t](...i),d=n?Ro:e?la:sa;return!e&&go(o,0,l?po:ho),p(Object.create(u),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:s?[d(t[0]),d(t[1])]:d(t),done:e}}})}}(i,t,e)}),n}function Vo(t,e){const n=Fo(t,e);return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(y(n,i)&&i in e?n:e,i,r)}const Go={get:Vo(!1,!1)},Wo={get:Vo(!1,!0)},Ho={get:Vo(!0,!1)},jo={get:Vo(!0,!0)},Uo=new WeakMap,Yo=new WeakMap,Xo=new WeakMap,Zo=new WeakMap;function qo(t){return na(t)?t:ta(t,!1,Oo,Go,Uo)}function Ko(t){return ta(t,!1,Po,Wo,Yo)}function Jo(t){return ta(t,!0,Eo,Ho,Xo)}function Qo(t){return ta(t,!0,No,jo,Zo)}function ta(t,e,n,i,r){if(!M(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;if(t.__v_skip||!Object.isExtensible(t))return t;const o=r.get(t);if(o)return o;const a=function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(I(t).slice(8,-1));if(0===a)return t;const s=new Proxy(t,2===a?i:n);return r.set(t,s),s}function ea(t){return na(t)?ea(t.__v_raw):!(!t||!t.__v_isReactive)}function na(t){return!(!t||!t.__v_isReadonly)}function ia(t){return!(!t||!t.__v_isShallow)}function ra(t){return!!t&&!!t.__v_raw}function oa(t){const e=t&&t.__v_raw;return e?oa(e):t}function aa(t){return!y(t,"__v_skip")&&Object.isExtensible(t)&&V(t,"__v_skip",!0),t}const sa=t=>M(t)?qo(t):t,la=t=>M(t)?Jo(t):t;function ua(t){return!!t&&!0===t.__v_isRef}function da(t){return ha(t,!1)}function ca(t){return ha(t,!0)}function ha(t,e){return ua(t)?t:new pa(t,e)}class pa{constructor(t,e){this.dep=new lo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:oa(t),this._value=e?t:sa(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||ia(t)||na(t);z(t=n?t:oa(t),e)&&(this._rawValue=t,this._value=n?t:sa(t),this.dep.trigger())}}function fa(t){t.dep&&t.dep.trigger()}function ga(t){return ua(t)?t.value:t}function ya(t){return b(t)?t():ga(t)}const ma={get:(t,e,n)=>"__v_raw"===e?t:ga(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return ua(r)&&!ua(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function va(t){return ea(t)?t:new Proxy(t,ma)}class xa{constructor(t){this.__v_isRef=!0,this._value=void 0;const e=this.dep=new lo,{get:n,set:i}=t(e.track.bind(e),e.trigger.bind(e));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function _a(t){return new xa(t)}function ba(t){const e=m(t)?new Array(t.length):{};for(const n in t)e[n]=$a(t,n);return e}class wa{constructor(t,e,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=S(e)?e:String(e),this._raw=oa(t);let i=!0,r=t;if(!m(t)||S(this._key)||!A(this._key))do{i=!ra(r)||ia(r)}while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=ga(t)),this._value=void 0===t?this._defaultValue:t}set value(t){if(this._shallow&&ua(this._raw[this._key])){const e=this._object[this._key];if(ua(e))return void(e.value=t)}this._object[this._key]=t}get dep(){return function(t,e){const n=co.get(t);return n&&n.get(e)}(this._raw,this._key)}}class Sa{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ma(t,e,n){return ua(t)?t:b(t)?new Sa(t):M(t)&&arguments.length>1?$a(t,e,n):da(t)}function $a(t,e,n){return new wa(t,e,n)}class Ca{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new lo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ao-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&Nr!==this)return Ur(this,!0),!0}get value(){const t=this.dep.track();return Jr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ia(t,e,n=!1){let i,r;b(t)?i=t:(i=t.get,r=t.set);return new Ca(i,r,n)}const Ta={},Aa=new WeakMap;let Da;function ka(t,e=!1,n=Da){if(n){let e=Aa.get(n);e||Aa.set(n,e=[]),e.push(t)}}function La(t,e=1/0,n){if(e<=0||!M(t)||t.__v_skip)return t;if(((n=n||new Map).get(t)||0)>=e)return t;if(n.set(t,e),e--,ua(t))La(t.value,e,n);else if(m(t))for(let i=0;i<t.length;i++)La(t[i],e,n);else if(x(t)||v(t))t.forEach(t=>{La(t,e,n)});else if(T(t)){for(const i in t)La(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&La(t[i],e,n)}return t}const Oa=[];const Ea={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Pa(t,e,n,i){try{return i?t(...i):t()}catch(r){Ra(r,e,n)}}function Na(t,e,n,i){if(b(t)){const r=Pa(t,e,n,i);return r&&$(r)&&r.catch(t=>{Ra(t,e,n)}),r}if(m(t)){const r=[];for(let o=0;o<t.length;o++)r.push(Na(t[o],e,n,i));return r}}function Ra(t,e,n,i=!0){e&&e.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||s;if(e){let i=e.parent;const o=e.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,o,a))return;i=i.parent}if(r)return io(),Pa(r,null,10,[t,o,a]),void ro()}!function(t,e,n,i=!0,r=!1){if(r)throw t;console.error(t)}(t,0,0,i,o)}const Ba=[];let za=-1;const Fa=[];let Va=null,Ga=0;const Wa=Promise.resolve();let Ha=null;function ja(t){const e=Ha||Wa;return t?e.then(this?t.bind(this):t):e}function Ua(t){if(!(1&t.flags)){const e=Ka(t),n=Ba[Ba.length-1];!n||!(2&t.flags)&&e>=Ka(n)?Ba.push(t):Ba.splice(function(t){let e=za+1,n=Ba.length;for(;e<n;){const i=e+n>>>1,r=Ba[i],o=Ka(r);o<t||o===t&&2&r.flags?e=i+1:n=i}return e}(e),0,t),t.flags|=1,Ya()}}function Ya(){Ha||(Ha=Wa.then(Ja))}function Xa(t){m(t)?Fa.push(...t):Va&&-1===t.id?Va.splice(Ga+1,0,t):1&t.flags||(Fa.push(t),t.flags|=1),Ya()}function Za(t,e,n=za+1){for(;n<Ba.length;n++){const e=Ba[n];if(e&&2&e.flags){if(t&&e.id!==t.uid)continue;Ba.splice(n,1),n--,4&e.flags&&(e.flags&=-2),e(),4&e.flags||(e.flags&=-2)}}}function qa(t){if(Fa.length){const t=[...new Set(Fa)].sort((t,e)=>Ka(t)-Ka(e));if(Fa.length=0,Va)return void Va.push(...t);for(Va=t,Ga=0;Ga<Va.length;Ga++){const t=Va[Ga];4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2}Va=null,Ga=0}}const Ka=t=>null==t.id?2&t.flags?-1:1/0:t.id;function Ja(t){try{for(za=0;za<Ba.length;za++){const t=Ba[za];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),Pa(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;za<Ba.length;za++){const t=Ba[za];t&&(t.flags&=-2)}za=-1,Ba.length=0,qa(),Ha=null,(Ba.length||Fa.length)&&Ja()}}let Qa,ts=[];let es=null,ns=null;function is(t){const e=es;return es=t,ns=t&&t.type.__scopeId||null,e}function rs(t,e=es,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&hd(-1);const r=is(e);let o;try{o=t(...n)}finally{is(r),i._d&&hd(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function os(t,e){if(null===es)return t;const n=Kd(es),i=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[t,o,a,l=s]=e[r];t&&(b(t)&&(t={mounted:t,updated:t}),t.deep&&La(o),i.push({dir:t,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function as(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let a=0;a<r.length;a++){const s=r[a];o&&(s.oldValue=o[a].value);let l=s.dir[i];l&&(io(),Na(l,n,8,[t.el,s,t,e]),ro())}}function ss(t,e){if(Pd){let n=Pd.provides;const i=Pd.parent&&Pd.parent.provides;i===n&&(n=Pd.provides=Object.create(i)),n[t]=e}}function ls(t,e,n=!1){const i=Nd();if(i||hu){let r=hu?hu._context.provides:i?null==i.parent||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&b(e)?e.call(i&&i.proxy):e}}function us(){return!(!Nd()&&!hu)}const ds=Symbol.for("v-scx"),cs=()=>ls(ds);function hs(t,e){return gs(t,null,e)}function ps(t,e){return gs(t,null,{flush:"sync"})}function fs(t,e,n){return gs(t,e,n)}function gs(t,e,n=s){const{immediate:i,deep:r,flush:o,once:a}=n,l=p({},n),d=e&&i||!e&&"post"!==o;let c;if(Hd)if("sync"===o){const t=cs();c=t.__watcherHandles||(t.__watcherHandles=[])}else if(!d){const t=()=>{};return t.stop=u,t.resume=u,t.pause=u,t}const h=Pd;l.call=(t,e,n)=>Na(t,h,e,n);let g=!1;"post"===o?l.scheduler=t=>{Bu(t,h&&h.suspense)}:"sync"!==o&&(g=!0,l.scheduler=(t,e)=>{e?t():Ua(t)}),l.augmentJob=t=>{e&&(t.flags|=4),g&&(t.flags|=2,h&&(t.id=h.uid,t.i=h))};const y=function(t,e,n=s){const{immediate:i,deep:r,once:o,scheduler:a,augmentJob:l,call:d}=n,c=t=>r?t:ia(t)||!1===r||0===r?La(t,1):La(t);let h,p,g,y,v=!1,x=!1;if(ua(t)?(p=()=>t.value,v=ia(t)):ea(t)?(p=()=>c(t),v=!0):m(t)?(x=!0,v=t.some(t=>ea(t)||ia(t)),p=()=>t.map(t=>ua(t)?t.value:ea(t)?c(t):b(t)?d?d(t,2):t():void 0)):p=b(t)?e?d?()=>d(t,2):t:()=>{if(g){io();try{g()}finally{ro()}}const e=Da;Da=h;try{return d?d(t,3,[y]):t(y)}finally{Da=e}}:u,e&&r){const t=p,e=!0===r?1/0:r;p=()=>La(t(),e)}const _=zr(),w=()=>{h.stop(),_&&_.active&&f(_.effects,h)};if(o&&e){const t=e;e=(...e)=>{const n=t(...e);return w(),n}}let S=x?new Array(t.length).fill(Ta):Ta;const M=t=>{if(1&h.flags&&(h.dirty||t))if(e){const n=h.run();if(t||r||v||(x?n.some((t,e)=>z(t,S[e])):z(n,S))){g&&g();const t=Da;Da=h;try{const t=[n,S===Ta?void 0:x&&S[0]===Ta?[]:S,y];S=n,d?d(e,3,t):e(...t)}finally{Da=t}}}else h.run()};return l&&l(M),h=new Gr(p),h.scheduler=a?()=>a(M,!1):M,y=t=>ka(t,!1,h),g=h.onStop=()=>{const t=Aa.get(h);if(t){if(d)d(t,4);else for(const e of t)e();Aa.delete(h)}},e?i?M(!0):S=h.run():a?a(M.bind(null,!0),!0):h.run(),w.pause=h.pause.bind(h),w.resume=h.resume.bind(h),w.stop=w,w}(t,e,l);return Hd&&(c?c.push(y):d&&y()),y}function ys(t,e,n){const i=this.proxy,r=w(t)?t.includes(".")?ms(i,t):()=>i[t]:t.bind(i,i);let o;b(e)?o=e:(o=e.handler,n=e);const a=zd(this),s=gs(r,o.bind(i),n);return a(),s}function ms(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}const vs=new WeakMap,xs=Symbol("_vte"),_s=t=>t.__isTeleport,bs=t=>t&&(t.disabled||""===t.disabled),ws=t=>"undefined"!=typeof SVGElement&&t instanceof SVGElement,Ss=t=>"function"==typeof MathMLElement&&t instanceof MathMLElement,Ms=(t,e)=>{const n=t&&t.to;if(w(n)){if(e){return e(n)}return null}return n},$s={name:"Teleport",__isTeleport:!0,process(t,e,n,i,r,o,a,s,l,u){const{mc:d,pc:c,pbc:h,o:{insert:p,querySelector:f,createText:g,createComment:y,parentNode:m}}=u,v=bs(e.props);let{dynamicChildren:x}=e;const _=(t,e,n)=>{16&t.shapeFlag&&d(t.children,e,n,r,o,a,s,l)},b=(t=e)=>{const n=bs(t.props),i=t.target=Ms(t.props,f),o=As(i,t,g,p);i&&("svg"!==a&&ws(i)?a="svg":"mathml"!==a&&Ss(i)&&(a="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(i),n||(_(t,i,o),Ts(t,!1)))},w=t=>{const e=()=>{if(vs.get(t)===e){if(vs.delete(t),bs(t.props)){const e=m(t.el)||n;_(t,e,t.anchor),Ts(t,!0)}b(t)}};vs.set(t,e),Bu(e,o)};if(null==t){const t=e.el=g(""),r=e.anchor=g("");if(p(t,n,i),p(r,n,i),(S=e.props)&&(S.defer||""===S.defer)||o&&o.pendingBranch)return void w(e);v&&(_(e,n,r),Ts(e,!0)),b()}else{e.el=t.el;const i=e.anchor=t.anchor,d=vs.get(t);if(d)return d.flags|=8,vs.delete(t),void w(e);e.targetStart=t.targetStart;const p=e.target=t.target,g=e.targetAnchor=t.targetAnchor,y=bs(t.props),m=y?n:p,_=y?i:g;if("svg"===a||ws(p)?a="svg":("mathml"===a||Ss(p))&&(a="mathml"),x?(h(t.dynamicChildren,x,m,r,o,a,s),ju(t,e,!0)):l||c(t,e,m,_,r,o,a,s,!1),v)y?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Cs(e,n,i,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=Ms(e.props,f);t&&Cs(e,t,null,u,0)}else y&&Cs(e,p,g,u,1);Ts(e,v)}var S},remove(t,e,n,{um:i,o:{remove:r}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:d,target:c,props:h}=t,p=o||!bs(h),f=vs.get(t);if(f&&(f.flags|=8,vs.delete(t)),c&&(r(u),r(d)),o&&r(l),!f&&16&a)for(let g=0;g<s.length;g++){const t=s[g];i(t,e,n,p,!!t.dynamicChildren)}},move:Cs,hydrate:function(t,e,n,i,r,o,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:u,createText:d}},c){function h(t,n){let i=n;for(;i;){if(i&&8===i.nodeType)if("teleport start anchor"===i.data)e.targetStart=i;else if("teleport anchor"===i.data){e.targetAnchor=i,t._lpa=e.targetAnchor&&a(e.targetAnchor);break}i=a(i)}}function p(t,e){e.anchor=c(a(t),e,s(t),n,i,r,o)}const f=e.target=Ms(e.props,l),g=bs(e.props);if(f){const l=f._lpa||f.firstChild;16&e.shapeFlag&&(g?(p(t,e),h(f,l),e.targetAnchor||As(f,e,d,u,s(t)===f?t:null)):(e.anchor=a(t),h(f,l),e.targetAnchor||As(f,e,d,u),c(l&&a(l),e,f,n,i,r,o))),Ts(e,g)}else g&&16&e.shapeFlag&&(p(t,e),e.targetStart=t,e.targetAnchor=a(t));return e.anchor&&a(e.anchor)}};function Cs(t,e,n,{o:{insert:i},m:r},o=2){0===o&&i(t.targetAnchor,e,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:d}=t,c=2===o;if(c&&i(a,e,n),!vs.has(t)&&(!c||bs(d))&&16&l)for(let h=0;h<u.length;h++)r(u[h],e,n,2);c&&i(s,e,n)}const Is=$s;function Ts(t,e){const n=t.ctx;if(n&&n.ut){let i,r;for(e?(i=t.el,r=t.anchor):(i=t.targetStart,r=t.targetAnchor);i&&i!==r;)1===i.nodeType&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function As(t,e,n,i,r=null){const o=e.targetStart=n(""),a=e.targetAnchor=n("");return o[xs]=a,t&&(i(o,t,r),i(a,t,r)),a}const Ds=Symbol("_leaveCb"),ks=Symbol("_enterCb");function Ls(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bl(()=>{t.isMounted=!0}),Ml(()=>{t.isUnmounting=!0}),t}const Os=[Function,Array],Es={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Os,onEnter:Os,onAfterEnter:Os,onEnterCancelled:Os,onBeforeLeave:Os,onLeave:Os,onAfterLeave:Os,onLeaveCancelled:Os,onBeforeAppear:Os,onAppear:Os,onAfterAppear:Os,onAppearCancelled:Os},Ps=t=>{const e=t.subTree;return e.component?Ps(e.component):e};function Ns(t){let e=t[0];if(t.length>1)for(const n of t)if(n.type!==od){e=n;break}return e}const Rs={name:"BaseTransition",props:Es,setup(t,{slots:e}){const n=Nd(),i=Ls();return()=>{const r=e.default&&Ws(e.default(),!0),o=r&&r.length?Ns(r):n.subTree?Cd():void 0;if(!o)return;const a=oa(t),{mode:s}=a;if(i.isLeaving)return Fs(o);const l=Vs(o);if(!l)return Fs(o);let u=zs(l,a,i,n,t=>u=t);l.type!==od&&Gs(l,u);let d=n.subTree&&Vs(n.subTree);if(d&&d.type!==od&&!md(d,l)&&Ps(n).type!==od){let t=zs(d,a,i,n);if(Gs(d,t),"out-in"===s&&l.type!==od)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete t.afterLeave,d=void 0},Fs(o);"in-out"===s&&l.type!==od?t.delayLeave=(t,e,n)=>{Bs(i,d)[String(d.key)]=d,t[Ds]=()=>{e(),t[Ds]=void 0,delete u.delayedLeave,d=void 0},u.delayedLeave=()=>{n(),delete u.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return o}}};function Bs(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function zs(t,e,n,i,r){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:d,onEnterCancelled:c,onBeforeLeave:h,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:y,onAppear:v,onAfterAppear:x,onAppearCancelled:_}=e,b=String(t.key),w=Bs(n,t),S=(t,e)=>{t&&Na(t,i,9,e)},M=(t,e)=>{const n=e[1];S(t,e),m(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},$={mode:a,persisted:s,beforeEnter(e){let i=l;if(!n.isMounted){if(!o)return;i=y||l}e[Ds]&&e[Ds](!0);const r=w[b];r&&md(t,r)&&r.el[Ds]&&r.el[Ds](),S(i,[e])},enter(e){if(w[b]===t)return;let i=u,r=d,a=c;if(!n.isMounted){if(!o)return;i=v||u,r=x||d,a=_||c}let s=!1;e[ks]=t=>{s||(s=!0,S(t?a:r,[e]),$.delayedLeave&&$.delayedLeave(),e[ks]=void 0)};const l=e[ks].bind(null,!1);i?M(i,[e,l]):l()},leave(e,i){const r=String(t.key);if(e[ks]&&e[ks](!0),n.isUnmounting)return i();S(h,[e]);let o=!1;e[Ds]=n=>{o||(o=!0,i(),S(n?g:f,[e]),e[Ds]=void 0,w[r]===t&&delete w[r])};const a=e[Ds].bind(null,!1);w[r]=t,p?M(p,[e,a]):a()},clone(t){const o=zs(t,e,n,i,r);return r&&r(o),o}};return $}function Fs(t){if(ul(t))return(t=Sd(t)).children=null,t}function Vs(t){if(!ul(t))return _s(t.type)&&t.children?Ns(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(16&e)return n[0];if(32&e&&b(n.default))return n.default()}}function Gs(t,e){6&t.shapeFlag&&t.component?(t.transition=e,Gs(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ws(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let a=t[o];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:o);a.type===id?(128&a.patchFlag&&r++,i=i.concat(Ws(a.children,e,s))):(e||a.type!==od)&&i.push(null!=s?Sd(a,{key:s}):a)}if(r>1)for(let o=0;o<i.length;o++)i[o].patchFlag=-2;return i}function Hs(t,e){return b(t)?(()=>p({name:t.name},e,{setup:t}))():t}function js(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Us(t,e){let n;return!(!(n=Object.getOwnPropertyDescriptor(t,e))||n.configurable)}const Ys=new WeakMap;function Xs(t,e,n,i,r=!1){if(m(t))return void t.forEach((t,o)=>Xs(t,e&&(m(e)?e[o]:e),n,i,r));if(al(i)&&!r)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&Xs(t,e,n,i.component.subTree));const o=4&i.shapeFlag?Kd(i.component):i.el,a=r?null:o,{i:l,r:u}=t,c=e&&e.r,h=l.refs===s?l.refs={}:l.refs,p=l.setupState,g=oa(p),v=p===s?d:t=>!Us(h,t)&&y(g,t),x=(t,e)=>!e||!Us(h,e);if(null!=c&&c!==u)if(Zs(e),w(c))h[c]=null,v(c)&&(p[c]=null);else if(ua(c)){const t=e;x(0,t.k)&&(c.value=null),t.k&&(h[t.k]=null)}if(b(u))Pa(u,l,12,[a,h]);else{const e=w(u),i=ua(u);if(e||i){const s=()=>{if(t.f){const n=e?v(u)?p[u]:h[u]:x()||!t.k?u.value:h[t.k];if(r)m(n)&&f(n,o);else if(m(n))n.includes(o)||n.push(o);else if(e)h[u]=[o],v(u)&&(p[u]=h[u]);else{const e=[o];x(0,t.k)&&(u.value=e),t.k&&(h[t.k]=e)}}else e?(h[u]=a,v(u)&&(p[u]=a)):i&&(x(0,t.k)&&(u.value=a),t.k&&(h[t.k]=a))};if(a){const e=()=>{s(),Ys.delete(t)};e.id=-1,Ys.set(t,e),Bu(e,n)}else Zs(t),s()}}}function Zs(t){const e=Ys.get(t);e&&(e.flags|=8,Ys.delete(t))}let qs=!1;const Ks=()=>{qs||(console.error("Hydration completed but contains mismatches."),qs=!0)},Js=t=>{if(1===t.nodeType)return(t=>t.namespaceURI.includes("svg")&&"foreignObject"!==t.tagName)(t)?"svg":(t=>t.namespaceURI.includes("MathML"))(t)?"mathml":void 0},Qs=t=>8===t.nodeType;function tl(t){const{mt:e,p:n,o:{patchProp:i,createText:r,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=t,d=(n,i,s,u,c,x=!1)=>{x=x||!!i.dynamicChildren;const _=Qs(n)&&"["===n.data,b=()=>g(n,i,s,u,c,_),{type:w,ref:S,shapeFlag:M,patchFlag:$}=i;let C=n.nodeType;i.el=n,-2===$&&(x=!1,i.dynamicChildren=null);let I=null;switch(w){case rd:3!==C?""===i.children?(l(i.el=r(""),a(n),n),I=n):I=b():(n.data!==i.children&&(Ks(),n.data=i.children),I=o(n));break;case od:v(n)?(I=o(n),m(i.el=n.content.firstChild,n,s)):I=8!==C||_?b():o(n);break;case ad:if(_&&(C=(n=o(n)).nodeType),1===C||3===C){I=n;const t=!i.children.length;for(let e=0;e<i.staticCount;e++)t&&(i.children+=1===I.nodeType?I.outerHTML:I.data),e===i.staticCount-1&&(i.anchor=I),I=o(I);return _?o(I):I}b();break;case id:I=_?f(n,i,s,u,c,x):b();break;default:if(1&M)I=1===C&&i.type.toLowerCase()===n.tagName.toLowerCase()||v(n)?h(n,i,s,u,c,x):b();else if(6&M){i.slotScopeIds=c;const t=a(n);if(I=_?y(n):Qs(n)&&"teleport start"===n.data?y(n,n.data,"teleport end"):o(n),e(i,t,null,s,u,Js(t),x),al(i)&&!i.type.__asyncResolved){let e;_?(e=bd(id),e.anchor=I?I.previousSibling:t.lastChild):e=3===n.nodeType?Md(""):bd("div"),e.el=n,i.component.subTree=e}}else 64&M?I=8!==C?b():i.type.hydrate(n,i,s,u,c,x,t,p):128&M&&(I=i.type.hydrate(n,i,s,u,Js(a(n)),c,x,t,d))}return null!=S&&Xs(S,null,u,i),I},h=(t,e,n,r,o,a)=>{a=a||!!e.dynamicChildren;const{type:l,props:u,patchFlag:d,shapeFlag:h,dirs:f,transition:g}=e,y="input"===l||"option"===l;if(y||-1!==d){f&&as(e,null,n,"created");let l,x=!1;if(v(t)){x=Hu(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;const i=t.content.firstChild;if(x){const t=i.getAttribute("class");t&&(i.$cls=t),g.beforeEnter(i)}m(i,t,n),e.el=t=i}if(16&h&&(!u||!u.innerHTML&&!u.textContent)){let i=p(t.firstChild,e,t,n,r,o,a);for(i&&!il(t,1)&&Ks();i;){const t=i;i=i.nextSibling,s(t)}}else if(8&h){let n=e.children;"\n"!==n[0]||"PRE"!==t.tagName&&"TEXTAREA"!==t.tagName||(n=n.slice(1));const{textContent:i}=t;i!==n&&i!==n.replace(/\r\n|\r/g,"\n")&&(il(t,0)||Ks(),t.textContent=e.children)}if(u)if(y||!a||48&d){const e=t.tagName.includes("-");for(const r in u)(y&&(r.endsWith("value")||"indeterminate"===r)||c(r)&&!D(r)||"."===r[0]||e&&!D(r))&&i(t,r,null,u[r],void 0,n)}else if(u.onClick)i(t,"onClick",null,u.onClick,void 0,n);else if(4&d&&ea(u.style))for(const t in u.style)u.style[t];(l=u&&u.onVnodeBeforeMount)&&kd(l,n,e),f&&as(e,null,n,"beforeMount"),((l=u&&u.onVnodeMounted)||f||x)&&ed(()=>{l&&kd(l,n,e),x&&g.enter(t),f&&as(e,null,n,"mounted")},r)}return t.nextSibling},p=(t,e,i,a,s,u,c)=>{c=c||!!e.dynamicChildren;const h=e.children,p=h.length;let f=!1;for(let g=0;g<p;g++){const e=c?h[g]:h[g]=Id(h[g]),y=e.type===rd;t?(y&&!c&&g+1<p&&Id(h[g+1]).type===rd&&(l(r(t.data.slice(e.children.length)),i,o(t)),t.data=e.children),t=d(t,e,a,s,u,c)):y&&!e.children?l(e.el=r(""),i):(f||(f=!0,il(i,1)||Ks()),n(null,e,i,null,a,s,Js(i),u))}return t},f=(t,e,n,i,r,s)=>{const{slotScopeIds:d}=e;d&&(r=r?r.concat(d):d);const c=a(t),h=p(o(t),e,c,n,i,r,s);return h&&Qs(h)&&"]"===h.data?o(e.anchor=h):(Ks(),l(e.anchor=u("]"),c,h),h)},g=(t,e,i,r,l,u)=>{if(il(t.parentElement,1)||Ks(),e.el=null,u){const e=y(t);for(;;){const n=o(t);if(!n||n===e)break;s(n)}}const d=o(t),c=a(t);return s(t),n(null,e,c,d,i,r,Js(c),l),i&&(i.vnode.el=e.el,Su(i,e.el)),d},y=(t,e="[",n="]")=>{let i=0;for(;t;)if((t=o(t))&&Qs(t)&&(t.data===e&&i++,t.data===n)){if(0===i)return o(t);i--}return t},m=(t,e,n)=>{const i=e.parentNode;i&&i.replaceChild(t,e);let r=n;for(;r;)r.vnode.el===e&&(r.vnode.el=r.subTree.el=t),r=r.parent},v=t=>1===t.nodeType&&"TEMPLATE"===t.tagName;return[(t,e)=>{if(!e.hasChildNodes())return n(null,t,e),qa(),void(e._vnode=t);d(e.firstChild,t,null,null,null),qa(),e._vnode=t},d]}const el="data-allow-mismatch",nl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function il(t,e){if(0===e||1===e)for(;t&&!t.hasAttribute(el);)t=t.parentElement;const n=t&&t.getAttribute(el);if(null==n)return!1;if(""===n)return!0;{const t=n.split(",");return!(0!==e||!t.includes("children"))||t.includes(nl[e])}}const rl=j().requestIdleCallback||(t=>setTimeout(t,1)),ol=j().cancelIdleCallback||(t=>clearTimeout(t));const al=t=>!!t.type.__asyncLoader;function sl(t){b(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:i,delay:r=200,hydrate:o,timeout:a,suspensible:s=!0,onError:l}=t;let u,d=null,c=0;const h=()=>{let t;return d||(t=d=e().catch(t=>{if(t=t instanceof Error?t:new Error(String(t)),l)return new Promise((e,n)=>{l(t,()=>e((c++,d=null,h())),()=>n(t),c+1)});throw t}).then(e=>t!==d&&d?d:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),u=e,e)))};return Hs({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(t,e,n){let i=!1;(e.bu||(e.bu=[])).push(()=>i=!0);const r=()=>{i||n()},a=o?()=>{const n=o(r,e=>function(t,e){if(Qs(t)&&"["===t.data){let n=1,i=t.nextSibling;for(;i;){if(1===i.nodeType){if(!1===e(i))break}else if(Qs(i))if("]"===i.data){if(0===--n)break}else"["===i.data&&n++;i=i.nextSibling}}else e(t)}(t,e));n&&(e.bum||(e.bum=[])).push(n)}:r;u?a():h().then(()=>!e.isUnmounted&&a())},get __asyncResolved(){return u},setup(){const t=Pd;if(js(t),u)return()=>ll(u,t);const e=e=>{d=null,Ra(e,t,13,!i)};if(s&&t.suspense||Hd)return h().then(e=>()=>ll(e,t)).catch(t=>(e(t),()=>i?bd(i,{error:t}):null));const o=da(!1),l=da(),c=da(!!r);let p,f;return $l(()=>{null!=p&&clearTimeout(p),null!=f&&clearTimeout(f)}),r&&(f=setTimeout(()=>{t.isUnmounted||(c.value=!1)},r)),null!=a&&(p=setTimeout(()=>{if(!t.isUnmounted&&!o.value&&!l.value){const t=new Error(`Async component timed out after ${a}ms.`);e(t),l.value=t}},a)),h().then(()=>{t.isUnmounted||(o.value=!0,t.parent&&ul(t.parent.vnode)&&t.parent.update())}).catch(n=>{t.isUnmounted?d=null:(e(n),l.value=n)}),()=>o.value&&u?ll(u,t):l.value&&i?bd(i,{error:l.value}):n&&!c.value?ll(n,t):void 0}})}function ll(t,e){const{ref:n,props:i,children:r,ce:o}=e.vnode,a=bd(t,i,r);return a.ref=n,a.ce=o,delete e.vnode.ce,a}const ul=t=>t.type.__isKeepAlive,dl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Nd(),i=n.ctx;if(!i.renderer)return()=>{const t=e.default&&e.default();return t&&1===t.length?t[0]:t};const r=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:c}}}=i,h=c("div");function p(t){yl(t),d(t,n,s,!0)}function f(t){r.forEach((e,n)=>{const i=Jd(al(e)?e.type.__asyncResolved||{}:e.type);i&&!t(i)&&g(n)})}function g(t){const e=r.get(t);!e||a&&md(e,a)?a&&yl(a):p(e),r.delete(t),o.delete(t)}i.activate=(t,e,n,i,r)=>{const o=t.component;u(t,e,n,0,s),l(o.vnode,t,e,n,o,s,i,t.slotScopeIds,r),Bu(()=>{o.isDeactivated=!1,o.a&&F(o.a);const e=t.props&&t.props.onVnodeMounted;e&&kd(e,o.parent,t)},s)},i.deactivate=t=>{const e=t.component;Yu(e.m),Yu(e.a),u(t,h,null,1,s),Bu(()=>{e.da&&F(e.da);const n=t.props&&t.props.onVnodeUnmounted;n&&kd(n,e.parent,t),e.isDeactivated=!0},s)},fs(()=>[t.include,t.exclude],([t,e])=>{t&&f(e=>cl(t,e)),e&&f(t=>!cl(e,t))},{flush:"post",deep:!0});let y=null;const m=()=>{null!=y&&(Zu(n.subTree.type)?Bu(()=>{r.set(y,ml(n.subTree))},n.subTree.suspense):r.set(y,ml(n.subTree)))};return bl(m),Sl(m),Ml(()=>{r.forEach(t=>{const{subTree:e,suspense:i}=n,r=ml(e);if(t.type===r.type&&t.key===r.key){yl(r);const t=r.component.da;return void(t&&Bu(t,i))}p(t)})}),()=>{if(y=null,!e.default)return a=null;const n=e.default(),i=n[0];if(n.length>1)return a=null,n;if(!(yd(i)&&(4&i.shapeFlag||128&i.shapeFlag)))return a=null,i;let s=ml(i);if(s.type===od)return a=null,s;const l=s.type,u=Jd(al(s)?s.type.__asyncResolved||{}:l),{include:d,exclude:c,max:h}=t;if(d&&(!u||!cl(d,u))||c&&u&&cl(c,u))return s.shapeFlag&=-257,a=s,i;const p=null==s.key?l:s.key,f=r.get(p);return s.el&&(s=Sd(s),128&i.shapeFlag&&(i.ssContent=s)),y=p,f?(s.el=f.el,s.component=f.component,s.transition&&Gs(s,s.transition),s.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),h&&o.size>parseInt(h,10)&&g(o.values().next().value)),s.shapeFlag|=256,a=s,Zu(i.type)?i:s}}};function cl(t,e){return m(t)?t.some(t=>cl(t,e)):w(t)?t.split(",").includes(e):"[object RegExp]"===I(t)&&(t.lastIndex=0,t.test(e))}function hl(t,e){fl(t,"a",e)}function pl(t,e){fl(t,"da",e)}function fl(t,e,n=Pd){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(vl(e,i,n),n){let t=n.parent;for(;t&&t.parent;)ul(t.parent.vnode)&&gl(i,e,n,t),t=t.parent}}function gl(t,e,n,i){const r=vl(e,t,i,!0);$l(()=>{f(i[e],r)},n)}function yl(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function ml(t){return 128&t.shapeFlag?t.ssContent:t}function vl(t,e,n=Pd,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{io();const r=zd(n),o=Na(e,n,t,i);return r(),ro(),o});return i?r.unshift(o):r.push(o),o}}const xl=t=>(e,n=Pd)=>{Hd&&"sp"!==t||vl(t,(...t)=>e(...t),n)},_l=xl("bm"),bl=xl("m"),wl=xl("bu"),Sl=xl("u"),Ml=xl("bum"),$l=xl("um"),Cl=xl("sp"),Il=xl("rtg"),Tl=xl("rtc");function Al(t,e=Pd){vl("ec",t,e)}const Dl="components";function kl(t,e){return Pl(Dl,t,!0,e)||t}const Ll=Symbol.for("v-ndc");function Ol(t){return w(t)?Pl(Dl,t,!1)||t:t||Ll}function El(t){return Pl("directives",t)}function Pl(t,e,n=!0,i=!1){const r=es||Pd;if(r){const n=r.type;if(t===Dl){const t=Jd(n,!1);if(t&&(t===e||t===E(e)||t===R(E(e))))return n}const o=Nl(r[t]||n[t],e)||Nl(r.appContext[t],e);return!o&&i?n:o}}function Nl(t,e){return t&&(t[e]||t[E(e)]||t[R(E(e))])}function Rl(t,e,n,i){let r;const o=n&&n[i],a=m(t);if(a||w(t)){let n=!1,i=!1;a&&ea(t)&&(n=!ia(t),i=na(t),t=vo(t)),r=new Array(t.length);for(let a=0,s=t.length;a<s;a++)r[a]=e(n?i?la(sa(t[a])):sa(t[a]):t[a],a,void 0,o&&o[a])}else if("number"==typeof t){r=new Array(t);for(let n=0;n<t;n++)r[n]=e(n+1,n,void 0,o&&o[n])}else if(M(t))if(t[Symbol.iterator])r=Array.from(t,(t,n)=>e(t,n,void 0,o&&o[n]));else{const n=Object.keys(t);r=new Array(n.length);for(let i=0,a=n.length;i<a;i++){const a=n[i];r[i]=e(t[a],a,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function Bl(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(m(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function zl(t,e,n={},i,r){if(es.ce||es.parent&&al(es.parent)&&es.parent.ce){const t=Object.keys(n).length>0;return"default"!==e&&(n.name=e),ud(),gd(id,null,[bd("slot",n,i&&i())],t?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),ud();const a=o&&Fl(o(n)),s=n.key||a&&a.key,l=gd(id,{key:(s&&!S(s)?s:`_${e}`)+(!a&&i?"_fb":"")},a||(i?i():[]),a&&1===t._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Fl(t){return t.some(t=>!yd(t)||t.type!==od&&!(t.type===id&&!Fl(t.children)))?t:null}function Vl(t,e){const n={};for(const i in t)n[e&&/[A-Z]/.test(i)?`on:${i}`:B(i)]=t[i];return n}const Gl=t=>t?Vd(t)?Kd(t):Gl(t.parent):null,Wl=p(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Gl(t.parent),$root:t=>Gl(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>eu(t),$forceUpdate:t=>t.f||(t.f=()=>{Ua(t.update)}),$nextTick:t=>t.n||(t.n=ja.bind(t.proxy)),$watch:t=>ys.bind(t)}),Hl=(t,e)=>t!==s&&!t.__isScriptSetup&&y(t,e),jl={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:i,data:r,props:o,accessCache:a,type:l,appContext:u}=t;if("$"!==e[0]){const t=a[e];if(void 0!==t)switch(t){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return o[e]}else{if(Hl(i,e))return a[e]=1,i[e];if(r!==s&&y(r,e))return a[e]=2,r[e];if(y(o,e))return a[e]=3,o[e];if(n!==s&&y(n,e))return a[e]=4,n[e];Kl&&(a[e]=0)}}const d=Wl[e];let c,h;return d?("$attrs"===e&&go(t.attrs,0,""),d(t)):(c=l.__cssModules)&&(c=c[e])?c:n!==s&&y(n,e)?(a[e]=4,n[e]):(h=u.config.globalProperties,y(h,e)?h[e]:void 0)},set({_:t},e,n){const{data:i,setupState:r,ctx:o}=t;return Hl(r,e)?(r[e]=n,!0):i!==s&&y(i,e)?(i[e]=n,!0):!y(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(o[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,props:o,type:a}},l){let u;return!!(n[l]||t!==s&&"$"!==l[0]&&y(t,l)||Hl(e,l)||y(o,l)||y(i,l)||y(Wl,l)||y(r.config.globalProperties,l)||(u=a.__cssModules)&&u[l])},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:y(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},Ul=p({},jl,{get(t,e){if(e!==Symbol.unscopables)return jl.get(t,e,t)},has:(t,e)=>"_"!==e[0]&&!U(e)});function Yl(){return Zl().slots}function Xl(){return Zl().attrs}function Zl(t){const e=Nd();return e.setupContext||(e.setupContext=qd(e))}function ql(t){return m(t)?t.reduce((t,e)=>(t[e]=null,t),{}):t}let Kl=!0;function Jl(t){const e=eu(t),n=t.proxy,i=t.ctx;Kl=!1,e.beforeCreate&&Ql(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:a,watch:s,provide:l,inject:d,created:c,beforeMount:h,mounted:p,beforeUpdate:f,updated:g,activated:y,deactivated:v,beforeDestroy:x,beforeUnmount:_,destroyed:w,unmounted:S,render:$,renderTracked:C,renderTriggered:I,errorCaptured:T,serverPrefetch:A,expose:D,inheritAttrs:k,components:L,directives:O,filters:E}=e;if(d&&function(t,e){m(t)&&(t=ou(t));for(const n in t){const i=t[n];let r;r=M(i)?"default"in i?ls(i.from||n,i.default,!0):ls(i.from||n):ls(i),ua(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[n]=r}}(d,i,null),a)for(const u in a){const t=a[u];b(t)&&(i[u]=t.bind(n))}if(r){const e=r.call(n,n);M(e)&&(t.data=qo(e))}if(Kl=!0,o)for(const m in o){const t=o[m],e=b(t)?t.bind(n,n):b(t.get)?t.get.bind(n,n):u,r=!b(t)&&b(t.set)?t.set.bind(n):u,a=Qd({get:e,set:r});Object.defineProperty(i,m,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t})}if(s)for(const u in s)tu(s[u],i,n,u);if(l){const t=b(l)?l.call(n):l;Reflect.ownKeys(t).forEach(e=>{ss(e,t[e])})}function P(t,e){m(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(c&&Ql(c,t,"c"),P(_l,h),P(bl,p),P(wl,f),P(Sl,g),P(hl,y),P(pl,v),P(Al,T),P(Tl,C),P(Il,I),P(Ml,_),P($l,S),P(Cl,A),m(D))if(D.length){const e=t.exposed||(t.exposed={});D.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e,enumerable:!0})})}else t.exposed||(t.exposed={});$&&t.render===u&&(t.render=$),null!=k&&(t.inheritAttrs=k),L&&(t.components=L),O&&(t.directives=O),A&&js(t)}function Ql(t,e,n){Na(m(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function tu(t,e,n,i){let r=i.includes(".")?ms(n,i):()=>n[i];if(w(t)){const n=e[t];b(n)&&fs(r,n)}else if(b(t))fs(r,t.bind(n));else if(M(t))if(m(t))t.forEach(t=>tu(t,e,n,i));else{const i=b(t.handler)?t.handler.bind(n):e[t.handler];b(i)&&fs(r,i,t)}}function eu(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(e);let l;return s?l=s:r.length||n||i?(l={},r.length&&r.forEach(t=>nu(l,t,a,!0)),nu(l,e,a)):l=e,M(e)&&o.set(e,l),l}function nu(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&nu(t,o,n,!0),r&&r.forEach(e=>nu(t,e,n,!0));for(const a in e)if(i&&"expose"===a);else{const i=iu[a]||n&&n[a];t[a]=i?i(t[a],e[a]):e[a]}return t}const iu={data:ru,props:lu,emits:lu,methods:su,computed:su,beforeCreate:au,created:au,beforeMount:au,mounted:au,beforeUpdate:au,updated:au,beforeDestroy:au,beforeUnmount:au,destroyed:au,unmounted:au,activated:au,deactivated:au,errorCaptured:au,serverPrefetch:au,components:su,directives:su,watch:function(t,e){if(!t)return e;if(!e)return t;const n=p(Object.create(null),t);for(const i in e)n[i]=au(t[i],e[i]);return n},provide:ru,inject:function(t,e){return su(ou(t),ou(e))}};function ru(t,e){return e?t?function(){return p(b(t)?t.call(this,this):t,b(e)?e.call(this,this):e)}:e:t}function ou(t){if(m(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function au(t,e){return t?[...new Set([].concat(t,e))]:e}function su(t,e){return t?p(Object.create(null),t,e):e}function lu(t,e){return t?m(t)&&m(e)?[...new Set([...t,...e])]:p(Object.create(null),ql(t),ql(null!=e?e:{})):e}function uu(){return{app:null,config:{isNativeTag:d,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let du=0;function cu(t,e){return function(n,i=null){b(n)||(n=p({},n)),null==i||M(i)||(i=null);const r=uu(),o=new WeakSet,a=[];let s=!1;const l=r.app={_uid:du++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:nc,get config(){return r.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&b(t.install)?(o.add(t),t.install(l,...e)):b(t)&&(o.add(t),t(l,...e))),l),mixin:t=>(r.mixins.includes(t)||r.mixins.push(t),l),component:(t,e)=>e?(r.components[t]=e,l):r.components[t],directive:(t,e)=>e?(r.directives[t]=e,l):r.directives[t],mount(o,a,u){if(!s){const d=l._ceVNode||bd(n,i);return d.appContext=r,!0===u?u="svg":!1===u&&(u=void 0),a&&e?e(d,o):t(d,o,u),s=!0,l._container=o,o.__vue_app__=l,Kd(d.component)}},onUnmount(t){a.push(t)},unmount(){s&&(Na(a,l._instance,16),t(null,l._container),delete l._container.__vue_app__)},provide:(t,e)=>(r.provides[t]=e,l),runWithContext(t){const e=hu;hu=l;try{return t()}finally{hu=e}}};return l}}let hu=null;const pu=(t,e)=>"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${E(e)}Modifiers`]||t[`${N(e)}Modifiers`];function fu(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||s;let r=n;const o=e.startsWith("update:"),a=o&&pu(i,e.slice(7));let l;a&&(a.trim&&(r=n.map(t=>w(t)?t.trim():t)),a.number&&(r=n.map(G)));let u=i[l=B(e)]||i[l=B(E(e))];!u&&o&&(u=i[l=B(N(e))]),u&&Na(u,t,6,r);const d=i[l+"Once"];if(d){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,Na(d,t,6,r)}}const gu=new WeakMap;function yu(t,e,n=!1){const i=n?gu:e.emitsCache,r=i.get(t);if(void 0!==r)return r;const o=t.emits;let a={},s=!1;if(!b(t)){const i=t=>{const n=yu(t,e,!0);n&&(s=!0,p(a,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||s?(m(o)?o.forEach(t=>a[t]=null):p(a,o),M(t)&&i.set(t,a),a):(M(t)&&i.set(t,null),null)}function mu(t,e){return!(!t||!c(e))&&(e=e.slice(2).replace(/Once$/,""),y(t,e[0].toLowerCase()+e.slice(1))||y(t,N(e))||y(t,e))}function vu(t){const{type:e,vnode:n,proxy:i,withProxy:r,propsOptions:[o],slots:a,attrs:s,emit:l,render:u,renderCache:d,props:c,data:p,setupState:f,ctx:g,inheritAttrs:y}=t,m=is(t);let v,x;try{if(4&n.shapeFlag){const t=r||i,e=t;v=Id(u.call(e,t,d,c,f,p,g)),x=s}else{const t=e;0,v=Id(t.length>1?t(c,{attrs:s,slots:a,emit:l}):t(c,null)),x=e.props?s:xu(s)}}catch(b){sd.length=0,Ra(b,t,1),v=bd(od)}let _=v;if(x&&!1!==y){const t=Object.keys(x),{shapeFlag:e}=_;t.length&&7&e&&(o&&t.some(h)&&(x=_u(x,o)),_=Sd(_,x,!1,!0))}return n.dirs&&(_=Sd(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Gs(_,n.transition),v=_,is(m),v}const xu=t=>{let e;for(const n in t)("class"===n||"style"===n||c(n))&&((e||(e={}))[n]=t[n]);return e},_u=(t,e)=>{const n={};for(const i in t)h(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function bu(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(wu(e,t,o)&&!mu(n,o))return!0}return!1}function wu(t,e,n){const i=t[n],r=e[n];return"style"===n&&M(i)&&M(r)?!at(i,r):i!==r}function Su({vnode:t,parent:e,suspense:n},i){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.suspense.vnode.el=n.el=i,t=n),n!==t)break;(t=e.vnode).el=i,e=e.parent}n&&n.activeBranch===t&&(n.vnode.el=i)}const Mu={},$u=()=>Object.create(Mu),Cu=t=>Object.getPrototypeOf(t)===Mu;function Iu(t,e,n,i){const[r,o]=t.propsOptions;let a,l=!1;if(e)for(let s in e){if(D(s))continue;const u=e[s];let d;r&&y(r,d=E(s))?o&&o.includes(d)?(a||(a={}))[d]=u:n[d]=u:mu(t.emitsOptions,s)||s in i&&u===i[s]||(i[s]=u,l=!0)}if(o){const e=oa(n),i=a||s;for(let a=0;a<o.length;a++){const s=o[a];n[s]=Tu(r,e,s,i[s],t,!y(i,s))}}return l}function Tu(t,e,n,i,r,o){const a=t[n];if(null!=a){const t=y(a,"default");if(t&&void 0===i){const t=a.default;if(a.type!==Function&&!a.skipFactory&&b(t)){const{propsDefaults:o}=r;if(n in o)i=o[n];else{const a=zd(r);i=o[n]=t.call(null,e),a()}}else i=t;r.ce&&r.ce._setProp(n,i)}a[0]&&(o&&!t?i=!1:!a[1]||""!==i&&i!==N(n)||(i=!0))}return i}const Au=new WeakMap;function Du(t,e,n=!1){const i=n?Au:e.propsCache,r=i.get(t);if(r)return r;const o=t.props,a={},u=[];let d=!1;if(!b(t)){const i=t=>{d=!0;const[n,i]=Du(t,e,!0);p(a,n),i&&u.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!o&&!d)return M(t)&&i.set(t,l),l;if(m(o))for(let l=0;l<o.length;l++){const t=E(o[l]);ku(t)&&(a[t]=s)}else if(o)for(const s in o){const t=E(s);if(ku(t)){const e=o[s],n=a[t]=m(e)||b(e)?{type:e}:p({},e),i=n.type;let r=!1,l=!0;if(m(i))for(let t=0;t<i.length;++t){const e=i[t],n=b(e)&&e.name;if("Boolean"===n){r=!0;break}"String"===n&&(l=!1)}else r=b(i)&&"Boolean"===i.name;n[0]=r,n[1]=l,(r||y(n,"default"))&&u.push(t)}}const c=[a,u];return M(t)&&i.set(t,c),c}function ku(t){return"$"!==t[0]&&!D(t)}const Lu=t=>"_"===t||"_ctx"===t||"$stable"===t,Ou=t=>m(t)?t.map(Id):[Id(t)],Eu=(t,e,n)=>{if(e._n)return e;const i=rs((...t)=>Ou(e(...t)),n);return i._c=!1,i},Pu=(t,e,n)=>{const i=t._ctx;for(const r in t){if(Lu(r))continue;const n=t[r];if(b(n))e[r]=Eu(0,n,i);else if(null!=n){const t=Ou(n);e[r]=()=>t}}},Nu=(t,e)=>{const n=Ou(e);t.slots.default=()=>n},Ru=(t,e,n)=>{for(const i in e)!n&&Lu(i)||(t[i]=e[i])},Bu=ed;function zu(t){return Vu(t)}function Fu(t){return Vu(t,tl)}function Vu(t,e){j().__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:a,createComment:d,setText:c,setElementText:h,parentNode:p,nextSibling:f,setScopeId:g=u,insertStaticContent:m}=t,v=(t,e,n,i=null,r=null,o=null,a=void 0,s=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!md(t,e)&&(i=Z(t),W(t,r,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:u,ref:d,shapeFlag:c}=e;switch(u){case rd:x(t,e,n,i);break;case od:_(t,e,n,i);break;case ad:null==t&&b(e,n,i,a);break;case id:A(t,e,n,i,r,o,a,s,l);break;default:1&c?w(t,e,n,i,r,o,a,s,l):6&c?k(t,e,n,i,r,o,a,s,l):(64&c||128&c)&&u.process(t,e,n,i,r,o,a,s,l,J)}null!=d&&r?Xs(d,t&&t.ref,o,e||t,!e):null==d&&t&&null!=t.ref&&Xs(t.ref,null,o,t,!0)},x=(t,e,i,r)=>{if(null==t)n(e.el=a(e.children),i,r);else{const n=e.el=t.el;e.children!==t.children&&c(n,e.children)}},_=(t,e,i,r)=>{null==t?n(e.el=d(e.children||""),i,r):e.el=t.el},b=(t,e,n,i)=>{[t.el,t.anchor]=m(t.children,e,n,i,t.el,t.anchor)},w=(t,e,n,i,r,o,a,s,l)=>{if("svg"===e.type?a="svg":"math"===e.type&&(a="mathml"),null==t)S(e,n,i,r,o,a,s,l);else{const n=t.el&&t.el._isVueCE?t.el:null;try{n&&n._beginPatch(),C(t,e,r,o,a,s,l)}finally{n&&n._endPatch()}}},S=(t,e,i,a,s,l,u,d)=>{let c,p;const{props:f,shapeFlag:g,transition:y,dirs:m}=t;if(c=t.el=o(t.type,l,f&&f.is,f),8&g?h(c,t.children):16&g&&$(t.children,c,null,a,s,Gu(t,l),u,d),m&&as(t,null,a,"created"),M(c,t,t.scopeId,u,a),f){for(const t in f)"value"===t||D(t)||r(c,t,null,f[t],l,a);"value"in f&&r(c,"value",null,f.value,l),(p=f.onVnodeBeforeMount)&&kd(p,a,t)}m&&as(t,null,a,"beforeMount");const v=Hu(s,y);v&&y.beforeEnter(c),n(c,e,i),((p=f&&f.onVnodeMounted)||v||m)&&Bu(()=>{try{p&&kd(p,a,t),v&&y.enter(c),m&&as(t,null,a,"mounted")}finally{}},s)},M=(t,e,n,i,r)=>{if(n&&g(t,n),i)for(let o=0;o<i.length;o++)g(t,i[o]);if(r){let n=r.subTree;if(e===n||Zu(n.type)&&(n.ssContent===e||n.ssFallback===e)){const e=r.vnode;M(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},$=(t,e,n,i,r,o,a,s,l=0)=>{for(let u=l;u<t.length;u++){const l=t[u]=s?Td(t[u]):Id(t[u]);v(null,l,e,n,i,r,o,a,s)}},C=(t,e,n,i,o,a,l)=>{const u=e.el=t.el;let{patchFlag:d,dynamicChildren:c,dirs:p}=e;d|=16&t.patchFlag;const f=t.props||s,g=e.props||s;let y;if(n&&Wu(n,!1),(y=g.onVnodeBeforeUpdate)&&kd(y,n,e,t),p&&as(e,t,n,"beforeUpdate"),n&&Wu(n,!0),(f.innerHTML&&null==g.innerHTML||f.textContent&&null==g.textContent)&&h(u,""),c?I(t.dynamicChildren,c,u,n,i,Gu(e,o),a):l||B(t,e,u,null,n,i,Gu(e,o),a,!1),d>0){if(16&d)T(u,f,g,n,o);else if(2&d&&f.class!==g.class&&r(u,"class",null,g.class,o),4&d&&r(u,"style",f.style,g.style,o),8&d){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const i=t[e],a=f[i],s=g[i];s===a&&"value"!==i||r(u,i,a,s,o,n)}}1&d&&t.children!==e.children&&h(u,e.children)}else l||null!=c||T(u,f,g,n,o);((y=g.onVnodeUpdated)||p)&&Bu(()=>{y&&kd(y,n,e,t),p&&as(e,t,n,"updated")},i)},I=(t,e,n,i,r,o,a)=>{for(let s=0;s<e.length;s++){const l=t[s],u=e[s],d=l.el&&(l.type===id||!md(l,u)||198&l.shapeFlag)?p(l.el):n;v(l,u,d,null,i,r,o,a,!0)}},T=(t,e,n,i,o)=>{if(e!==n){if(e!==s)for(const a in e)D(a)||a in n||r(t,a,e[a],null,o,i);for(const a in n){if(D(a))continue;const s=n[a],l=e[a];s!==l&&"value"!==a&&r(t,a,l,s,o,i)}"value"in n&&r(t,"value",e.value,n.value,o)}},A=(t,e,i,r,o,s,l,u,d)=>{const c=e.el=t?t.el:a(""),h=e.anchor=t?t.anchor:a("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(u=u?u.concat(g):g),null==t?(n(c,i,r),n(h,i,r),$(e.children||[],i,h,o,s,l,u,d)):p>0&&64&p&&f&&t.dynamicChildren&&t.dynamicChildren.length===f.length?(I(t.dynamicChildren,f,i,o,s,l,u),(null!=e.key||o&&e===o.subTree)&&ju(t,e,!0)):B(t,e,i,h,o,s,l,u,d)},k=(t,e,n,i,r,o,a,s,l)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?r.ctx.activate(e,n,i,a,l):L(e,n,i,r,o,a,l):O(t,e,l)},L=(t,e,n,i,r,o,a)=>{const s=t.component=Ed(t,i,r);if(ul(t)&&(s.ctx.renderer=J),jd(s,!1,a),s.asyncDep){if(r&&r.registerDep(s,P,a),!t.el){const i=s.subTree=bd(od);_(null,i,e,n),t.placeholder=i.el}}else P(s,t,e,n,r,o,a)},O=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:r,component:o}=t,{props:a,children:s,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||i!==a&&(i?!a||bu(i,a,u):!!a);if(1024&l)return!0;if(16&l)return i?bu(i,a,u):!!a;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(wu(a,i,n)&&!mu(u,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void R(i,e,n);i.next=e,i.update()}else e.el=t.el,i.vnode=e},P=(t,e,n,i,r,o,a)=>{t.scope.on();const s=t.effect=new Gr(()=>{if(t.isMounted){let{next:e,bu:n,u:i,parent:s,vnode:u}=t;{const n=Uu(t);if(n)return e&&(e.el=u.el,R(t,e,a)),void n.asyncDep.then(()=>{Bu(()=>{t.isUnmounted||l()},r)})}let d,c=e;Wu(t,!1),e?(e.el=u.el,R(t,e,a)):e=u,n&&F(n),(d=e.props&&e.props.onVnodeBeforeUpdate)&&kd(d,s,e,u),Wu(t,!0);const h=vu(t),f=t.subTree;t.subTree=h,v(f,h,p(f.el),Z(f),t,r,o),e.el=h.el,null===c&&Su(t,h.el),i&&Bu(i,r),(d=e.props&&e.props.onVnodeUpdated)&&Bu(()=>kd(d,s,e,u),r)}else{let a;const{el:s,props:l}=e,{bm:u,m:d,parent:c,root:h,type:p}=t,f=al(e);if(Wu(t,!1),u&&F(u),!f&&(a=l&&l.onVnodeBeforeMount)&&kd(a,c,e),Wu(t,!0),s&&tt){const e=()=>{t.subTree=vu(t),tt(s,t.subTree,t,r,null)};f&&p.__asyncHydrate?p.__asyncHydrate(s,t,e):e()}else{h.ce&&h.ce._hasShadowRoot()&&h.ce._injectChildStyle(p,t.parent?t.parent.type:void 0);const a=t.subTree=vu(t);v(null,a,n,i,t,r,o),e.el=a.el}if(d&&Bu(d,r),!f&&(a=l&&l.onVnodeMounted)){const t=e;Bu(()=>kd(a,c,t),r)}(256&e.shapeFlag||c&&al(c.vnode)&&256&c.vnode.shapeFlag)&&t.a&&Bu(t.a,r),t.isMounted=!0,e=n=i=null}});t.scope.off();const l=t.update=s.run.bind(s),u=t.job=s.runIfDirty.bind(s);u.i=t,u.id=t.uid,s.scheduler=()=>Ua(u),Wu(t,!0),l()},R=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:a}}=t,s=oa(r),[l]=t.propsOptions;let u=!1;if(!(i||a>0)||16&a){let i;Iu(t,e,r,o)&&(u=!0);for(const o in s)e&&(y(e,o)||(i=N(o))!==o&&y(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=Tu(l,s,o,void 0,t,!0)):delete r[o]);if(o!==s)for(const t in o)e&&y(e,t)||(delete o[t],u=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let a=n[i];if(mu(t.emitsOptions,a))continue;const d=e[a];if(l)if(y(o,a))d!==o[a]&&(o[a]=d,u=!0);else{const e=E(a);r[e]=Tu(l,s,e,d,t,!1)}else d!==o[a]&&(o[a]=d,u=!0)}}u&&yo(t.attrs,"set","")}(t,e.props,i,n),((t,e,n)=>{const{vnode:i,slots:r}=t;let o=!0,a=s;if(32&i.shapeFlag){const t=e._;t?n&&1===t?o=!1:Ru(r,e,n):(o=!e.$stable,Pu(e,r)),a=e}else e&&(Nu(t,e),a={default:1});if(o)for(const s in r)Lu(s)||null!=a[s]||delete r[s]})(t,e.children,n),io(),Za(t),ro()},B=(t,e,n,i,r,o,a,s,l=!1)=>{const u=t&&t.children,d=t?t.shapeFlag:0,c=e.children,{patchFlag:p,shapeFlag:f}=e;if(p>0){if(128&p)return void V(u,c,n,i,r,o,a,s,l);if(256&p)return void z(u,c,n,i,r,o,a,s,l)}8&f?(16&d&&X(u,r,o),c!==u&&h(n,c)):16&d?16&f?V(u,c,n,i,r,o,a,s,l):X(u,r,o,!0):(8&d&&h(n,""),16&f&&$(c,n,i,r,o,a,s,l))},z=(t,e,n,i,r,o,a,s,u)=>{e=e||l;const d=(t=t||l).length,c=e.length,h=Math.min(d,c);let p;for(p=0;p<h;p++){const i=e[p]=u?Td(e[p]):Id(e[p]);v(t[p],i,n,null,r,o,a,s,u)}d>c?X(t,r,o,!0,!1,h):$(e,n,i,r,o,a,s,u,h)},V=(t,e,n,i,r,o,a,s,u)=>{let d=0;const c=e.length;let h=t.length-1,p=c-1;for(;d<=h&&d<=p;){const i=t[d],l=e[d]=u?Td(e[d]):Id(e[d]);if(!md(i,l))break;v(i,l,n,null,r,o,a,s,u),d++}for(;d<=h&&d<=p;){const i=t[h],l=e[p]=u?Td(e[p]):Id(e[p]);if(!md(i,l))break;v(i,l,n,null,r,o,a,s,u),h--,p--}if(d>h){if(d<=p){const t=p+1,l=t<c?e[t].el:i;for(;d<=p;)v(null,e[d]=u?Td(e[d]):Id(e[d]),n,l,r,o,a,s,u),d++}}else if(d>p)for(;d<=h;)W(t[d],r,o,!0),d++;else{const f=d,g=d,y=new Map;for(d=g;d<=p;d++){const t=e[d]=u?Td(e[d]):Id(e[d]);null!=t.key&&y.set(t.key,d)}let m,x=0;const _=p-g+1;let b=!1,w=0;const S=new Array(_);for(d=0;d<_;d++)S[d]=0;for(d=f;d<=h;d++){const i=t[d];if(x>=_){W(i,r,o,!0);continue}let l;if(null!=i.key)l=y.get(i.key);else for(m=g;m<=p;m++)if(0===S[m-g]&&md(i,e[m])){l=m;break}void 0===l?W(i,r,o,!0):(S[l-g]=d+1,l>=w?w=l:b=!0,v(i,e[l],n,null,r,o,a,s,u),x++)}const M=b?function(t){const e=t.slice(),n=[0];let i,r,o,a,s;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(r=n[n.length-1],t[r]<l){e[i]=r,n.push(i);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,t[n[s]]<l?o=s+1:a=s;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}o=n.length,a=n[o-1];for(;o-- >0;)n[o]=a,a=e[a];return n}(S):l;for(m=M.length-1,d=_-1;d>=0;d--){const t=g+d,l=e[t],h=e[t+1],p=t+1<c?h.el||Xu(h):i;0===S[d]?v(null,l,n,p,r,o,a,s,u):b&&(m<0||d!==M[m]?G(l,n,p,2):m--)}}},G=(t,e,r,o,a=null)=>{const{el:s,type:l,transition:u,children:d,shapeFlag:c}=t;if(6&c)return void G(t.component.subTree,e,r,o);if(128&c)return void t.suspense.move(e,r,o);if(64&c)return void l.move(t,e,r,J);if(l===id){n(s,e,r);for(let t=0;t<d.length;t++)G(d[t],e,r,o);return void n(t.anchor,e,r)}if(l===ad)return void(({el:t,anchor:e},i,r)=>{let o;for(;t&&t!==e;)o=f(t),n(t,i,r),t=o;n(e,i,r)})(t,e,r);if(2!==o&&1&c&&u)if(0===o)u.persisted&&!s[Ds]?n(s,e,r):(u.beforeEnter(s),n(s,e,r),Bu(()=>u.enter(s),a));else{const{leave:o,delayLeave:a,afterLeave:l}=u,d=()=>{t.ctx.isUnmounted?i(s):n(s,e,r)},c=()=>{const t=s._isLeaving||!!s[Ds];s._isLeaving&&s[Ds](!0),u.persisted&&!t?d():o(s,()=>{d(),l&&l()})};a?a(s,d,c):c()}else n(s,e,r)},W=(t,e,n,i=!1,r=!1)=>{const{type:o,props:a,ref:s,children:l,dynamicChildren:u,shapeFlag:d,patchFlag:c,dirs:h,cacheIndex:p,memo:f}=t;if(-2===c&&(r=!1),null!=s&&(io(),Xs(s,null,n,t,!0),ro()),null!=p&&(e.renderCache[p]=void 0),256&d)return void e.ctx.deactivate(t);const g=1&d&&h,y=!al(t);let m;if(y&&(m=a&&a.onVnodeBeforeUnmount)&&kd(m,e,t),6&d)Y(t.component,n,i);else{if(128&d)return void t.suspense.unmount(n,i);g&&as(t,null,e,"beforeUnmount"),64&d?t.type.remove(t,e,n,J,i):u&&!u.hasOnce&&(o!==id||c>0&&64&c)?X(u,e,n,!1,!0):(o===id&&384&c||!r&&16&d)&&X(l,e,n),i&&H(t)}const v=null!=f&&null==p;(y&&(m=a&&a.onVnodeUnmounted)||g||v)&&Bu(()=>{m&&kd(m,e,t),g&&as(t,null,e,"unmounted"),v&&(t.el=null)},n)},H=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===id)return void U(n,r);if(e===ad)return void(({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=f(t),i(t),t=n;i(e)})(t);const a=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:i}=o,r=()=>e(n,a);i?i(t.el,a,r):r()}else a()},U=(t,e)=>{let n;for(;t!==e;)n=f(t),i(t),t=n;i(e)},Y=(t,e,n)=>{const{bum:i,scope:r,job:o,subTree:a,um:s,m:l,a:u}=t;Yu(l),Yu(u),i&&F(i),r.stop(),o&&(o.flags|=8,W(a,t,e,n)),s&&Bu(s,e),Bu(()=>{t.isUnmounted=!0},e)},X=(t,e,n,i=!1,r=!1,o=0)=>{for(let a=o;a<t.length;a++)W(t[a],e,n,i,r)},Z=t=>{if(6&t.shapeFlag)return Z(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=f(t.anchor||t.el),n=e&&e[xs];return n?f(n):e};let q=!1;const K=(t,e,n)=>{let i;null==t?e._vnode&&(W(e._vnode,null,null,!0),i=e._vnode.component):v(e._vnode||null,t,e,null,null,null,n),e._vnode=t,q||(q=!0,Za(i),qa(),q=!1)},J={p:v,um:W,m:G,r:H,mt:L,mc:$,pc:B,pbc:I,n:Z,o:t};let Q,tt;return e&&([Q,tt]=e(J)),{render:K,hydrate:Q,createApp:cu(K,Q)}}function Gu({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Wu({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Hu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function ju(t,e,n=!1){const i=t.children,r=e.children;if(m(i)&&m(r))for(let o=0;o<i.length;o++){const t=i[o];let e=r[o];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=r[o]=Td(r[o]),e.el=t.el),n||-2===e.patchFlag||ju(t,e)),e.type===rd&&(-1===e.patchFlag&&(e=r[o]=Td(e)),e.el=t.el),e.type!==od||e.el||(e.el=t.el)}}function Uu(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Uu(e)}function Yu(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Xu(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Xu(e.subTree):null}const Zu=t=>t.__isSuspense;let qu=0;const Ku={name:"Suspense",__isSuspense:!0,process(t,e,n,i,r,o,a,s,l,u){if(null==t)!function(t,e,n,i,r,o,a,s,l){const{p:u,o:{createElement:d}}=l,c=d("div"),h=t.suspense=Qu(t,r,i,e,c,n,o,a,s,l);u(null,h.pendingBranch=t.ssContent,c,null,i,h,o,a),h.deps>0?(Ju(t,"onPending"),Ju(t,"onFallback"),u(null,t.ssFallback,e,n,i,null,o,a),nd(h,t.ssFallback)):h.resolve(!1,!0)}(e,n,i,r,o,a,s,l,u);else{if(o&&o.deps>0&&!t.suspense.isInFallback)return e.suspense=t.suspense,e.suspense.vnode=e,void(e.el=t.el);!function(t,e,n,i,r,o,a,s,{p:l,um:u,o:{createElement:d}}){const c=e.suspense=t.suspense;c.vnode=e,e.el=t.el;const h=e.ssContent,p=e.ssFallback,{activeBranch:f,pendingBranch:g,isInFallback:y,isHydrating:m}=c;if(g)c.pendingBranch=h,md(g,h)?(l(g,h,c.hiddenContainer,null,r,c,o,a,s),c.deps<=0?c.resolve():y&&(m||(l(f,p,n,i,r,null,o,a,s),nd(c,p)))):(c.pendingId=qu++,m?(c.isHydrating=!1,c.activeBranch=g):u(g,r,c),c.deps=0,c.effects.length=0,c.hiddenContainer=d("div"),y?(l(null,h,c.hiddenContainer,null,r,c,o,a,s),c.deps<=0?c.resolve():(l(f,p,n,i,r,null,o,a,s),nd(c,p))):f&&md(f,h)?(l(f,h,n,i,r,c,o,a,s),c.resolve(!0)):(l(null,h,c.hiddenContainer,null,r,c,o,a,s),c.deps<=0&&c.resolve()));else if(f&&md(f,h))l(f,h,n,i,r,c,o,a,s),nd(c,h);else if(Ju(e,"onPending"),c.pendingBranch=h,512&h.shapeFlag?c.pendingId=h.component.suspenseId:c.pendingId=qu++,l(null,h,c.hiddenContainer,null,r,c,o,a,s),c.deps<=0)c.resolve();else{const{timeout:t,pendingId:e}=c;t>0?setTimeout(()=>{c.pendingId===e&&c.fallback(p)},t):0===t&&c.fallback(p)}}(t,e,n,i,r,a,s,l,u)}},hydrate:function(t,e,n,i,r,o,a,s,l){const u=e.suspense=Qu(e,i,n,t.parentNode,document.createElement("div"),null,r,o,a,s,!0),d=l(t,u.pendingBranch=e.ssContent,n,u,o,a);0===u.deps&&u.resolve(!1,!0);return d},normalize:function(t){const{shapeFlag:e,children:n}=t,i=32&e;t.ssContent=td(i?n.default:n),t.ssFallback=i?td(n.fallback):bd(od)}};function Ju(t,e){const n=t.props&&t.props[e];b(n)&&n()}function Qu(t,e,n,i,r,o,a,s,l,u,d=!1){const{p:c,m:h,um:p,n:f,o:{parentNode:g,remove:y}}=u;let m;const v=function(t){const e=t.props&&t.props.suspensible;return null!=e&&!1!==e}(t);v&&e&&e.pendingBranch&&(m=e.pendingId,e.deps++);const x=t.props?W(t.props.timeout):void 0,_=o,b={vnode:t,parent:e,parentComponent:n,namespace:a,container:i,hiddenContainer:r,deps:0,pendingId:qu++,timeout:"number"==typeof x?x:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(t=!1,n=!1){const{vnode:i,activeBranch:r,pendingBranch:a,pendingId:s,effects:l,parentComponent:u,container:d,isInFallback:c}=b;let y=!1;if(b.isHydrating)b.isHydrating=!1;else if(!t){y=r&&a.transition&&"out-in"===a.transition.mode;let t=!1;y&&(r.transition.afterLeave=()=>{s===b.pendingId&&(h(a,d,o!==_||t?o:f(r),0),Xa(l),c&&i.ssFallback&&(i.ssFallback.el=null))}),r&&!b.isFallbackMountPending&&(g(r.el)===d&&(o=f(r),t=!0),p(r,u,b,!0),!y&&c&&i.ssFallback&&Bu(()=>i.ssFallback.el=null,b)),y||h(a,d,o,0)}b.isFallbackMountPending=!1,nd(b,a),b.pendingBranch=null,b.isInFallback=!1;let x=b.parent,w=!1;for(;x;){if(x.pendingBranch){x.effects.push(...l),w=!0;break}x=x.parent}w||y||Xa(l),b.effects=[],v&&e&&e.pendingBranch&&m===e.pendingId&&(e.deps--,0!==e.deps||n||e.resolve()),Ju(i,"onResolve")},fallback(t){if(!b.pendingBranch)return;const{vnode:e,activeBranch:n,parentComponent:i,container:r,namespace:o}=b;Ju(e,"onFallback");const a=f(n),u=()=>{b.isFallbackMountPending=!1,b.isInFallback&&(c(null,t,r,a,i,null,o,s,l),nd(b,t))},d=t.transition&&"out-in"===t.transition.mode;d&&(b.isFallbackMountPending=!0,n.transition.afterLeave=u),b.isInFallback=!0,p(n,i,null,!0),d||u()},move(t,e,n){b.activeBranch&&h(b.activeBranch,t,e,n),b.container=t},next:()=>b.activeBranch&&f(b.activeBranch),registerDep(t,e,n){const i=!!b.pendingBranch;i&&b.deps++;const r=t.vnode.el;t.asyncDep.catch(e=>{Ra(e,t,0)}).then(o=>{if(t.isUnmounted||b.isUnmounted||b.pendingId!==t.suspenseId)return;Fd(),t.asyncResolved=!0;const{vnode:s}=t;Ud(t,o,!1),r&&(s.el=r);const l=!r&&t.subTree.el;e(t,s,g(r||t.subTree.el),r?null:f(t.subTree),b,a,n),l&&(s.placeholder=null,y(l)),Su(t,s.el),i&&0===--b.deps&&b.resolve()})},unmount(t,e){b.isUnmounted=!0,b.activeBranch&&p(b.activeBranch,n,t,e),b.pendingBranch&&p(b.pendingBranch,n,t,e)}};return b}function td(t){let e;if(b(t)){const n=cd&&t._c;n&&(t._d=!1,ud()),t=t(),n&&(t._d=!0,e=ld,dd())}if(m(t)){const e=function(t){let e;for(let n=0;n<t.length;n++){const i=t[n];if(!yd(i))return;if(i.type!==od||"v-if"===i.children){if(e)return;e=i}}return e}(t);t=e}return t=Id(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(e=>e!==t)),t}function ed(t,e){e&&e.pendingBranch?m(t)?e.effects.push(...t):e.effects.push(t):Xa(t)}function nd(t,e){t.activeBranch=e;const{vnode:n,parentComponent:i}=t;let r=e.el;for(;!r&&e.component;)r=(e=e.component.subTree).el;n.el=r,i&&i.subTree===n&&(i.vnode.el=r,Su(i,r))}const id=Symbol.for("v-fgt"),rd=Symbol.for("v-txt"),od=Symbol.for("v-cmt"),ad=Symbol.for("v-stc"),sd=[];let ld=null;function ud(t=!1){sd.push(ld=t?null:[])}function dd(){sd.pop(),ld=sd[sd.length-1]||null}let cd=1;function hd(t,e=!1){cd+=t,t<0&&ld&&e&&(ld.hasOnce=!0)}function pd(t){return t.dynamicChildren=cd>0?ld||l:null,dd(),cd>0&&ld&&ld.push(t),t}function fd(t,e,n,i,r,o){return pd(_d(t,e,n,i,r,o,!0))}function gd(t,e,n,i,r){return pd(bd(t,e,n,i,r,!0))}function yd(t){return!!t&&!0===t.__v_isVNode}function md(t,e){return t.type===e.type&&t.key===e.key}const vd=({key:t})=>null!=t?t:null,xd=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?w(t)||ua(t)||b(t)?{i:es,r:t,k:e,f:!!n}:t:null);function _d(t,e=null,n=null,i=0,r=null,o=(t===id?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&vd(e),ref:e&&xd(e),scopeId:ns,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:es};return s?(Ad(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=w(n)?8:16),cd>0&&!a&&ld&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&ld.push(l),l}const bd=function(t,e=null,n=null,i=0,r=null,o=!1){t&&t!==Ll||(t=od);if(yd(t)){const i=Sd(t,e,!0);return n&&Ad(i,n),cd>0&&!o&&ld&&(6&i.shapeFlag?ld[ld.indexOf(t)]=i:ld.push(i)),i.patchFlag=-2,i}a=t,b(a)&&"__vccOpts"in a&&(t=t.__vccOpts);var a;if(e){e=wd(e);let{class:t,style:n}=e;t&&!w(t)&&(e.class=J(t)),M(n)&&(ra(n)&&!m(n)&&(n=p({},n)),e.style=Y(n))}const s=w(t)?1:Zu(t)?128:_s(t)?64:M(t)?4:b(t)?2:0;return _d(t,e,n,i,r,s,o,!0)};function wd(t){return t?ra(t)||Cu(t)?p({},t):t:null}function Sd(t,e,n=!1,i=!1){const{props:r,ref:o,patchFlag:a,children:s,transition:l}=t,u=e?Dd(r||{},e):r,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&vd(u),ref:e&&e.ref?n&&o?m(o)?o.concat(xd(e)):[o,xd(e)]:xd(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==id?-1===a?16:16|a:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Sd(t.ssContent),ssFallback:t.ssFallback&&Sd(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&Gs(d,l.clone(d)),d}function Md(t=" ",e=0){return bd(rd,null,t,e)}function $d(t,e){const n=bd(ad,null,t);return n.staticCount=e,n}function Cd(t="",e=!1){return e?(ud(),gd(od,null,t)):bd(od,null,t)}function Id(t){return null==t||"boolean"==typeof t?bd(od):m(t)?bd(id,null,t.slice()):yd(t)?Td(t):bd(rd,null,String(t))}function Td(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Sd(t)}function Ad(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(m(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),Ad(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||Cu(e)?3===i&&es&&(1===es.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=es}}else b(e)?(e={default:e,_ctx:es},n=32):(e=String(e),64&i?(n=16,e=[Md(e)]):n=8);t.children=e,t.shapeFlag|=n}function Dd(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=J([e.class,i.class]));else if("style"===t)e.style=Y([e.style,i.style]);else if(c(t)){const n=e[t],r=i[t];!r||n===r||m(n)&&n.includes(r)?null!=r||null!=n||h(t)||(e[t]=r):e[t]=n?[].concat(n,r):r}else""!==t&&(e[t]=i[t])}return e}function kd(t,e,n,i=null){Na(t,e,7,[n,i])}const Ld=uu();let Od=0;function Ed(t,e,n){const i=t.type,r=(e?e.appContext:t.appContext)||Ld,o={uid:Od++,vnode:t,type:i,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Rr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Du(i,r),emitsOptions:yu(i,r),emit:null,emitted:null,propsDefaults:s,inheritAttrs:i.inheritAttrs,ctx:s,data:s,props:s,attrs:s,slots:s,refs:s,setupState:s,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=fu.bind(null,o),t.ce&&t.ce(o),o}let Pd=null;const Nd=()=>Pd||es;let Rd,Bd;{const t=j(),e=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),t=>{i.length>1?i.forEach(e=>e(t)):i[0](t)}};Rd=e("__VUE_INSTANCE_SETTERS__",t=>Pd=t),Bd=e("__VUE_SSR_SETTERS__",t=>Hd=t)}const zd=t=>{const e=Pd;return Rd(t),t.scope.on(),()=>{t.scope.off(),Rd(e)}},Fd=()=>{Pd&&Pd.scope.off(),Rd(null)};function Vd(t){return 4&t.vnode.shapeFlag}let Gd,Wd,Hd=!1;function jd(t,e=!1,n=!1){e&&Bd(e);const{props:i,children:r}=t.vnode,o=Vd(t);!function(t,e,n,i=!1){const r={},o=$u();t.propsDefaults=Object.create(null),Iu(t,e,r,o);for(const a in t.propsOptions[0])a in r||(r[a]=void 0);n?t.props=i?r:Ko(r):t.type.props?t.props=r:t.props=o,t.attrs=o}(t,i,o,e),((t,e,n)=>{const i=t.slots=$u();if(32&t.vnode.shapeFlag){const t=e._;t?(Ru(i,e,n),n&&V(i,"_",t,!0)):Pu(e,i)}else e&&Nu(t,e)})(t,r,n||e);const a=o?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,jl);const{setup:i}=n;if(i){io();const n=t.setupContext=i.length>1?qd(t):null,r=zd(t),o=Pa(i,t,0,[t.props,n]),a=$(o);if(ro(),r(),!a&&!t.sp||al(t)||js(t),a){if(o.then(Fd,Fd),e)return o.then(n=>{Ud(t,n,e)}).catch(e=>{Ra(e,t,0)});t.asyncDep=o}else Ud(t,o,e)}else Xd(t,e)}(t,e):void 0;return e&&Bd(!1),a}function Ud(t,e,n){b(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:M(e)&&(t.setupState=va(e)),Xd(t,n)}function Yd(t){Gd=t,Wd=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ul))}}function Xd(t,e,n){const i=t.type;if(!t.render){if(!e&&Gd&&!i.render){const e=i.template||eu(t).template;if(e){const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:a}=i,s=p(p({isCustomElement:n,delimiters:o},r),a);i.render=Gd(e,s)}}t.render=i.render||u,Wd&&Wd(t)}{const e=zd(t);io();try{Jl(t)}finally{ro(),e()}}}const Zd={get:(t,e)=>(go(t,0,""),t[e])};function qd(t){const e=e=>{t.exposed=e||{}};return{attrs:new Proxy(t.attrs,Zd),slots:t.slots,emit:t.emit,expose:e}}function Kd(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(va(aa(t.exposed)),{get:(e,n)=>n in e?e[n]:n in Wl?Wl[n](t):void 0,has:(t,e)=>e in t||e in Wl})):t.proxy}function Jd(t,e=!0){return b(t)?t.displayName||t.name:t.name||e&&t.__name}const Qd=(t,e)=>Ia(t,0,Hd);function tc(t,e,n){try{hd(-1);const i=arguments.length;return 2===i?M(e)&&!m(e)?yd(e)?bd(t,null,[e]):bd(t,e):bd(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&yd(n)&&(n=[n]),bd(t,e,n))}finally{hd(1)}}function ec(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let i=0;i<n.length;i++)if(z(n[i],e[i]))return!1;return cd>0&&ld&&ld.push(t),!0}const nc="3.5.38",ic=u,rc=Ea,oc=Qa,ac=function t(e,n){var i,r;if(Qa=e,Qa)Qa.enabled=!0,ts.forEach(({event:t,args:e})=>Qa.emit(t,...e)),ts=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(r=null==(i=window.navigator)?void 0:i.userAgent)?void 0:r.includes("jsdom"))){(n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{t(e,n)}),setTimeout(()=>{Qa||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ts=[])},3e3)}else ts=[]},sc={createComponentInstance:Ed,setupComponent:jd,renderComponentRoot:vu,setCurrentRenderingInstance:is,isVNode:yd,normalizeVNode:Id,getComponentPublicInstance:Kd,ensureValidVNode:Fl,pushWarningContext:function(t){Oa.push(t)},popWarningContext:function(){Oa.pop()}};let lc;const uc="undefined"!=typeof window&&window.trustedTypes;if(uc)try{lc=uc.createPolicy("vue",{createHTML:t=>t})}catch(Qb){}const dc=lc?t=>lc.createHTML(t):t=>t,cc="undefined"!=typeof document?document:null,hc=cc&&cc.createElement("template"),pc={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r="svg"===e?cc.createElementNS("http://www.w3.org/2000/svg",t):"mathml"===e?cc.createElementNS("http://www.w3.org/1998/Math/MathML",t):n?cc.createElement(t,{is:n}):cc.createElement(t);return"select"===t&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:t=>cc.createTextNode(t),createComment:t=>cc.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>cc.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const a=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{hc.innerHTML=dc("svg"===i?`<svg>${t}</svg>`:"mathml"===i?`<math>${t}</math>`:t);const r=hc.content;if("svg"===i||"mathml"===i){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}e.insertBefore(r,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},fc="transition",gc="animation",yc=Symbol("_vtc"),mc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vc=p({},Es,mc),xc=t=>(t.displayName="Transition",t.props=vc,t),_c=xc((t,{slots:e})=>tc(Rs,Sc(t),e)),bc=(t,e=[])=>{m(t)?t.forEach(t=>t(...e)):t&&t(...e)},wc=t=>!!t&&(m(t)?t.some(t=>t.length>1):t.length>1);function Sc(t){const e={};for(const p in t)p in mc||(e[p]=t[p]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,g=function(t){if(null==t)return null;if(M(t))return[Mc(t.enter),Mc(t.leave)];{const e=Mc(t);return[e,e]}}(r),y=g&&g[0],m=g&&g[1],{onBeforeEnter:v,onEnter:x,onEnterCancelled:_,onLeave:b,onLeaveCancelled:w,onBeforeAppear:S=v,onAppear:$=x,onAppearCancelled:C=_}=e,I=(t,e,n,i)=>{t._enterCancelled=i,Cc(t,e?d:s),Cc(t,e?u:a),n&&n()},T=(t,e)=>{t._isLeaving=!1,Cc(t,c),Cc(t,f),Cc(t,h),e&&e()},A=t=>(e,n)=>{const r=t?$:x,a=()=>I(e,t,n);bc(r,[e,a]),Ic(()=>{Cc(e,t?l:o),$c(e,t?d:s),wc(r)||Ac(e,i,y,a)})};return p(e,{onBeforeEnter(t){bc(v,[t]),$c(t,o),$c(t,a)},onBeforeAppear(t){bc(S,[t]),$c(t,l),$c(t,u)},onEnter:A(!1),onAppear:A(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);$c(t,c),t._enterCancelled?($c(t,h),Oc(t)):(Oc(t),$c(t,h)),Ic(()=>{t._isLeaving&&(Cc(t,c),$c(t,f),wc(b)||Ac(t,i,m,n))}),bc(b,[t,n])},onEnterCancelled(t){I(t,!1,void 0,!0),bc(_,[t])},onAppearCancelled(t){I(t,!0,void 0,!0),bc(C,[t])},onLeaveCancelled(t){T(t),bc(w,[t])}})}function Mc(t){return W(t)}function $c(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[yc]||(t[yc]=new Set)).add(e)}function Cc(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const n=t[yc];n&&(n.delete(e),n.size||(t[yc]=void 0))}function Ic(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Tc=0;function Ac(t,e,n,i){const r=t._endId=++Tc,o=()=>{r===t._endId&&i()};if(null!=n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=Dc(t,e);if(!a)return i();const u=a+"end";let d=0;const c=()=>{t.removeEventListener(u,h),o()},h=e=>{e.target===t&&++d>=l&&c()};setTimeout(()=>{d<l&&c()},s+1),t.addEventListener(u,h)}function Dc(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),r=i(`${fc}Delay`),o=i(`${fc}Duration`),a=kc(r,o),s=i(`${gc}Delay`),l=i(`${gc}Duration`),u=kc(s,l);let d=null,c=0,h=0;e===fc?a>0&&(d=fc,c=a,h=o.length):e===gc?u>0&&(d=gc,c=u,h=l.length):(c=Math.max(a,u),d=c>0?a>u?fc:gc:null,h=d?d===fc?o.length:l.length:0);return{type:d,timeout:c,propCount:h,hasTransform:d===fc&&/\b(?:transform|all)(?:,|$)/.test(i(`${fc}Property`).toString())}}function kc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((e,n)=>Lc(e)+Lc(t[n])))}function Lc(t){return"auto"===t?0:1e3*Number(t.slice(0,-1).replace(",","."))}function Oc(t){return(t?t.ownerDocument:document).body.offsetHeight}const Ec=Symbol("_vod"),Pc=Symbol("_vsh"),Nc={name:"show",beforeMount(t,{value:e},{transition:n}){t[Ec]="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):Rc(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Rc(t,!0),i.enter(t)):i.leave(t,()=>{Rc(t,!1)}):Rc(t,e))},beforeUnmount(t,{value:e}){Rc(t,e)}};function Rc(t,e){t.style.display=e?t[Ec]:"none",t[Pc]=!e}const Bc=Symbol("");function zc(t,e){if(128&t.shapeFlag){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{zc(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)Fc(t.el,e);else if(t.type===id)t.children.forEach(t=>zc(t,e));else if(t.type===ad){let{el:n,anchor:i}=t;for(;n&&(Fc(n,e),n!==i);)n=n.nextSibling}}function Fc(t,e){if(1===t.nodeType){const n=t.style;let i="";for(const t in e){const r=ht(e[t]);n.setProperty(`--${t}`,r),i+=`--${t}: ${r};`}n[Bc]=i}}const Vc=/(?:^|;)\s*display\s*:/;const Gc=/\s*!important$/;function Wc(t,e,n){if(m(n))n.forEach(n=>Wc(t,e,n));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=jc[e];if(n)return n;let i=E(e);if("filter"!==i&&i in t)return jc[e]=i;i=R(i);for(let r=0;r<Hc.length;r++){const n=Hc[r]+i;if(n in t)return jc[e]=n}return e}(t,e);Gc.test(n)?t.setProperty(N(i),n.replace(Gc,""),"important"):t[i]=n}}const Hc=["Webkit","Moz","ms"],jc={};function Uc(t,e,n,i){return"TEXTAREA"===t.tagName&&("width"===e||"height"===e)&&w(i)&&n===i}const Yc="http://www.w3.org/1999/xlink";function Xc(t,e,n,i,r,o=rt(e)){i&&e.startsWith("xlink:")?null==n?t.removeAttributeNS(Yc,e.slice(6,e.length)):t.setAttributeNS(Yc,e,n):null==n||o&&!ot(n)?t.removeAttribute(e):t.setAttribute(e,o?"":S(n)?String(n):n)}function Zc(t,e,n,i,r){if("innerHTML"===e||"textContent"===e)return void(null!=n&&(t[e]="innerHTML"===e?dc(n):n));const o=t.tagName;if("value"===e&&"PROGRESS"!==o&&!o.includes("-")){const i="OPTION"===o?t.getAttribute("value")||"":t.value,r=null==n?"checkbox"===t.type?"on":"":String(n);return i===r&&"_value"in t||(t.value=r),null==n&&t.removeAttribute(e),void(t._value=n)}let a=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=ot(n):null==n&&"string"===i?(n="",a=!0):"number"===i&&(n=0,a=!0)}try{t[e]=n}catch(Qb){}a&&t.removeAttribute(r||e)}function qc(t,e,n,i){t.addEventListener(e,n,i)}const Kc=Symbol("_vei");function Jc(t,e,n,i,r=null){const o=t[Kc]||(t[Kc]={}),a=o[e];if(i&&a)a.value=i;else{const[n,s]=function(t){let e;if(Qc.test(t)){let n;for(e={};n=t.match(Qc);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}const n=":"===t[2]?t.slice(3):N(t.slice(2));return[n,e]}(e);if(i){const a=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();const i=n.value;if(m(i)){const n=t.stopImmediatePropagation;t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0};const r=i.slice(),o=[t];for(let i=0;i<r.length&&!t._stopped;i++){const t=r[i];t&&Na(t,e,5,o)}}else Na(i,e,5,[t])};return n.value=t,n.attached=nh(),n}(i,r);qc(t,n,a,s)}else a&&(!function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,a,s),o[e]=void 0)}}const Qc=/(?:Once|Passive|Capture)$/;let th=0;const eh=Promise.resolve(),nh=()=>th||(eh.then(()=>th=0),th=Date.now());const ih=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,rh=(t,e,n,i,r,o)=>{const a="svg"===r;"class"===e?function(t,e,n){const i=t[yc];i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,a):"style"===e?function(t,e,n){const i=t.style,r=w(n);let o=!1;if(n&&!r){if(e)if(w(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&Wc(i,e,"")}else for(const t in e)null==n[t]&&Wc(i,t,"");for(const r in n){"display"===r&&(o=!0);const a=n[r];null!=a?Uc(t,r,!w(e)&&e?e[r]:void 0,a)||Wc(i,r,a):Wc(i,r,"")}}else if(r){if(e!==n){const t=i[Bc];t&&(n+=";"+t),i.cssText=n,o=Vc.test(n)}}else e&&t.removeAttribute("style");Ec in t&&(t[Ec]=o?i.display:"",t[Pc]&&(i.display="none"))}(t,n,i):c(e)?h(e)||Jc(t,e,0,i,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&ih(e)&&b(n));if("spellcheck"===e||"draggable"===e||"translate"===e||"autocorrect"===e)return!1;if("sandbox"===e&&"IFRAME"===t.tagName)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}if(ih(e)&&w(n))return!1;return e in t}(t,e,i,a))?(Zc(t,e,i),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||Xc(t,e,i,a,0,"value"!==e)):t._isVueCE&&(function(t,e){const n=t._def.props;if(!n)return!1;const i=E(e);return Array.isArray(n)?n.some(t=>E(t)===i):Object.keys(n).some(t=>E(t)===i)}(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!w(i)))?Zc(t,E(e),i,0,e):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),Xc(t,e,i,a))};const oh={};function ah(t,e,n){let i=Hs(t,e);T(i)&&(i=p({},i,e));class r extends lh{constructor(t){super(i,t,n)}}return r.def=i,r}const sh="undefined"!=typeof HTMLElement?HTMLElement:class{};class lh extends sh{constructor(t,e={},n=Xh){super(),this._def=t,this._props=e,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Xh?this._root=this.shadowRoot:!1!==t.shadowRoot?(this.attachShadow(p({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof lh){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,ja(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const e of t)this._setAttr(e.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(t,e=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=t;let r;if(n&&!m(n))for(const o in n){const t=n[o];(t===Number||t&&t.type===Number)&&(o in this._props&&(this._props[o]=W(this._props[o])),(r||(r=Object.create(null)))[E(o)]=!0)}this._numberProps=r,this._resolveProps(t),this.shadowRoot&&this._applyStyles(i),this._mount(t)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(e=>{e.configureApp=this._def.configureApp,t(this._def=e,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const e=this._instance&&this._instance.exposed;if(e)for(const n in e)y(this,n)||Object.defineProperty(this,n,{get:()=>ga(e[n])})}_resolveProps(t){const{props:e}=t,n=m(e)?e:Object.keys(e||{});for(const i of Object.keys(this))"_"!==i[0]&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(E))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(t){this._setProp(i,t,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const e=this.hasAttribute(t);let n=e?this.getAttribute(t):oh;const i=E(t);e&&this._numberProps&&this._numberProps[i]&&(n=W(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,n=!0,i=!1){if(e!==this._props[t]&&(this._dirty=!0,e===oh?delete this._props[t]:(this._props[t]=e,"key"===t&&this._app&&(this._app._ceVNode.key=e)),i&&this._instance&&this._update(),n)){const n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),!0===e?this.setAttribute(N(t),""):"string"==typeof e||"number"==typeof e?this.setAttribute(N(t),e+""):e||this.removeAttribute(N(t)),n&&n.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Yh(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=bd(this._def,p(t,this._props));return this._instance||(e.ce=t=>{this._instance=t,t.ce=this,t.isCE=!0;const e=(t,e)=>{this.dispatchEvent(new CustomEvent(t,T(e[0])?p({detail:e},e[0]):{detail:e}))};t.emit=(t,...n)=>{e(t,n),N(t)!==t&&e(N(t),n)},this._setParent()}),e}_applyStyles(t,e,n){if(!t)return;if(e){if(e===this._def||this._styleChildren.has(e))return;this._styleChildren.add(e)}const i=this._nonce,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let a=null;for(let s=t.length-1;s>=0;s--){const l=document.createElement("style");i&&l.setAttribute("nonce",i),l.textContent=t[s],r.insertBefore(l,a||o),a=l,0===s&&(n||this._styleAnchors.set(this._def,l),e&&this._styleAnchors.set(e,l))}}_getStyleAnchor(t){if(!t)return null;const e=this._styleAnchors.get(t);return e&&e.parentNode===this.shadowRoot?e:(e&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let e=0;e<t.childNodes.length;e++){const n=t.childNodes[e];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const n=1===e.nodeType&&e.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=this._getSlots(),e=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const i=t[n],r=i.getAttribute("name")||"default",o=this._slots[r],a=i.parentNode;if(o)for(const t of o){if(e&&1===t.nodeType){const n=e+"-s",i=document.createTreeWalker(t,1);let r;for(t.setAttribute(n,"");r=i.nextNode();)r.setAttribute(n,"")}a.insertBefore(t,i)}else for(;i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const e=new Set;for(const n of t){const t=n.querySelectorAll("slot");for(let n=0;n<t.length;n++)e.add(t[n])}return Array.from(e)}_injectChildStyle(t,e){this._applyStyles(t.styles,t,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return!1!==this._def.shadowRoot}_removeChildStyle(t){}}function uh(t){const e=Nd(),n=e&&e.ce;return n||null}const dh=new WeakMap,ch=new WeakMap,hh=Symbol("_moveCb"),ph=Symbol("_enterCb"),fh=t=>(delete t.props.mode,t),gh=fh({name:"TransitionGroup",props:p({},vc,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Nd(),i=Ls();let r,o;return Sl(()=>{if(!r.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!function(t,e,n){const i=t.cloneNode(),r=t[yc];r&&r.forEach(t=>{t.split(/\s+/).forEach(t=>t&&i.classList.remove(t))});n.split(/\s+/).forEach(t=>t&&i.classList.add(t)),i.style.display="none";const o=1===e.nodeType?e:e.parentNode;o.appendChild(i);const{hasTransform:a}=Dc(i);return o.removeChild(i),a}(r[0].el,n.vnode.el,e))return void(r=[]);r.forEach(mh),r.forEach(vh);const i=r.filter(xh);Oc(n.vnode.el),i.forEach(t=>{const n=t.el,i=n.style;$c(n,e),i.transform=i.webkitTransform=i.transitionDuration="";const r=n[hh]=t=>{t&&t.target!==n||t&&!t.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",r),n[hh]=null,Cc(n,e))};n.addEventListener("transitionend",r)}),r=[]}),()=>{const a=oa(t),s=Sc(a);let l=a.tag||id;if(r=[],o)for(let t=0;t<o.length;t++){const e=o[t];e.el&&e.el instanceof Element&&!e.el[Pc]&&(r.push(e),Gs(e,zs(e,s,i,n)),dh.set(e,_h(e.el)))}o=e.default?Ws(e.default()):[];for(let t=0;t<o.length;t++){const e=o[t];null!=e.key&&Gs(e,zs(e,s,i,n))}return bd(l,null,o)}}}),yh=gh;function mh(t){const e=t.el;e[hh]&&e[hh](),e[ph]&&e[ph]()}function vh(t){ch.set(t,_h(t.el))}function xh(t){const e=dh.get(t),n=ch.get(t),i=e.left-n.left,r=e.top-n.top;if(i||r){const e=t.el,n=e.style,o=e.getBoundingClientRect();let a=1,s=1;return e.offsetWidth&&(a=o.width/e.offsetWidth),e.offsetHeight&&(s=o.height/e.offsetHeight),Number.isFinite(a)&&0!==a||(a=1),Number.isFinite(s)&&0!==s||(s=1),Math.abs(a-1)<.01&&(a=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${i/a}px,${r/s}px)`,n.transitionDuration="0s",t}}function _h(t){const e=t.getBoundingClientRect();return{left:e.left,top:e.top}}const bh=t=>{const e=t.props["onUpdate:modelValue"]||!1;return m(e)?t=>F(e,t):e};function wh(t){t.target.composing=!0}function Sh(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Mh=Symbol("_assign");function $h(t,e,n){return e&&(t=t.trim()),n&&(t=G(t)),t}const Ch={created(t,{modifiers:{lazy:e,trim:n,number:i}},r){t[Mh]=bh(r);const o=i||r.props&&"number"===r.props.type;qc(t,e?"change":"input",e=>{e.target.composing||t[Mh]($h(t.value,n,o))}),(n||o)&&qc(t,"change",()=>{t.value=$h(t.value,n,o)}),e||(qc(t,"compositionstart",wh),qc(t,"compositionend",Sh),qc(t,"change",Sh))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:i,trim:r,number:o}},a){if(t[Mh]=bh(a),t.composing)return;const s=null==e?"":e;if((!o&&"number"!==t.type||/^0\d/.test(t.value)?t.value:G(t.value))===s)return;const l=t.getRootNode();if((l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===t&&"range"!==t.type){if(i&&e===n)return;if(r&&t.value.trim()===s)return}t.value=s}},Ih={deep:!0,created(t,e,n){t[Mh]=bh(n),qc(t,"change",()=>{const e=t._modelValue,n=Lh(t),i=t.checked,r=t[Mh];if(m(e)){const t=st(e,n),o=-1!==t;if(i&&!o)r(e.concat(n));else if(!i&&o){const n=[...e];n.splice(t,1),r(n)}}else if(x(e)){const t=new Set(e);i?t.add(n):t.delete(n),r(t)}else r(Oh(t,i))})},mounted:Th,beforeUpdate(t,e,n){t[Mh]=bh(n),Th(t,e,n)}};function Th(t,{value:e,oldValue:n},i){let r;if(t._modelValue=e,m(e))r=st(e,i.props.value)>-1;else if(x(e))r=e.has(i.props.value);else{if(e===n)return;r=at(e,Oh(t,!0))}t.checked!==r&&(t.checked=r)}const Ah={created(t,{value:e},n){t.checked=at(e,n.props.value),t[Mh]=bh(n),qc(t,"change",()=>{t[Mh](Lh(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t[Mh]=bh(i),e!==n&&(t.checked=at(e,i.props.value))}},Dh={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const r=x(e);qc(t,"change",()=>{const e=Array.prototype.filter.call(t.options,t=>t.selected).map(t=>n?G(Lh(t)):Lh(t));t[Mh](t.multiple?r?new Set(e):e:e[0]),t._assigning=!0,ja(()=>{t._assigning=!1})}),t[Mh]=bh(i)},mounted(t,{value:e}){kh(t,e)},beforeUpdate(t,e,n){t[Mh]=bh(n)},updated(t,{value:e}){t._assigning||kh(t,e)}};function kh(t,e){const n=t.multiple,i=m(e);if(!n||i||x(e)){for(let r=0,o=t.options.length;r<o;r++){const o=t.options[r],a=Lh(o);if(n)if(i){const t=typeof a;o.selected="string"===t||"number"===t?e.some(t=>String(t)===String(a)):st(e,a)>-1}else o.selected=e.has(a);else if(at(Lh(o),e))return void(t.selectedIndex!==r&&(t.selectedIndex=r))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function Lh(t){return"_value"in t?t._value:t.value}function Oh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Eh={created(t,e,n){Nh(t,e,n,null,"created")},mounted(t,e,n){Nh(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){Nh(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){Nh(t,e,n,i,"updated")}};function Ph(t,e){switch(t){case"SELECT":return Dh;case"TEXTAREA":return Ch;default:switch(e){case"checkbox":return Ih;case"radio":return Ah;default:return Ch}}}function Nh(t,e,n,i,r){const o=Ph(t.tagName,n.props&&n.props.type)[r];o&&o(t,e,n,i)}const Rh=["ctrl","shift","alt","meta"],Bh={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Rh.some(n=>t[`${n}Key`]&&!e.includes(n))},zh=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(n,...i)=>{for(let t=0;t<e.length;t++){const i=Bh[e[t]];if(i&&i(n,e))return}return t(n,...i)})},Fh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Vh=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=N(n.key);return e.some(t=>t===i||Fh[t]===i)?t(n):void 0})},Gh=p({patchProp:rh},pc);let Wh,Hh=!1;function jh(){return Wh||(Wh=zu(Gh))}function Uh(){return Wh=Hh?Wh:Fu(Gh),Hh=!0,Wh}const Yh=(...t)=>{jh().render(...t)},Xh=(...t)=>{const e=jh().createApp(...t),{mount:n}=e;return e.mount=t=>{const i=Kh(t);if(!i)return;const r=e._component;b(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=n(i,!1,qh(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},Zh=(...t)=>{const e=Uh().createApp(...t),{mount:n}=e;return e.mount=t=>{const e=Kh(t);if(e)return n(e,!0,qh(e))},e};function qh(t){return t instanceof SVGElement?"svg":"function"==typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}function Kh(t){if(w(t)){return document.querySelector(t)}return t}let Jh=!1;const Qh=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Rs,BaseTransitionPropsValidators:Es,Comment:od,DeprecationTypes:null,EffectScope:Rr,ErrorCodes:{SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},ErrorTypeStrings:rc,Fragment:id,KeepAlive:dl,ReactiveEffect:Gr,Static:ad,Suspense:Ku,Teleport:Is,Text:rd,TrackOpTypes:{GET:"get",HAS:"has",ITERATE:"iterate"},Transition:_c,TransitionGroup:yh,TriggerOpTypes:{SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},VueElement:lh,assertNumber:function(t,e){},callWithAsyncErrorHandling:Na,callWithErrorHandling:Pa,camelize:E,capitalize:R,cloneVNode:Sd,compatUtils:null,computed:Qd,createApp:Xh,createBlock:gd,createCommentVNode:Cd,createElementBlock:fd,createElementVNode:_d,createHydrationRenderer:Fu,createPropsRestProxy:function(t,e){const n={};for(const i in t)e.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>t[i]});return n},createRenderer:zu,createSSRApp:Zh,createSlots:Bl,createStaticVNode:$d,createTextVNode:Md,createVNode:bd,customRef:_a,defineAsyncComponent:sl,defineComponent:Hs,defineCustomElement:ah,defineEmits:function(){return null},defineExpose:function(t){},defineModel:function(){},defineOptions:function(t){},defineProps:function(){return null},defineSSRCustomElement:(t,e)=>ah(t,e,Zh),defineSlots:function(){return null},devtools:oc,effect:function(t,e){t.effect instanceof Gr&&(t=t.effect.fn);const n=new Gr(t);e&&p(n,e);try{n.run()}catch(r){throw n.stop(),r}const i=n.run.bind(n);return i.effect=n,i},effectScope:Br,getCurrentInstance:Nd,getCurrentScope:zr,getCurrentWatcher:function(){return Da},getTransitionRawChildren:Ws,guardReactiveProps:wd,h:tc,handleError:Ra,hasInjectionContext:us,hydrate:(...t)=>{Uh().hydrate(...t)},hydrateOnIdle:(t=1e4)=>e=>{const n=rl(e,{timeout:t});return()=>ol(n)},hydrateOnInteraction:(t=[])=>(e,n)=>{w(t)&&(t=[t]);let i=!1;const r=t=>{i||(i=!0,o(),e(),t.target.dispatchEvent(new t.constructor(t.type,t)))},o=()=>{n(e=>{for(const n of t)e.removeEventListener(n,r)})};return n(e=>{for(const n of t)e.addEventListener(n,r,{once:!0})}),o},hydrateOnMediaQuery:t=>e=>{if(t){const n=matchMedia(t);if(!n.matches)return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e);e()}},hydrateOnVisible:t=>(e,n)=>{const i=new IntersectionObserver(t=>{for(const n of t)if(n.isIntersecting){i.disconnect(),e();break}},t);return n(t=>{if(t instanceof Element)return function(t){const{top:e,left:n,bottom:i,right:r}=t.getBoundingClientRect(),{innerHeight:o,innerWidth:a}=window;return(e>0&&e<o||i>0&&i<o)&&(n>0&&n<a||r>0&&r<a)}(t)?(e(),i.disconnect(),!1):void i.observe(t)}),()=>i.disconnect()},initCustomFormatter:function(){},initDirectivesForSSR:()=>{Jh||(Jh=!0,Ch.getSSRProps=({value:t})=>({value:t}),Ah.getSSRProps=({value:t},e)=>{if(e.props&&at(e.props.value,t))return{checked:!0}},Ih.getSSRProps=({value:t},e)=>{if(m(t)){if(e.props&&st(t,e.props.value)>-1)return{checked:!0}}else if(x(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},Eh.getSSRProps=(t,e)=>{if("string"!=typeof e.type)return;const n=Ph(e.type.toUpperCase(),e.props&&e.props.type);return n.getSSRProps?n.getSSRProps(t,e):void 0},Nc.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}})},inject:ls,isMemoSame:ec,isProxy:ra,isReactive:ea,isReadonly:na,isRef:ua,isRuntimeOnly:()=>!Gd,isShallow:ia,isVNode:yd,markRaw:aa,mergeDefaults:function(t,e){const n=ql(t);for(const i in e){if(i.startsWith("__skip"))continue;let t=n[i];t?m(t)||b(t)?t=n[i]={type:t,default:e[i]}:t.default=e[i]:null===t&&(t=n[i]={default:e[i]}),t&&e[`__skip_${i}`]&&(t.skipFactory=!0)}return n},mergeModels:function(t,e){return t&&e?m(t)&&m(e)?t.concat(e):p({},ql(t),ql(e)):t||e},mergeProps:Dd,nextTick:ja,nodeOps:pc,normalizeClass:J,normalizeProps:Q,normalizeStyle:Y,onActivated:hl,onBeforeMount:_l,onBeforeUnmount:Ml,onBeforeUpdate:wl,onDeactivated:pl,onErrorCaptured:Al,onMounted:bl,onRenderTracked:Tl,onRenderTriggered:Il,onScopeDispose:Fr,onServerPrefetch:Cl,onUnmounted:$l,onUpdated:Sl,onWatcherCleanup:ka,openBlock:ud,patchProp:rh,popScopeId:function(){ns=null},provide:ss,proxyRefs:va,pushScopeId:function(t){ns=t},queuePostFlushCb:Xa,reactive:qo,readonly:Jo,ref:da,registerRuntimeCompiler:Yd,render:Yh,renderList:Rl,renderSlot:zl,resolveComponent:kl,resolveDirective:El,resolveDynamicComponent:Ol,resolveFilter:null,resolveTransitionHooks:zs,setBlockTracking:hd,setDevtoolsHook:ac,setTransitionHooks:Gs,shallowReactive:Ko,shallowReadonly:Qo,shallowRef:ca,ssrContextKey:ds,ssrUtils:sc,stop:function(t){t.effect.stop()},toDisplayString:ut,toHandlerKey:B,toHandlers:Vl,toRaw:oa,toRef:Ma,toRefs:ba,toValue:ya,transformVNodeArgs:function(t){},triggerRef:fa,unref:ga,useAttrs:Xl,useCssModule:function(t="$style"){{const e=Nd();if(!e)return s;const n=e.type.__cssModules;if(!n)return s;const i=n[t];return i||s}},useCssVars:function(t){const e=Nd();if(!e)return;const n=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(t=>Fc(t,n))},i=()=>{const i=t(e.proxy);e.ce?Fc(e.ce,i):zc(e.subTree,i),n(i)};wl(()=>{Xa(i)}),bl(()=>{fs(i,u,{flush:"post"});const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),$l(()=>t.disconnect())})},useHost:uh,useId:function(){const t=Nd();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""},useModel:function(t,e,n=s){const i=Nd(),r=E(e),o=N(e),a=pu(t,r),l=_a((a,l)=>{let u,d,c=s;return ps(()=>{const e=t[r];z(u,e)&&(u=e,l())}),{get:()=>(a(),n.get?n.get(u):u),set(t){const a=n.set?n.set(t):t;if(!(z(a,u)||c!==s&&z(t,c)))return;const h=i.vnode.props,p=!!(h&&(e in h||r in h||o in h)&&(`onUpdate:${e}`in h||`onUpdate:${r}`in h||`onUpdate:${o}`in h));p||(u=t,l()),i.emit(`update:${e}`,a),z(t,c)&&(z(t,a)&&!z(a,d)||p&&c!==s&&!z(a,u))&&l(),c=t,d=a}}});return l[Symbol.iterator]=()=>{let t=0;return{next:()=>t<2?{value:t++?a||s:l,done:!1}:{done:!0}}},l},useSSRContext:cs,useShadowRoot:function(){const t=uh();return t&&t.shadowRoot},useSlots:Yl,useTemplateRef:function(t){const e=Nd(),n=ca(null);if(e){const i=e.refs===s?e.refs={}:e.refs;Object.defineProperty(i,t,{enumerable:!0,get:()=>n.value,set:t=>n.value=t})}return n},useTransitionState:Ls,vModelCheckbox:Ih,vModelDynamic:Eh,vModelRadio:Ah,vModelSelect:Dh,vModelText:Ch,vShow:Nc,version:nc,warn:ic,watch:fs,watchEffect:hs,watchPostEffect:function(t,e){return gs(t,null,{flush:"post"})},watchSyncEffect:ps,withAsyncContext:function(t){const e=Nd(),n=Hd;let i=t();Fd(),n&&Bd(!1);const r=()=>{zd(e),n&&Bd(!0)},o=()=>{Nd()!==e&&e.scope.off(),Fd(),n&&Bd(!1)};return $(i)&&(i=i.catch(t=>{throw r(),Promise.resolve().then(()=>Promise.resolve().then(o)),t})),[i,()=>{r(),Promise.resolve().then(o)}]},withCtx:rs,withDefaults:function(t,e){return null},withDirectives:os,withKeys:Vh,withMemo:function(t,e,n,i){const r=n[i];if(r&&ec(r,t))return r;const o=e();return o.memo=t.slice(),o.cacheIndex=i,n[i]=o},withModifiers:zh,withScopeId:t=>rs},Symbol.toStringTag,{value:"Module"})),tp=Symbol(""),ep=Symbol(""),np=Symbol(""),ip=Symbol(""),rp=Symbol(""),op=Symbol(""),ap=Symbol(""),sp=Symbol(""),lp=Symbol(""),up=Symbol(""),dp=Symbol(""),cp=Symbol(""),hp=Symbol(""),pp=Symbol(""),fp=Symbol(""),gp=Symbol(""),yp=Symbol(""),mp=Symbol(""),vp=Symbol(""),xp=Symbol(""),_p=Symbol(""),bp=Symbol(""),wp=Symbol(""),Sp=Symbol(""),Mp=Symbol(""),$p=Symbol(""),Cp=Symbol(""),Ip=Symbol(""),Tp=Symbol(""),Ap=Symbol(""),Dp=Symbol(""),kp=Symbol(""),Lp=Symbol(""),Op=Symbol(""),Ep=Symbol(""),Pp=Symbol(""),Np=Symbol(""),Rp=Symbol(""),Bp=Symbol(""),zp={[tp]:"Fragment",[ep]:"Teleport",[np]:"Suspense",[ip]:"KeepAlive",[rp]:"BaseTransition",[op]:"openBlock",[ap]:"createBlock",[sp]:"createElementBlock",[lp]:"createVNode",[up]:"createElementVNode",[dp]:"createCommentVNode",[cp]:"createTextVNode",[hp]:"createStaticVNode",[pp]:"resolveComponent",[fp]:"resolveDynamicComponent",[gp]:"resolveDirective",[yp]:"resolveFilter",[mp]:"withDirectives",[vp]:"renderList",[xp]:"renderSlot",[_p]:"createSlots",[bp]:"toDisplayString",[wp]:"mergeProps",[Sp]:"normalizeClass",[Mp]:"normalizeStyle",[$p]:"normalizeProps",[Cp]:"guardReactiveProps",[Ip]:"toHandlers",[Tp]:"camelize",[Ap]:"capitalize",[Dp]:"toHandlerKey",[kp]:"setBlockTracking",[Lp]:"pushScopeId",[Op]:"popScopeId",[Ep]:"withCtx",[Pp]:"unref",[Np]:"isRef",[Rp]:"withMemo",[Bp]:"isMemoSame"};const Fp={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Vp(t,e,n,i,r,o,a,s=!1,l=!1,u=!1,d=Fp){return t&&(s?(t.helper(op),t.helper(Kp(t.inSSR,u))):t.helper(qp(t.inSSR,u)),a&&t.helper(mp)),{type:13,tag:e,props:n,children:i,patchFlag:r,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:u,loc:d}}function Gp(t,e=Fp){return{type:17,loc:e,elements:t}}function Wp(t,e=Fp){return{type:15,loc:e,properties:t}}function Hp(t,e){return{type:16,loc:Fp,key:w(t)?jp(t,!0):t,value:e}}function jp(t,e=!1,n=Fp,i=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:i}}function Up(t,e=Fp){return{type:8,loc:e,children:t}}function Yp(t,e=[],n=Fp){return{type:14,loc:n,callee:t,arguments:e}}function Xp(t,e=void 0,n=!1,i=!1,r=Fp){return{type:18,params:t,returns:e,newline:n,isSlot:i,loc:r}}function Zp(t,e,n,i=!0){return{type:19,test:t,consequent:e,alternate:n,newline:i,loc:Fp}}function qp(t,e){return t||e?lp:up}function Kp(t,e){return t||e?ap:sp}function Jp(t,{helper:e,removeHelper:n,inSSR:i}){t.isBlock||(t.isBlock=!0,n(qp(i,t.isComponent)),e(op),e(Kp(i,t.isComponent)))}const Qp=new Uint8Array([123,123]),tf=new Uint8Array([125,125]);function ef(t){return t>=97&&t<=122||t>=65&&t<=90}function nf(t){return 32===t||10===t||9===t||12===t||13===t}function rf(t){return 47===t||62===t||nf(t)}function of(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const af={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function sf(t,{compatConfig:e}){const n=e&&e[t];return"MODE"===t?n||3:n}function lf(t,e){const n=sf("MODE",e),i=sf(t,e);return 3===n?!0===i:!1!==i}function uf(t,e,n,...i){return lf(t,e)}function df(t){throw t}function cf(t){}function hf(t,e,n,i){const r=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${t}`));return r.code=t,r.loc=e,r}const pf=t=>4===t.type&&t.isStatic;function ff(t){switch(t){case"Teleport":case"teleport":return ep;case"Suspense":case"suspense":return np;case"KeepAlive":case"keep-alive":return ip;case"BaseTransition":case"base-transition":return rp}}const gf=/^$|^\d|[^\$\w\xA0-\uFFFF]/,yf=t=>!gf.test(t),mf=/[A-Za-z_$\xA0-\uFFFF]/,vf=/[\.\?\w$\xA0-\uFFFF]/,xf=/\s+[.[]\s*|\s*[.[]\s+/g,_f=t=>4===t.type?t.content:t.loc.source,bf=t=>{const e=_f(t).trim().replace(xf,t=>t.trim());let n=0,i=[],r=0,o=0,a=null;for(let s=0;s<e.length;s++){const t=e.charAt(s);switch(n){case 0:if("["===t)i.push(n),n=1,r++;else if("("===t)i.push(n),n=2,o++;else if(!(0===s?mf:vf).test(t))return!1;break;case 1:"'"===t||'"'===t||"`"===t?(i.push(n),n=3,a=t):"["===t?r++:"]"===t&&(--r||(n=i.pop()));break;case 2:if("'"===t||'"'===t||"`"===t)i.push(n),n=3,a=t;else if("("===t)o++;else if(")"===t){if(s===e.length-1)return!1;--o||(n=i.pop())}break;case 3:t===a&&(n=i.pop(),a=null)}}return!r&&!o},wf=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Sf=t=>wf.test(_f(t));function Mf(t,e,n=!1){for(let i=0;i<t.props.length;i++){const r=t.props[i];if(7===r.type&&(n||r.exp)&&(w(e)?r.name===e:e.test(r.name)))return r}}function $f(t,e,n=!1,i=!1){for(let r=0;r<t.props.length;r++){const o=t.props[r];if(6===o.type){if(n)continue;if(o.name===e&&(o.value||i))return o}else if("bind"===o.name&&(o.exp||i)&&Cf(o.arg,e))return o}}function Cf(t,e){return!(!t||!pf(t)||t.content!==e)}function If(t){return 5===t.type||2===t.type}function Tf(t){return 7===t.type&&"pre"===t.name}function Af(t){return 7===t.type&&"slot"===t.name}function Df(t){return 1===t.type&&3===t.tagType}function kf(t){return 1===t.type&&2===t.tagType}const Lf=new Set([$p,Cp]);function Of(t,e=[]){if(t&&!w(t)&&14===t.type){const n=t.callee;if(!w(n)&&Lf.has(n))return Of(t.arguments[0],e.concat(t))}return[t,e]}function Ef(t,e,n){let i,r,o=13===t.type?t.props:t.arguments[2],a=[];if(o&&!w(o)&&14===o.type){const t=Of(o);o=t[0],a=t[1],r=a[a.length-1]}if(null==o||w(o))i=Wp([e]);else if(14===o.type){const t=o.arguments[0];w(t)||15!==t.type?o.callee===Ip?i=Yp(n.helper(wp),[Wp([e]),o]):o.arguments.unshift(Wp([e])):Pf(e,t)||t.properties.unshift(e),!i&&(i=o)}else 15===o.type?(Pf(e,o)||o.properties.unshift(e),i=o):(i=Yp(n.helper(wp),[Wp([e]),o]),r&&r.callee===Cp&&(r=a[a.length-2]));13===t.type?r?r.arguments[0]=i:t.props=i:r?r.arguments[0]=i:t.arguments[2]=i}function Pf(t,e){let n=!1;if(4===t.key.type){const i=t.key.content;n=e.properties.some(t=>4===t.key.type&&t.key.content===i)}return n}function Nf(t,e){return`_${e}_${t.replace(/[^\w]/g,(e,n)=>"-"===e?"_":t.charCodeAt(n).toString())}`}const Rf=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Bf(t){for(let e=0;e<t.length;e++)if(!nf(t.charCodeAt(e)))return!1;return!0}function zf(t){return 2===t.type&&Bf(t.content)||12===t.type&&zf(t.content)}function Ff(t){return 3===t.type||zf(t)}const Vf={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:d,isPreTag:d,isIgnoreNewlineTag:d,isCustomElement:d,onError:df,onWarn:cf,comments:!1,prefixIdentifiers:!1};let Gf=Vf,Wf=null,Hf="",jf=null,Uf=null,Yf="",Xf=-1,Zf=-1,qf=0,Kf=!1,Jf=null;const Qf=[],tg=new class{constructor(t,e){this.stack=t,this.cbs=e,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Qp,this.delimiterClose=tf,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Qp,this.delimiterClose=tf}getPos(t){let e=1,n=t+1;const i=this.newlines.length;let r=-1;if(i>100){let e=-1,n=i;for(;e+1<n;){const i=e+n>>>1;this.newlines[i]<t?e=i:n=i}r=e}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(e=r+2,n=t-this.newlines[r]),{column:n,line:e,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){60===t?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||t!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const t=this.index+1-this.delimiterOpen.length;t>this.sectionStart&&this.cbs.ontext(this.sectionStart,t),this.state=3,this.sectionStart=t}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?rf(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(62===t||nf(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart<e){const t=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=t}return this.sectionStart=e+2,this.stateInClosingTagName(t),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|t)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===af.TitleEnd||this.currentSequence===af.TextareaEnd&&!this.inSFCRoot?this.inVPre||t!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===t)}stateCDATASequence(t){t===af.Cdata[this.sequenceIndex]?++this.sequenceIndex===af.Cdata.length&&(this.state=28,this.currentSequence=af.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);if(10===e&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===af.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,e){this.enterRCDATA(t,e),this.state=31}enterRCDATA(t,e){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=e}stateBeforeTagName(t){33===t?(this.state=22,this.sectionStart=this.index+1):63===t?(this.state=24,this.sectionStart=this.index+1):ef(t)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===t?30:115===t?29:6):47===t?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){rf(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(rf(t)){const e=this.buffer.slice(this.sectionStart,this.index);"template"!==e&&this.enterRCDATA(of("</"+e),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){nf(t)||(62===t?(this.state=1,this.sectionStart=this.index+1):(this.state=ef(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(62===t||nf(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){62===t&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){62===t?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===t?this.state=7:60===t&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):nf(t)||this.handleAttrStart(t)}handleAttrStart(t){118===t&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===t||58===t||64===t||35===t?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){62===t?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):nf(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(61===t||rf(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){61===t||rf(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):58===t?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===t&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){61===t||rf(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):91===t?this.state=15:46===t&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){93===t?this.state=14:(61===t||rf(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){61===t||rf(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):46===t&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){61===t?this.state=18:47===t||62===t?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):nf(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){34===t?(this.state=19,this.sectionStart=this.index+1):39===t?(this.state=20,this.sectionStart=this.index+1):nf(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,e){(t===e||this.fastForwardTo(e))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===e?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){nf(t)||62===t?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):39!==t&&60!==t&&61!==t&&96!==t||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){91===t?(this.state=26,this.sequenceIndex=0):this.state=45===t?25:23}stateInDeclaration(t){(62===t||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(62===t||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){45===t?(this.state=28,this.currentSequence=af.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(62===t||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===af.ScriptEnd[3]?this.startSpecial(af.ScriptEnd,4):t===af.StyleEnd[3]?this.startSpecial(af.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===af.TitleEnd[3]?this.startSpecial(af.TitleEnd,4):t===af.TextareaEnd[3]?this.startSpecial(af.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);switch(10===t&&33!==this.state&&this.newlines.push(this.index),this.state){case 1:this.stateText(t);break;case 2:this.stateInterpolationOpen(t);break;case 3:this.stateInterpolation(t);break;case 4:this.stateInterpolationClose(t);break;case 31:this.stateSpecialStartSequence(t);break;case 32:this.stateInRCDATA(t);break;case 26:this.stateCDATASequence(t);break;case 19:this.stateInAttrValueDoubleQuotes(t);break;case 12:this.stateInAttrName(t);break;case 13:this.stateInDirName(t);break;case 14:this.stateInDirArg(t);break;case 15:this.stateInDynamicDirArg(t);break;case 16:this.stateInDirModifier(t);break;case 28:this.stateInCommentLike(t);break;case 27:this.stateInSpecialComment(t);break;case 11:this.stateBeforeAttrName(t);break;case 6:this.stateInTagName(t);break;case 34:this.stateInSFCRootTagName(t);break;case 9:this.stateInClosingTagName(t);break;case 5:this.stateBeforeTagName(t);break;case 17:this.stateAfterAttrName(t);break;case 20:this.stateInAttrValueSingleQuotes(t);break;case 18:this.stateBeforeAttrValue(t);break;case 8:this.stateBeforeClosingTagName(t);break;case 10:this.stateAfterClosingTagName(t);break;case 29:this.stateBeforeSpecialS(t);break;case 30:this.stateBeforeSpecialT(t);break;case 21:this.stateInAttrValueNoQuotes(t);break;case 7:this.stateInSelfClosingTag(t);break;case 23:this.stateInDeclaration(t);break;case 22:this.stateBeforeDeclaration(t);break;case 25:this.stateBeforeComment(t);break;case 24:this.stateInProcessingInstruction(t);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(28===this.state?this.currentSequence===af.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){}}(Qf,{onerr:_g,ontext(t,e){og(ig(t,e),t,e)},ontextentity(t,e,n){og(t,e,n)},oninterpolation(t,e){if(Kf)return og(ig(t,e),t,e);let n=t+tg.delimiterOpen.length,i=e-tg.delimiterClose.length;for(;nf(Hf.charCodeAt(n));)n++;for(;nf(Hf.charCodeAt(i-1));)i--;let r=ig(n,i);r.includes("&")&&(r=Gf.decodeEntities(r,!1)),fg({type:5,content:xg(r,!1,gg(n,i)),loc:gg(t,e)})},onopentagname(t,e){const n=ig(t,e);jf={type:1,tag:n,ns:Gf.getNamespace(n,Qf[0],Gf.ns),tagType:0,props:[],children:[],loc:gg(t-1,e),codegenNode:void 0}},onopentagend(t){rg(t)},onclosetag(t,e){const n=ig(t,e);if(!Gf.isVoidTag(n)){let i=!1;for(let t=0;t<Qf.length;t++){if(Qf[t].tag.toLowerCase()===n.toLowerCase()){i=!0,t>0&&_g(24,Qf[0].loc.start.offset);for(let n=0;n<=t;n++){ag(Qf.shift(),e,n<t)}break}}i||_g(23,sg(t,60))}},onselfclosingtag(t){const e=jf.tag;jf.isSelfClosing=!0,rg(t),Qf[0]&&Qf[0].tag===e&&ag(Qf.shift(),t)},onattribname(t,e){Uf={type:6,name:ig(t,e),nameLoc:gg(t,e),value:void 0,loc:gg(t)}},ondirname(t,e){const n=ig(t,e),i="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Kf||""!==i||_g(26,t),Kf||""===i)Uf={type:6,name:n,nameLoc:gg(t,e),value:void 0,loc:gg(t)};else if(Uf={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?[jp("prop")]:[],loc:gg(t)},"pre"===i){Kf=tg.inVPre=!0,Jf=jf;const t=jf.props;for(let e=0;e<t.length;e++)7===t[e].type&&(t[e]=vg(t[e]))}},ondirarg(t,e){if(t===e)return;const n=ig(t,e);if(Kf&&!Tf(Uf))Uf.name+=n,mg(Uf.nameLoc,e);else{const i="["!==n[0];Uf.arg=xg(i?n:n.slice(1,-1),i,gg(t,e),i?3:0)}},ondirmodifier(t,e){const n=ig(t,e);if(Kf&&!Tf(Uf))Uf.name+="."+n,mg(Uf.nameLoc,e);else if("slot"===Uf.name){const t=Uf.arg;t&&(t.content+="."+n,mg(t.loc,e))}else{const i=jp(n,!0,gg(t,e));Uf.modifiers.push(i)}},onattribdata(t,e){Yf+=ig(t,e),Xf<0&&(Xf=t),Zf=e},onattribentity(t,e,n){Yf+=t,Xf<0&&(Xf=e),Zf=n},onattribnameend(t){const e=Uf.loc.start.offset,n=ig(e,t);7===Uf.type&&(Uf.rawName=n),jf.props.some(t=>(7===t.type?t.rawName:t.name)===n)&&_g(2,e)},onattribend(t,e){if(jf&&Uf){if(mg(Uf.loc,e),0!==t)if(Yf.includes("&")&&(Yf=Gf.decodeEntities(Yf,!0)),6===Uf.type)"class"===Uf.name&&(Yf=pg(Yf).trim()),1!==t||Yf||_g(13,e),Uf.value={type:2,content:Yf,loc:1===t?gg(Xf,Zf):gg(Xf-1,Zf+1)},tg.inSFCRoot&&"template"===jf.tag&&"lang"===Uf.name&&Yf&&"html"!==Yf&&tg.enterRCDATA(of("</template"),0);else{let t=0;Uf.exp=xg(Yf,!1,gg(Xf,Zf),0,t),"for"===Uf.name&&(Uf.forParseResult=function(t){const e=t.loc,n=t.content,i=n.match(Rf);if(!i)return;const[,r,o]=i,a=(t,n,i=!1)=>{const r=e.start.offset+n;return xg(t,!1,gg(r,r+t.length),0,i?1:0)},s={source:a(o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=r.trim().replace(ng,"").trim();const u=r.indexOf(l),d=l.match(eg);if(d){l=l.replace(eg,"").trim();const t=d[1].trim();let e;if(t&&(e=n.indexOf(t,u+l.length),s.key=a(t,e,!0)),d[2]){const i=d[2].trim();i&&(s.index=a(i,n.indexOf(i,s.key?e+t.length:u+l.length),!0))}}l&&(s.value=a(l,u,!0));return s}(Uf.exp));let e=-1;"bind"===Uf.name&&(e=Uf.modifiers.findIndex(t=>"sync"===t.content))>-1&&uf("COMPILER_V_BIND_SYNC",Gf,Uf.loc,Uf.arg.loc.source)&&(Uf.name="model",Uf.modifiers.splice(e,1))}7===Uf.type&&"pre"===Uf.name||jf.props.push(Uf)}Yf="",Xf=Zf=-1},oncomment(t,e){Gf.comments&&fg({type:3,content:ig(t,e),loc:gg(t-4,e+3)})},onend(){const t=Hf.length;for(let e=0;e<Qf.length;e++)ag(Qf[e],t-1),_g(24,Qf[e].loc.start.offset)},oncdata(t,e){0!==(Qf[0]?Qf[0].ns:Gf.ns)?og(ig(t,e),t,e):_g(1,t-9)},onprocessinginstruction(t){0===(Qf[0]?Qf[0].ns:Gf.ns)&&_g(21,t-1)}}),eg=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ng=/^\(|\)$/g;function ig(t,e){return Hf.slice(t,e)}function rg(t){tg.inSFCRoot&&(jf.innerLoc=gg(t+1,t+1)),fg(jf);const{tag:e,ns:n}=jf;0===n&&Gf.isPreTag(e)&&qf++,Gf.isVoidTag(e)?ag(jf,t):(Qf.unshift(jf),1!==n&&2!==n||(tg.inXML=!0)),jf=null}function og(t,e,n){{const e=Qf[0]&&Qf[0].tag;"script"!==e&&"style"!==e&&t.includes("&")&&(t=Gf.decodeEntities(t,!1))}const i=Qf[0]||Wf,r=i.children[i.children.length-1];r&&2===r.type?(r.content+=t,mg(r.loc,n)):i.children.push({type:2,content:t,loc:gg(e,n)})}function ag(t,e,n=!1){mg(t.loc,n?sg(e,60):function(t,e){let n=t;for(;Hf.charCodeAt(n)!==e&&n<Hf.length-1;)n++;return n}(e,62)+1),tg.inSFCRoot&&(t.children.length?t.innerLoc.end=p({},t.children[t.children.length-1].loc.end):t.innerLoc.end=p({},t.innerLoc.start),t.innerLoc.source=ig(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:r,children:o}=t;if(Kf||("slot"===i?t.tagType=2:ug(t)?t.tagType=3:function({tag:t,props:e}){if(Gf.isCustomElement(t))return!1;if("component"===t||(n=t.charCodeAt(0),n>64&&n<91)||ff(t)||Gf.isBuiltInComponent&&Gf.isBuiltInComponent(t)||Gf.isNativeTag&&!Gf.isNativeTag(t))return!0;var n;for(let i=0;i<e.length;i++){const t=e[i];if(6===t.type){if("is"===t.name&&t.value){if(t.value.content.startsWith("vue:"))return!0;if(uf("COMPILER_IS_ON_ELEMENT",Gf,t.loc))return!0}}else if("bind"===t.name&&Cf(t.arg,"is")&&uf("COMPILER_IS_ON_ELEMENT",Gf,t.loc))return!0}return!1}(t)&&(t.tagType=1)),tg.inRCDATA||(t.children=cg(o)),0===r&&Gf.isIgnoreNewlineTag(i)){const t=o[0];t&&2===t.type&&(t.content=t.content.replace(/^\r?\n/,""))}0===r&&Gf.isPreTag(i)&&qf--,Jf===t&&(Kf=tg.inVPre=!1,Jf=null),tg.inXML&&0===(Qf[0]?Qf[0].ns:Gf.ns)&&(tg.inXML=!1);{const e=t.props;if(!tg.inSFCRoot&&lf("COMPILER_NATIVE_TEMPLATE",Gf)&&"template"===t.tag&&!ug(t)){const e=Qf[0]||Wf,n=e.children.indexOf(t);e.children.splice(n,1,...t.children)}const n=e.find(t=>6===t.type&&"inline-template"===t.name);n&&uf("COMPILER_INLINE_TEMPLATE",Gf,n.loc)&&t.children.length&&(n.value={type:2,content:ig(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:n.loc})}}function sg(t,e){let n=t;for(;Hf.charCodeAt(n)!==e&&n>=0;)n--;return n}const lg=new Set(["if","else","else-if","for","slot"]);function ug({tag:t,props:e}){if("template"===t)for(let n=0;n<e.length;n++)if(7===e[n].type&&lg.has(e[n].name))return!0;return!1}const dg=/\r\n/g;function cg(t){const e="preserve"!==Gf.whitespace;let n=!1;for(let i=0;i<t.length;i++){const r=t[i];if(2===r.type)if(qf)r.content=r.content.replace(dg,"\n");else if(Bf(r.content)){const o=t[i-1]&&t[i-1].type,a=t[i+1]&&t[i+1].type;!o||!a||e&&(3===o&&(3===a||1===a)||1===o&&(3===a||1===a&&hg(r.content)))?(n=!0,t[i]=null):r.content=" "}else e&&(r.content=pg(r.content))}return n?t.filter(Boolean):t}function hg(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(10===n||13===n)return!0}return!1}function pg(t){let e="",n=!1;for(let i=0;i<t.length;i++)nf(t.charCodeAt(i))?n||(e+=" ",n=!0):(e+=t[i],n=!1);return e}function fg(t){(Qf[0]||Wf).children.push(t)}function gg(t,e){return{start:tg.getPos(t),end:null==e?e:tg.getPos(e),source:null==e?e:ig(t,e)}}function yg(t){return gg(t.start.offset,t.end.offset)}function mg(t,e){t.end=tg.getPos(e),t.source=ig(t.start.offset,e)}function vg(t){const e={type:6,name:t.rawName,nameLoc:gg(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function xg(t,e=!1,n,i=0,r=0){return jp(t,e,n,i)}function _g(t,e,n){Gf.onError(hf(t,gg(e,e)))}function bg(t,e){if(tg.reset(),jf=null,Uf=null,Yf="",Xf=-1,Zf=-1,Qf.length=0,Hf=t,Gf=p({},Vf),e){let t;for(t in e)null!=e[t]&&(Gf[t]=e[t])}tg.mode="html"===Gf.parseMode?1:"sfc"===Gf.parseMode?2:0,tg.inXML=1===Gf.ns||2===Gf.ns;const n=e&&e.delimiters;n&&(tg.delimiterOpen=of(n[0]),tg.delimiterClose=of(n[1]));const i=Wf=function(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Fp}}([],t);return tg.parse(Hf),i.loc=gg(0,t.length),i.children=cg(i.children),Wf=null,i}function wg(t,e){Mg(t,void 0,e,!!Sg(t))}function Sg(t){const e=t.children.filter(t=>3!==t.type);return 1!==e.length||1!==e[0].type||kf(e[0])?null:e[0]}function Mg(t,e,n,i=!1,r=!1){const{children:o}=t,a=[];for(let d=0;d<o.length;d++){const e=o[d];if(1===e.type&&0===e.tagType){const t=i?0:$g(e,n);if(t>0){if(t>=2){e.codegenNode.patchFlag=-1,a.push(e);continue}}else{const t=e.codegenNode;if(13===t.type){const i=t.patchFlag;if((void 0===i||512===i||1===i)&&Tg(e,n)>=2){const i=Ag(e);i&&(t.props=n.hoist(i))}t.dynamicProps&&(t.dynamicProps=n.hoist(t.dynamicProps))}}}else if(12===e.type){if((i?0:$g(e,n))>=2){14===e.codegenNode.type&&e.codegenNode.arguments.length>0&&e.codegenNode.arguments.push("-1"),a.push(e);continue}}if(1===e.type){const i=1===e.tagType;i&&n.scopes.vSlot++,Mg(e,t,n,!1,r),i&&n.scopes.vSlot--}else if(11===e.type)Mg(e,t,n,1===e.children.length,!0);else if(9===e.type)for(let i=0;i<e.branches.length;i++)Mg(e.branches[i],t,n,1===e.branches[i].children.length,r)}let s=!1;if(a.length===o.length&&1===t.type)if(0===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&m(t.codegenNode.children))t.codegenNode.children=l(Gp(t.codegenNode.children)),s=!0;else if(1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!m(t.codegenNode.children)&&15===t.codegenNode.children.type){const e=u(t.codegenNode,"default");e&&(e.returns=l(Gp(e.returns)),s=!0)}else if(3===t.tagType&&e&&1===e.type&&1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!m(e.codegenNode.children)&&15===e.codegenNode.children.type){const n=Mf(t,"slot",!0),i=n&&n.arg&&u(e.codegenNode,n.arg);i&&(i.returns=l(Gp(i.returns)),s=!0)}if(!s)for(const d of a)d.codegenNode=n.cache(d.codegenNode);function l(t){const e=n.cache(t);return e.needArraySpread=!0,e}function u(t,e){if(t.children&&!m(t.children)&&15===t.children.type){const n=t.children.properties.find(t=>t.key===e||t.key.content===e);return n&&n.value}}a.length&&n.transformHoist&&n.transformHoist(o,n,t)}function $g(t,e){const{constantCache:n}=e;switch(t.type){case 1:if(0!==t.tagType)return 0;const i=n.get(t);if(void 0!==i)return i;const r=t.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==t.tag&&"foreignObject"!==t.tag&&"math"!==t.tag)return 0;if(void 0===r.patchFlag){let i=3;const o=Tg(t,e);if(0===o)return n.set(t,0),0;o<i&&(i=o);for(let r=0;r<t.children.length;r++){const o=$g(t.children[r],e);if(0===o)return n.set(t,0),0;o<i&&(i=o)}if(i>1)for(let r=0;r<t.props.length;r++){const o=t.props[r];if(7===o.type&&"bind"===o.name&&o.exp){const r=$g(o.exp,e);if(0===r)return n.set(t,0),0;r<i&&(i=r)}}if(r.isBlock){for(let e=0;e<t.props.length;e++){if(7===t.props[e].type)return n.set(t,0),0}e.removeHelper(op),e.removeHelper(Kp(e.inSSR,r.isComponent)),r.isBlock=!1,e.helper(qp(e.inSSR,r.isComponent))}return n.set(t,i),i}return n.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return $g(t.content,e);case 4:return t.constType;case 8:let o=3;for(let n=0;n<t.children.length;n++){const i=t.children[n];if(w(i)||S(i))continue;const r=$g(i,e);if(0===r)return 0;r<o&&(o=r)}return o;case 20:return 2}}const Cg=new Set([Sp,Mp,$p,Cp]);function Ig(t,e){if(14===t.type&&!w(t.callee)&&Cg.has(t.callee)){const n=t.arguments[0];if(4===n.type)return $g(n,e);if(14===n.type)return Ig(n,e)}return 0}function Tg(t,e){let n=3;const i=Ag(t);if(i&&15===i.type){const{properties:t}=i;for(let i=0;i<t.length;i++){const{key:r,value:o}=t[i],a=$g(r,e);if(0===a)return a;let s;if(a<n&&(n=a),s=4===o.type?$g(o,e):14===o.type?Ig(o,e):0,0===s)return s;s<n&&(n=s)}}return n}function Ag(t){const e=t.codegenNode;if(13===e.type)return e.props}function Dg(t,{filename:e="",prefixIdentifiers:n=!1,hoistStatic:i=!1,hmr:r=!1,cacheHandlers:o=!1,nodeTransforms:a=[],directiveTransforms:l={},transformHoist:d=null,isBuiltInComponent:c=u,isCustomElement:h=u,expressionPlugins:p=[],scopeId:f=null,slotted:g=!0,ssr:y=!1,inSSR:m=!1,ssrCssVars:v="",bindingMetadata:x=s,inline:_=!1,isTS:b=!1,onError:S=df,onWarn:M=cf,compatConfig:$}){const C=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),I={filename:e,selfName:C&&R(E(C[1])),prefixIdentifiers:n,hoistStatic:i,hmr:r,cacheHandlers:o,nodeTransforms:a,directiveTransforms:l,transformHoist:d,isBuiltInComponent:c,isCustomElement:h,expressionPlugins:p,scopeId:f,slotted:g,ssr:y,inSSR:m,ssrCssVars:v,bindingMetadata:x,inline:_,isTS:b,onError:S,onWarn:M,compatConfig:$,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(t){const e=I.helpers.get(t)||0;return I.helpers.set(t,e+1),t},removeHelper(t){const e=I.helpers.get(t);if(e){const n=e-1;n?I.helpers.set(t,n):I.helpers.delete(t)}},helperString:t=>`_${zp[I.helper(t)]}`,replaceNode(t){I.parent.children[I.childIndex]=I.currentNode=t},removeNode(t){const e=I.parent.children,n=t?e.indexOf(t):I.currentNode?I.childIndex:-1;t&&t!==I.currentNode?I.childIndex>n&&(I.childIndex--,I.onNodeRemoved()):(I.currentNode=null,I.onNodeRemoved()),I.parent.children.splice(n,1)},onNodeRemoved:u,addIdentifiers(t){},removeIdentifiers(t){},hoist(t){w(t)&&(t=jp(t)),I.hoists.push(t);const e=jp(`_hoisted_${I.hoists.length}`,!1,t.loc,2);return e.hoisted=t,e},cache(t,e=!1,n=!1){const i=function(t,e,n=!1,i=!1){return{type:20,index:t,value:e,needPauseTracking:n,inVOnce:i,needArraySpread:!1,loc:Fp}}(I.cached.length,t,e,n);return I.cached.push(i),i}};return I.filters=new Set,I}function kg(t,e){const n=Dg(t,e);Lg(t,n),e.hoistStatic&&wg(t,n),e.ssr||function(t,e){const{helper:n}=e,{children:i}=t;if(1===i.length){const n=Sg(t);if(n&&n.codegenNode){const i=n.codegenNode;13===i.type&&Jp(i,e),t.codegenNode=i}else t.codegenNode=i[0]}else if(i.length>1){let i=64;t.codegenNode=Vp(e,n(tp),void 0,t.children,i,void 0,void 0,!0,void 0,!1)}}(t,n),t.helpers=new Set([...n.helpers.keys()]),t.components=[...n.components],t.directives=[...n.directives],t.imports=n.imports,t.hoists=n.hoists,t.temps=n.temps,t.cached=n.cached,t.transformed=!0,t.filters=[...n.filters]}function Lg(t,e){e.currentNode=t;const{nodeTransforms:n}=e,i=[];for(let o=0;o<n.length;o++){const r=n[o](t,e);if(r&&(m(r)?i.push(...r):i.push(r)),!e.currentNode)return;t=e.currentNode}switch(t.type){case 3:e.ssr||e.helper(dp);break;case 5:e.ssr||e.helper(bp);break;case 9:for(let n=0;n<t.branches.length;n++)Lg(t.branches[n],e);break;case 10:case 11:case 1:case 0:!function(t,e){let n=0;const i=()=>{n--};for(;n<t.children.length;n++){const r=t.children[n];w(r)||(e.grandParent=e.parent,e.parent=t,e.childIndex=n,e.onNodeRemoved=i,Lg(r,e))}}(t,e)}e.currentNode=t;let r=i.length;for(;r--;)i[r]()}function Og(t,e){const n=w(t)?e=>e===t:e=>t.test(e);return(t,i)=>{if(1===t.type){const{props:r}=t;if(3===t.tagType&&r.some(Af))return;const o=[];for(let a=0;a<r.length;a++){const s=r[a];if(7===s.type&&n(s.name)){r.splice(a,1),a--;const n=e(t,s,i);n&&o.push(n)}}return o}}}const Eg="/*@__PURE__*/",Pg=t=>`${zp[t]}: _${zp[t]}`;function Ng(t,e={}){const n=function(t,{mode:e="function",prefixIdentifiers:n="module"===e,sourceMap:i=!1,filename:r="template.vue.html",scopeId:o=null,optimizeImports:a=!1,runtimeGlobalName:s="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:d=!1,isTS:c=!1,inSSR:h=!1}){const p={mode:e,prefixIdentifiers:n,sourceMap:i,filename:r,scopeId:o,optimizeImports:a,runtimeGlobalName:s,runtimeModuleName:l,ssrRuntimeModuleName:u,ssr:d,isTS:c,inSSR:h,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:t=>`_${zp[t]}`,push(t,e=-2,n){p.code+=t},indent(){f(++p.indentLevel)},deindent(t=!1){t?--p.indentLevel:f(--p.indentLevel)},newline(){f(p.indentLevel)}};function f(t){p.push("\n"+" ".repeat(t),0)}return p}(t,e);e.onContextCreated&&e.onContextCreated(n);const{mode:i,push:r,prefixIdentifiers:o,indent:a,deindent:s,newline:l,scopeId:u,ssr:d}=n,c=Array.from(t.helpers),h=c.length>0,p=!o&&"module"!==i;!function(t,e){const{ssr:n,prefixIdentifiers:i,push:r,newline:o,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:l}=e,u=s,d=Array.from(t.helpers);if(d.length>0&&(r(`const _Vue = ${u}\n`,-1),t.hoists.length)){r(`const { ${[lp,up,dp,cp,hp].filter(t=>d.includes(t)).map(Pg).join(", ")} } = _Vue\n`,-1)}(function(t,e){if(!t.length)return;e.pure=!0;const{push:n,newline:i}=e;i();for(let r=0;r<t.length;r++){const o=t[r];o&&(n(`const _hoisted_${r+1} = `),Fg(o,e),i())}e.pure=!1})(t.hoists,e),o(),r("return ")}(t,n);if(r(`function ${d?"ssrRender":"render"}(${(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),p&&(r("with (_ctx) {"),a(),h&&(r(`const { ${c.map(Pg).join(", ")} } = _Vue\n`,-1),l())),t.components.length&&(Rg(t.components,"component",n),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(Rg(t.directives,"directive",n),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),Rg(t.filters,"filter",n),l()),t.temps>0){r("let ");for(let e=0;e<t.temps;e++)r(`${e>0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(r("\n",0),l()),d||r("return "),t.codegenNode?Fg(t.codegenNode,n):r("null"),p&&(s(),r("}")),s(),r("}"),{ast:t,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Rg(t,e,{helper:n,push:i,newline:r,isTS:o}){const a=n("filter"===e?yp:"component"===e?pp:gp);for(let s=0;s<t.length;s++){let n=t[s];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),i(`const ${Nf(n,e)} = ${a}(${JSON.stringify(n)}${l?", true":""})${o?"!":""}`),s<t.length-1&&r()}}function Bg(t,e){const n=t.length>3||!1;e.push("["),n&&e.indent(),zg(t,e,n),n&&e.deindent(),e.push("]")}function zg(t,e,n=!1,i=!0){const{push:r,newline:o}=e;for(let a=0;a<t.length;a++){const s=t[a];w(s)?r(s,-3):m(s)?Bg(s,e):Fg(s,e),a<t.length-1&&(n?(i&&r(","),o()):i&&r(", "))}}function Fg(t,e){if(w(t))e.push(t,-3);else if(S(t))e.push(e.helper(t));else switch(t.type){case 1:case 9:case 11:case 12:Fg(t.codegenNode,e);break;case 2:!function(t,e){e.push(JSON.stringify(t.content),-3,t)}(t,e);break;case 4:Vg(t,e);break;case 5:!function(t,e){const{push:n,helper:i,pure:r}=e;r&&n(Eg);n(`${i(bp)}(`),Fg(t.content,e),n(")")}(t,e);break;case 8:Gg(t,e);break;case 3:!function(t,e){const{push:n,helper:i,pure:r}=e;r&&n(Eg);n(`${i(dp)}(${JSON.stringify(t.content)})`,-3,t)}(t,e);break;case 13:!function(t,e){const{push:n,helper:i,pure:r}=e,{tag:o,props:a,children:s,patchFlag:l,dynamicProps:u,directives:d,isBlock:c,disableTracking:h,isComponent:p}=t;let f;l&&(f=String(l));d&&n(i(mp)+"(");c&&n(`(${i(op)}(${h?"true":""}), `);r&&n(Eg);const g=c?Kp(e.inSSR,p):qp(e.inSSR,p);n(i(g)+"(",-2,t),zg(function(t){let e=t.length;for(;e--&&null==t[e];);return t.slice(0,e+1).map(t=>t||"null")}([o,a,s,f,u]),e),n(")"),c&&n(")");d&&(n(", "),Fg(d,e),n(")"))}(t,e);break;case 14:!function(t,e){const{push:n,helper:i,pure:r}=e,o=w(t.callee)?t.callee:i(t.callee);r&&n(Eg);n(o+"(",-2,t),zg(t.arguments,e),n(")")}(t,e);break;case 15:!function(t,e){const{push:n,indent:i,deindent:r,newline:o}=e,{properties:a}=t;if(!a.length)return void n("{}",-2,t);const s=a.length>1||!1;n(s?"{":"{ "),s&&i();for(let l=0;l<a.length;l++){const{key:t,value:i}=a[l];Wg(t,e),n(": "),Fg(i,e),l<a.length-1&&(n(","),o())}s&&r(),n(s?"}":" }")}(t,e);break;case 17:!function(t,e){Bg(t.elements,e)}(t,e);break;case 18:!function(t,e){const{push:n,indent:i,deindent:r}=e,{params:o,returns:a,body:s,newline:l,isSlot:u}=t;u&&n(`_${zp[Ep]}(`);n("(",-2,t),m(o)?zg(o,e):o&&Fg(o,e);n(") => "),(l||s)&&(n("{"),i());a?(l&&n("return "),m(a)?Bg(a,e):Fg(a,e)):s&&Fg(s,e);(l||s)&&(r(),n("}"));u&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}(t,e);break;case 19:!function(t,e){const{test:n,consequent:i,alternate:r,newline:o}=t,{push:a,indent:s,deindent:l,newline:u}=e;if(4===n.type){const t=!yf(n.content);t&&a("("),Vg(n,e),t&&a(")")}else a("("),Fg(n,e),a(")");o&&s(),e.indentLevel++,o||a(" "),a("? "),Fg(i,e),e.indentLevel--,o&&u(),o||a(" "),a(": ");const d=19===r.type;d||e.indentLevel++;Fg(r,e),d||e.indentLevel--;o&&l(!0)}(t,e);break;case 20:!function(t,e){const{push:n,helper:i,indent:r,deindent:o,newline:a}=e,{needPauseTracking:s,needArraySpread:l}=t;l&&n("[...(");n(`_cache[${t.index}] || (`),s&&(r(),n(`${i(kp)}(-1`),t.inVOnce&&n(", true"),n("),"),a(),n("("));n(`_cache[${t.index}] = `),Fg(t.value,e),s&&(n(`).cacheIndex = ${t.index},`),a(),n(`${i(kp)}(1),`),a(),n(`_cache[${t.index}]`),o());n(")"),l&&n(")]")}(t,e);break;case 21:zg(t.body,e,!0,!1)}}function Vg(t,e){const{content:n,isStatic:i}=t;e.push(i?JSON.stringify(n):n,-3,t)}function Gg(t,e){for(let n=0;n<t.children.length;n++){const i=t.children[n];w(i)?e.push(i,-3):Fg(i,e)}}function Wg(t,e){const{push:n}=e;if(8===t.type)n("["),Gg(t,e),n("]");else if(t.isStatic){n(yf(t.content)?t.content:JSON.stringify(t.content),-2,t)}else n(`[${t.content}]`,-3,t)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Hg=Og(/^(?:if|else|else-if)$/,(t,e,n)=>function(t,e,n,i){if(!("else"===e.name||e.exp&&e.exp.content.trim())){const i=e.exp?e.exp.loc:t.loc;n.onError(hf(28,e.loc)),e.exp=jp("true",!1,i)}if("if"===e.name){const r=jg(t,e),o={type:9,loc:yg(t.loc),branches:[r]};if(n.replaceNode(o),i)return i(o,r,!0)}else{const r=n.parent.children;let o=r.indexOf(t);for(;o-- >=-1;){const a=r[o];if(!a||!Ff(a)){if(a&&9===a.type){"else-if"!==e.name&&"else"!==e.name||void 0!==a.branches[a.branches.length-1].condition||n.onError(hf(30,t.loc)),n.removeNode();const r=jg(t,e);a.branches.push(r);const o=i&&i(a,r,!1);Lg(r,n),o&&o(),n.currentNode=null}else n.onError(hf(30,t.loc));break}n.removeNode(a)}}}(t,e,n,(t,e,i)=>{const r=n.parent.children;let o=r.indexOf(t),a=0;for(;o-- >=0;){const t=r[o];t&&9===t.type&&(a+=t.branches.length)}return()=>{if(i)t.codegenNode=Ug(e,a,n);else{const i=function(t){for(;;)if(19===t.type){if(19!==t.alternate.type)return t;t=t.alternate}else 20===t.type&&(t=t.value)}(t.codegenNode);i.alternate=Ug(e,a+t.branches.length-1,n)}}}));function jg(t,e){const n=3===t.tagType;return{type:10,loc:t.loc,condition:"else"===e.name?void 0:e.exp,children:n&&!Mf(t,"for")?t.children:[t],userKey:$f(t,"key"),isTemplateIf:n}}function Ug(t,e,n){return t.condition?Zp(t.condition,Yg(t,e,n),Yp(n.helper(dp),['""',"true"])):Yg(t,e,n)}function Yg(t,e,n){const{helper:i}=n,r=Hp("key",jp(`${e}`,!1,Fp,2)),{children:o}=t,a=o[0];if(1!==o.length||1!==a.type){if(1===o.length&&11===a.type){const t=a.codegenNode;return Ef(t,r,n),t}{let e=64;return Vp(n,i(tp),Wp([r]),o,e,void 0,void 0,!0,!1,!1,t.loc)}}{const t=a.codegenNode,e=14===(s=t).type&&s.callee===Rp?s.arguments[1].returns:s;return 13===e.type&&Jp(e,n),Ef(e,r,n),t}var s}const Xg=Og("for",(t,e,n)=>{const{helper:i,removeHelper:r}=n;return function(t,e,n,i){if(!e.exp)return void n.onError(hf(31,e.loc));const r=e.forParseResult;if(!r)return void n.onError(hf(32,e.loc));Zg(r);const{addIdentifiers:o,removeIdentifiers:a,scopes:s}=n,{source:l,value:u,key:d,index:c}=r,h={type:11,loc:e.loc,source:l,valueAlias:u,keyAlias:d,objectIndexAlias:c,parseResult:r,children:Df(t)?t.children:[t]};n.replaceNode(h),s.vFor++;const p=i&&i(h);return()=>{s.vFor--,p&&p()}}(t,e,n,e=>{const o=Yp(i(vp),[e.source]),a=Df(t),s=Mf(t,"memo"),l=$f(t,"key",!1,!0);l&&l.type;let u=l&&(6===l.type?l.value?jp(l.value.content,!0):void 0:l.exp);const d=u?Hp("key",u):null,c=4===e.source.type&&e.source.constType>0,h=c?64:l?128:256;return e.codegenNode=Vp(n,i(tp),void 0,o,h,void 0,void 0,!0,!c,!1,t.loc),()=>{let l;const{children:h}=e,p=1!==h.length||1!==h[0].type,f=kf(t)?t:a&&1===t.children.length&&kf(t.children[0])?t.children[0]:null;if(f?(l=f.codegenNode,a&&d&&Ef(l,d,n)):p?l=Vp(n,i(tp),d?Wp([d]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(l=h[0].codegenNode,a&&d&&Ef(l,d,n),l.isBlock!==!c&&(l.isBlock?(r(op),r(Kp(n.inSSR,l.isComponent))):r(qp(n.inSSR,l.isComponent))),l.isBlock=!c,l.isBlock?(i(op),i(Kp(n.inSSR,l.isComponent))):i(qp(n.inSSR,l.isComponent))),s){const t=Xp(qg(e.parseResult,[jp("_cached")]));t.body={type:21,body:[Up(["const _memo = (",s.exp,")"]),Up(["if (_cached && _cached.el",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(Bp)}(_cached, _memo)) return _cached`]),Up(["const _item = ",l]),jp("_item.memo = _memo"),jp("return _item")],loc:Fp},o.arguments.push(t,jp("_cache"),jp(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Xp(qg(e.parseResult),l,!0))}})});function Zg(t,e){t.finalized||(t.finalized=!0)}function qg({value:t,key:e,index:n},i=[]){return function(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((t,e)=>t||jp("_".repeat(e+1),!1))}([t,e,n,...i])}const Kg=jp("undefined",!1),Jg=(t,e)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const n=Mf(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Qg=(t,e,n,i)=>Xp(t,n,!1,!0,n.length?n[0].loc:i);function ty(t,e,n=Qg){e.helper(Ep);const{children:i,loc:r}=t,o=[],a=[];let s=e.scopes.vSlot>0||e.scopes.vFor>0;const l=Mf(t,"slot",!0);if(l){const{arg:t,exp:e}=l;t&&!pf(t)&&(s=!0),o.push(Hp(t||jp("default",!0),n(e,void 0,i,r)))}let u=!1,d=!1;const c=[],h=new Set;let p=0;for(let y=0;y<i.length;y++){const t=i[y];let r;if(!Df(t)||!(r=Mf(t,"slot",!0))){3!==t.type&&c.push(t);continue}if(l){e.onError(hf(37,r.loc));break}u=!0;const{children:f,loc:g}=t,{arg:m=jp("default",!0),exp:v,loc:x}=r;let _;pf(m)?_=m?m.content:"default":s=!0;const b=Mf(t,"for"),w=n(v,b,f,g);let S,M;if(S=Mf(t,"if"))s=!0,a.push(Zp(S.exp,ey(m,w,p++),Kg));else if(M=Mf(t,/^else(?:-if)?$/,!0)){let t,n=y;for(;n--&&(t=i[n],Ff(t)););if(t&&Df(t)&&Mf(t,/^(?:else-)?if$/)){let t=a[a.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=M.exp?Zp(M.exp,ey(m,w,p++),Kg):ey(m,w,p++)}else e.onError(hf(30,M.loc))}else if(b){s=!0;const t=b.forParseResult;t?(Zg(t),a.push(Yp(e.helper(vp),[t.source,Xp(qg(t),ey(m,w),!0)]))):e.onError(hf(32,b.loc))}else{if(_){if(h.has(_)){e.onError(hf(38,x));continue}h.add(_),"default"===_&&(d=!0)}o.push(Hp(m,w))}}if(!l){const t=(t,i)=>{const o=n(t,void 0,i,r);return e.compatConfig&&(o.isNonScopedSlot=!0),Hp("default",o)};u?c.length&&!c.every(zf)&&(d?e.onError(hf(39,c[0].loc)):o.push(t(void 0,c))):o.push(t(void 0,i))}const f=s?2:ny(t.children)?3:1;let g=Wp(o.concat(Hp("_",jp(f+"",!1))),r);return a.length&&(g=Yp(e.helper(_p),[g,Gp(a)])),{slots:g,hasDynamicSlots:s}}function ey(t,e,n){const i=[Hp("name",t),Hp("fn",e)];return null!=n&&i.push(Hp("key",jp(String(n),!0))),Wp(i)}function ny(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(2===n.tagType||ny(n.children))return!0;break;case 9:if(ny(n.branches))return!0;break;case 10:case 11:if(ny(n.children))return!0}}return!1}const iy=new WeakMap,ry=(t,e)=>function(){if(1!==(t=e.currentNode).type||0!==t.tagType&&1!==t.tagType)return;const{tag:n,props:i}=t,r=1===t.tagType;let o=r?function(t,e,n=!1){let{tag:i}=t;const r=ly(i),o=$f(t,"is",!1,!0);if(o)if(r||lf("COMPILER_IS_ON_ELEMENT",e)){let t;if(6===o.type?t=o.value&&jp(o.value.content,!0):(t=o.exp,t||(t=jp("is",!1,o.arg.loc))),t)return Yp(e.helper(fp),[t])}else 6===o.type&&o.value.content.startsWith("vue:")&&(i=o.value.content.slice(4));const a=ff(i)||e.isBuiltInComponent(i);if(a)return n||e.helper(a),a;return e.helper(pp),e.components.add(i),Nf(i,"component")}(t,e):`"${n}"`;const a=M(o)&&o.callee===fp;let s,l,u,d,c,h=0,p=a||o===ep||o===np||!r&&("svg"===n||"foreignObject"===n||"math"===n);if(i.length>0){const n=oy(t,e,void 0,r,a);s=n.props,h=n.patchFlag,d=n.dynamicPropNames;const i=n.directives;c=i&&i.length?Gp(i.map(t=>function(t,e){const n=[],i=iy.get(t);i?n.push(e.helperString(i)):(e.helper(gp),e.directives.add(t.name),n.push(Nf(t.name,"directive")));const{loc:r}=t;t.exp&&n.push(t.exp);t.arg&&(t.exp||n.push("void 0"),n.push(t.arg));if(Object.keys(t.modifiers).length){t.arg||(t.exp||n.push("void 0"),n.push("void 0"));const e=jp("true",!1,r);n.push(Wp(t.modifiers.map(t=>Hp(t,e)),r))}return Gp(n,t.loc)}(t,e))):void 0,n.shouldUseBlock&&(p=!0)}if(t.children.length>0){o===ip&&(p=!0,h|=1024);if(r&&o!==ep&&o!==ip){const{slots:n,hasDynamicSlots:i}=ty(t,e);l=n,i&&(h|=1024)}else if(1===t.children.length&&o!==ep){const n=t.children[0],i=n.type,r=5===i||8===i;r&&0===$g(n,e)&&(h|=1),l=r||2===i?n:t.children}else l=t.children}d&&d.length&&(u=function(t){let e="[";for(let n=0,i=t.length;n<i;n++)e+=JSON.stringify(t[n]),n<i-1&&(e+=", ");return e+"]"}(d)),t.codegenNode=Vp(e,o,s,l,0===h?void 0:h,u,c,!!p,!1,r,t.loc)};function oy(t,e,n=t.props,i,r,o=!1){const{tag:a,loc:s,children:l}=t;let u=[];const d=[],h=[],p=l.length>0;let f=!1,g=0,y=!1,m=!1,v=!1,x=!1,_=!1,b=!1;const w=[],M=t=>{u.length&&(d.push(Wp(ay(u),s)),u=[]),t&&d.push(t)},$=()=>{e.scopes.vFor>0&&u.push(Hp(jp("ref_for",!0),jp("true")))},C=({key:t,value:n})=>{if(pf(t)){const o=t.content,a=c(o);if(!a||i&&!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||D(o)||(x=!0),a&&D(o)&&(b=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&$g(n,e)>0)return;"ref"===o?y=!0:"class"===o?m=!0:"style"===o?v=!0:"key"===o||w.includes(o)||w.push(o),!i||"class"!==o&&"style"!==o||w.includes(o)||w.push(o)}else _=!0};for(let c=0;c<n.length;c++){const r=n[c];if(6===r.type){const{loc:t,name:n,nameLoc:i,value:o}=r;let s=!0;if("ref"===n&&(y=!0,$()),"is"===n&&(ly(a)||o&&o.content.startsWith("vue:")||lf("COMPILER_IS_ON_ELEMENT",e)))continue;u.push(Hp(jp(n,!0,i),jp(o?o.content:"",s,o?o.loc:t)))}else{const{name:n,arg:l,exp:c,loc:y,modifiers:m}=r,v="bind"===n,x="on"===n;if("slot"===n){i||e.onError(hf(40,y));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&Cf(l,"is")&&(ly(a)||lf("COMPILER_IS_ON_ELEMENT",e)))continue;if(x&&o)continue;if((v&&Cf(l,"key")||x&&p&&Cf(l,"vue:before-update"))&&(f=!0),v&&Cf(l,"ref")&&$(),!l&&(v||x)){if(_=!0,c)if(v){if(M(),lf("COMPILER_V_BIND_OBJECT_ORDER",e)){d.unshift(c);continue}$(),M(),d.push(c)}else M({type:14,loc:y,callee:e.helper(Ip),arguments:i?[c]:[c,"true"]});else e.onError(hf(v?34:35,y));continue}v&&m.some(t=>"prop"===t.content)&&(g|=32);const b=e.directiveTransforms[n];if(b){const{props:n,needRuntime:i}=b(r,t,e);!o&&n.forEach(C),x&&l&&!pf(l)?M(Wp(n,s)):u.push(...n),i&&(h.push(r),S(i)&&iy.set(r,i))}else k(n)||(h.push(r),p&&(f=!0))}}let I;if(d.length?(M(),I=d.length>1?Yp(e.helper(wp),d,s):d[0]):u.length&&(I=Wp(ay(u),s)),_?g|=16:(m&&!i&&(g|=2),v&&!i&&(g|=4),w.length&&(g|=8),x&&(g|=32)),f||0!==g&&32!==g||!(y||b||h.length>0)||(g|=512),!e.inSSR&&I)switch(I.type){case 15:let t=-1,n=-1,i=!1;for(let e=0;e<I.properties.length;e++){const r=I.properties[e].key;pf(r)?"class"===r.content?t=e:"style"===r.content&&(n=e):r.isHandlerKey||(i=!0)}const r=I.properties[t],o=I.properties[n];i?I=Yp(e.helper($p),[I]):(r&&!pf(r.value)&&(r.value=Yp(e.helper(Sp),[r.value])),o&&(v||4===o.value.type&&"["===o.value.content.trim()[0]||17===o.value.type)&&(o.value=Yp(e.helper(Mp),[o.value])));break;case 14:break;default:I=Yp(e.helper($p),[Yp(e.helper(Cp),[I])])}return{props:I,directives:h,patchFlag:g,dynamicPropNames:w,shouldUseBlock:f}}function ay(t){const e=new Map,n=[];for(let i=0;i<t.length;i++){const r=t[i];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const o=r.key.content,a=e.get(o);a?("style"===o||"class"===o||c(o))&&sy(a,r):(e.set(o,r),n.push(r))}return n}function sy(t,e){17===t.value.type?t.value.elements.push(e.value):t.value=Gp([t.value,e.value],t.loc)}function ly(t){return"component"===t||"Component"===t}const uy=(t,e)=>{if(kf(t)){const{children:n,loc:i}=t,{slotName:r,slotProps:o}=function(t,e){let n,i='"default"';const r=[];for(let o=0;o<t.props.length;o++){const e=t.props[o];if(6===e.type)e.value&&("name"===e.name?i=JSON.stringify(e.value.content):(e.name=E(e.name),r.push(e)));else if("bind"===e.name&&Cf(e.arg,"name")){if(e.exp)i=e.exp;else if(e.arg&&4===e.arg.type){const t=E(e.arg.content);i=e.exp=jp(t,!1,e.arg.loc)}}else"bind"===e.name&&e.arg&&pf(e.arg)&&(e.arg.content=E(e.arg.content)),r.push(e)}if(r.length>0){const{props:i,directives:o}=oy(t,e,r,!1,!1);n=i,o.length&&e.onError(hf(36,o[0].loc))}return{slotName:i,slotProps:n}}(t,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let s=2;o&&(a[2]=o,s=3),n.length&&(a[3]=Xp([],n,!1,!1,i),s=4),e.scopeId&&!e.slotted&&(s=5),a.splice(s),t.codegenNode=Yp(e.helper(xp),a,i)}};const dy=(t,e,n,i)=>{const{loc:r,modifiers:o,arg:a}=t;let s;if(t.exp||o.length||n.onError(hf(35,r)),4===a.type)if(a.isStatic){let t=a.content;t.startsWith("vue:")&&(t=`vnode-${t.slice(4)}`);s=jp(0!==e.tagType||t.startsWith("vnode")||!/[A-Z]/.test(t)?B(E(t)):`on:${t}`,!0,a.loc)}else s=Up([`${n.helperString(Dp)}(`,a,")"]);else s=a,s.children.unshift(`${n.helperString(Dp)}(`),s.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const t=bf(l),e=!(t||Sf(l)),n=l.content.includes(";");(e||u&&t)&&(l=Up([`${e?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let d={props:[Hp(s,l||jp("() => {}",!1,r))]};return i&&(d=i(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(t=>t.key.isHandlerKey=!0),d},cy=(t,e,n)=>{const{modifiers:i,loc:r}=t,o=t.arg;let{exp:a}=t;return a&&4===a.type&&!a.content.trim()&&(a=void 0),4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=o.content?`${o.content} || ""`:'""'),i.some(t=>"camel"===t.content)&&(4===o.type?o.isStatic?o.content=E(o.content):o.content=`${n.helperString(Tp)}(${o.content})`:(o.children.unshift(`${n.helperString(Tp)}(`),o.children.push(")"))),n.inSSR||(i.some(t=>"prop"===t.content)&&hy(o,"."),i.some(t=>"attr"===t.content)&&hy(o,"^")),{props:[Hp(o,a)]}},hy=(t,e)=>{4===t.type?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},py=(t,e)=>{if(0===t.type||1===t.type||11===t.type||10===t.type)return()=>{const n=t.children;let i,r=!1;for(let t=0;t<n.length;t++){const e=n[t];if(If(e)){r=!0;for(let r=t+1;r<n.length;r++){const o=n[r];if(!If(o)){i=void 0;break}i||(i=n[t]=Up([e],e.loc)),i.children.push(" + ",o),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==t.type&&(1!==t.type||0!==t.tagType||t.props.find(t=>7===t.type&&!e.directiveTransforms[t.name])||"template"===t.tag)))for(let t=0;t<n.length;t++){const i=n[t];if(If(i)||8===i.type){const r=[];2===i.type&&" "===i.content||r.push(i),e.ssr||0!==$g(i,e)||r.push("1"),n[t]={type:12,content:i,loc:i.loc,codegenNode:Yp(e.helper(cp),r)}}}}},fy=new WeakSet,gy=(t,e)=>{if(1===t.type&&Mf(t,"once",!0)){if(fy.has(t)||e.inVOnce||e.inSSR)return;return fy.add(t),e.inVOnce=!0,e.helper(kp),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0,!0))}}},yy=(t,e,n)=>{const{exp:i,arg:r}=t;if(!i)return n.onError(hf(41,t.loc)),my();const o=i.loc.source.trim(),a=4===i.type?i.content:o,s=n.bindingMetadata[o];if("props"===s||"props-aliased"===s)return n.onError(hf(44,i.loc)),my();if("literal-const"===s||"setup-const"===s)return n.onError(hf(45,i.loc)),my();if(!a.trim()||!bf(i))return n.onError(hf(42,i.loc)),my();const l=r||jp("modelValue",!0),u=r?pf(r)?`onUpdate:${E(r.content)}`:Up(['"onUpdate:" + ',r]):"onUpdate:modelValue";let d;d=Up([`${n.isTS?"($event: any)":"$event"} => ((`,i,") = $event)"]);const c=[Hp(l,t.exp),Hp(u,d)];if(t.modifiers.length&&1===e.tagType){const e=t.modifiers.map(t=>t.content).map(t=>(yf(t)?t:JSON.stringify(t))+": true").join(", "),n=r?pf(r)?`${r.content}Modifiers`:Up([r,' + "Modifiers"']):"modelModifiers";c.push(Hp(n,jp(`{ ${e} }`,!1,t.loc,2)))}return my(c)};function my(t=[]){return{props:t}}const vy=/[\w).+\-_$\]]/,xy=(t,e)=>{lf("COMPILER_FILTERS",e)&&(5===t.type?_y(t.content,e):1===t.type&&t.props.forEach(t=>{7===t.type&&"for"!==t.name&&t.exp&&_y(t.exp,e)}))};function _y(t,e){if(4===t.type)by(t,e);else for(let n=0;n<t.children.length;n++){const i=t.children[n];"object"==typeof i&&(4===i.type?by(i,e):8===i.type?_y(t,e):5===i.type&&_y(i.content,e))}}function by(t,e){const n=t.content;let i,r,o,a,s=!1,l=!1,u=!1,d=!1,c=0,h=0,p=0,f=0,g=[];for(o=0;o<n.length;o++)if(r=i,i=n.charCodeAt(o),s)39===i&&92!==r&&(s=!1);else if(l)34===i&&92!==r&&(l=!1);else if(u)96===i&&92!==r&&(u=!1);else if(d)47===i&&92!==r&&(d=!1);else if(124!==i||124===n.charCodeAt(o+1)||124===n.charCodeAt(o-1)||c||h||p){switch(i){case 34:l=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:h++;break;case 93:h--;break;case 123:c++;break;case 125:c--}if(47===i){let t,e=o-1;for(;e>=0&&(t=n.charAt(e)," "===t);e--);t&&vy.test(t)||(d=!0)}}else void 0===a?(f=o+1,a=n.slice(0,o).trim()):y();function y(){g.push(n.slice(f,o).trim()),f=o+1}if(void 0===a?a=n.slice(0,o).trim():0!==f&&y(),g.length){for(o=0;o<g.length;o++)a=wy(a,g[o],e);t.content=a,t.ast=void 0}}function wy(t,e,n){n.helper(yp);const i=e.indexOf("(");if(i<0)return n.filters.add(e),`${Nf(e,"filter")}(${t})`;{const r=e.slice(0,i),o=e.slice(i+1);return n.filters.add(r),`${Nf(r,"filter")}(${t}${")"!==o?","+o:o}`}}const Sy=new WeakSet,My=(t,e)=>{if(1===t.type){const n=Mf(t,"memo");if(!n||Sy.has(t)||e.inSSR)return;return Sy.add(t),()=>{const i=t.codegenNode||e.currentNode.codegenNode;i&&13===i.type&&(1!==t.tagType&&Jp(i,e),t.codegenNode=Yp(e.helper(Rp),[n.exp,Xp(void 0,i),"_cache",String(e.cached.length)]),e.cached.push(null))}}},$y=(t,e)=>{if(1===t.type)for(const n of t.props)if(7===n.type&&"bind"===n.name&&(!n.exp||4===n.exp.type&&!n.exp.content.trim())&&n.arg){const t=n.arg;if(4===t.type&&t.isStatic){const e=E(t.content);(mf.test(e[0])||"-"===e[0])&&(n.exp=jp(e,!1,t.loc))}else e.onError(hf(53,t.loc)),n.exp=jp("",!0,t.loc)}};function Cy(t,e={}){const n=e.onError||df,i="module"===e.mode;!0===e.prefixIdentifiers?n(hf(48)):i&&n(hf(49));e.cacheHandlers&&n(hf(50)),e.scopeId&&!i&&n(hf(51));const r=p({},e,{prefixIdentifiers:!1}),o=w(t)?bg(t,r):t,[a,s]=[[$y,gy,Hg,My,Xg,xy,uy,ry,Jg,py],{on:dy,bind:cy,model:yy}];return kg(o,p({},r,{nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:p({},s,e.directiveTransforms||{})})),Ng(o,r)}const Iy=Symbol(""),Ty=Symbol(""),Ay=Symbol(""),Dy=Symbol(""),ky=Symbol(""),Ly=Symbol(""),Oy=Symbol(""),Ey=Symbol(""),Py=Symbol(""),Ny=Symbol("");var Ry;let By;Ry={[Iy]:"vModelRadio",[Ty]:"vModelCheckbox",[Ay]:"vModelText",[Dy]:"vModelSelect",[ky]:"vModelDynamic",[Ly]:"withModifiers",[Oy]:"withKeys",[Ey]:"vShow",[Py]:"Transition",[Ny]:"TransitionGroup"},Object.getOwnPropertySymbols(Ry).forEach(t=>{zp[t]=Ry[t]});const zy={parseMode:"html",isVoidTag:it,isNativeTag:t=>tt(t)||et(t)||nt(t),isPreTag:t=>"pre"===t,isIgnoreNewlineTag:t=>"pre"===t||"textarea"===t,decodeEntities:function(t,e=!1){return By||(By=document.createElement("div")),e?(By.innerHTML=`<div foo="${t.replace(/"/g,"&quot;")}">`,By.children[0].getAttribute("foo")):(By.innerHTML=t,By.textContent)},isBuiltInComponent:t=>"Transition"===t||"transition"===t?Py:"TransitionGroup"===t||"transition-group"===t?Ny:void 0,getNamespace(t,e,n){let i=e?e.ns:n;if(e&&2===i)if("annotation-xml"===e.tag){if("svg"===t)return 1;e.props.some(t=>6===t.type&&"encoding"===t.name&&null!=t.value&&("text/html"===t.value.content||"application/xhtml+xml"===t.value.content))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&"mglyph"!==t&&"malignmark"!==t&&(i=0);else e&&1===i&&("foreignObject"!==e.tag&&"desc"!==e.tag&&"title"!==e.tag||(i=0));if(0===i){if("svg"===t)return 1;if("math"===t)return 2}return i}},Fy=(t,e)=>{const n=K(t);return jp(JSON.stringify(n),!1,e,3)};function Vy(t,e){return hf(t,e)}const Gy=a("passive,once,capture"),Wy=a("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Hy=a("left,right"),jy=a("onkeyup,onkeydown,onkeypress"),Uy=(t,e)=>pf(t)&&"onclick"===t.content.toLowerCase()?jp(e,!0):4!==t.type?Up(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,Yy=(t,e)=>{1!==t.type||0!==t.tagType||"script"!==t.tag&&"style"!==t.tag||e.removeNode()},Xy=[t=>{1===t.type&&t.props.forEach((e,n)=>{6===e.type&&"style"===e.name&&e.value&&(t.props[n]={type:7,name:"bind",arg:jp("style",!0,e.loc),exp:Fy(e.value.content,e.loc),modifiers:[],loc:e.loc})})}],Zy={cloak:()=>({props:[]}),html:(t,e,n)=>{const{exp:i,loc:r}=t;return i||n.onError(Vy(54,r)),e.children.length&&(n.onError(Vy(55,r)),e.children.length=0),{props:[Hp(jp("innerHTML",!0,r),i||jp("",!0))]}},text:(t,e,n)=>{const{exp:i,loc:r}=t;return i||n.onError(Vy(56,r)),e.children.length&&(n.onError(Vy(57,r)),e.children.length=0),{props:[Hp(jp("textContent",!0),i?$g(i,n)>0?i:Yp(n.helperString(bp),[i],r):jp("",!0))]}},model:(t,e,n)=>{const i=yy(t,e,n);if(!i.props.length||1===e.tagType)return i;t.arg&&n.onError(Vy(59,t.arg.loc));const{tag:r}=e,o=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||o){let a=Ay,s=!1;if("input"===r||o){const i=$f(e,"type");if(i){if(7===i.type)a=ky;else if(i.value)switch(i.value.content){case"radio":a=Iy;break;case"checkbox":a=Ty;break;case"file":s=!0,n.onError(Vy(60,t.loc))}}else(function(t){return t.props.some(t=>!(7!==t.type||"bind"!==t.name||t.arg&&4===t.arg.type&&t.arg.isStatic))})(e)&&(a=ky)}else"select"===r&&(a=Dy);s||(i.needRuntime=n.helper(a))}else n.onError(Vy(58,t.loc));return i.props=i.props.filter(t=>!(4===t.key.type&&"modelValue"===t.key.content)),i},on:(t,e,n)=>dy(t,e,n,e=>{const{modifiers:i}=t;if(!i.length)return e;let{key:r,value:o}=e.props[0];const{keyModifiers:a,nonKeyModifiers:s,eventOptionModifiers:l}=((t,e,n)=>{const i=[],r=[],o=[];for(let a=0;a<e.length;a++){const s=e[a].content;"native"===s&&uf("COMPILER_V_ON_NATIVE",n)||Gy(s)?o.push(s):Hy(s)?pf(t)?jy(t.content.toLowerCase())?i.push(s):r.push(s):(i.push(s),r.push(s)):Wy(s)?r.push(s):i.push(s)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}})(r,i,n,t.loc);if(s.includes("right")&&(r=Uy(r,"onContextmenu")),s.includes("middle")&&(r=Uy(r,"onMouseup")),s.length&&(o=Yp(n.helper(Ly),[o,JSON.stringify(s)])),!a.length||pf(r)&&!jy(r.content.toLowerCase())||(o=Yp(n.helper(Oy),[o,JSON.stringify(a)])),l.length){const t=l.map(R).join("");r=pf(r)?jp(`${r.content}${t}`,!0):Up(["(",r,`) + "${t}"`])}return{props:[Hp(r,o)]}}),show:(t,e,n)=>{const{exp:i,loc:r}=t;return i||n.onError(Vy(62,r)),{props:[],needRuntime:n.helper(Ey)}}};const qy=Object.create(null);function Ky(t,e){var n;const i=ca();return hs(()=>{i.value=t()},{...e,flush:null!==(n=null==e?void 0:e.flush)&&void 0!==n?n:"sync"}),Jo(i)}function Jy(t,e){return!!zr()&&(Fr(t,e),!0)}Yd(function(t,e){if(!w(t)){if(!t.nodeType)return u;t=t.innerHTML}const n=function(t,e){return t+JSON.stringify(e,(t,e)=>"function"==typeof e?e.toString():e)}(t,e),i=qy[n];if(i)return i;if("#"===t[0]){const e=document.querySelector(t);t=e?e.innerHTML:""}const r=p({hoistStatic:!0,onError:void 0,onWarn:u},e);r.isCustomElement||"undefined"==typeof customElements||(r.isCustomElement=t=>!!customElements.get(t));const{code:o}=function(t,e={}){return Cy(t,p({},zy,e,{nodeTransforms:[Yy,...Xy,...e.nodeTransforms||[]],directiveTransforms:p({},Zy,e.directiveTransforms||{}),transformHoist:null}))}(t,r),a=new Function("Vue",o)(Qh);return a._rc=!0,qy[n]=a});const Qy=new WeakMap,tm=(...t)=>{var e;const n=t[0],i=null===(e=Nd())||void 0===e?void 0:e.proxy,r=null!=i?i:zr();if(null==r&&!us())throw new Error("injectLocal must be called in setup");return r&&Qy.has(r)&&n in Qy.get(r)?Qy.get(r)[n]:ls(...t)},em="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const nm=t=>null!=t,im=Object.prototype.toString,rm=(t,e,n)=>Math.min(n,Math.max(e,t)),om=()=>{},am=sm();function sm(){var t,e,n;return em&&!!(null===(t=window)||void 0===t||null===(t=t.navigator)||void 0===t?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null===(e=window)||void 0===e||null===(e=e.navigator)||void 0===e?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(null===(n=window)||void 0===n?void 0:n.navigator.userAgent))}function lm(t,e){return function(...n){return new Promise((i,r)=>{Promise.resolve(t(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})).then(i).catch(r)})}}function um(t){return t.endsWith("rem")?16*Number.parseFloat(t):Number.parseFloat(t)}function dm(t){return Array.isArray(t)?t:[t]}function cm(t){return qo(ua(e=Qd(t))?new Proxy({},{get:(t,n,i)=>ga(Reflect.get(e.value,n,i)),set:(t,n,i)=>(ua(e.value[n])&&!ua(i)?e.value[n].value=i:e.value[n]=i,!0),deleteProperty:(t,n)=>Reflect.deleteProperty(e.value,n),has:(t,n)=>Reflect.has(e.value,n),ownKeys:()=>Object.keys(e.value),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})}):e);var e}function hm(t,e=200,n={}){return lm(function(t,e={}){let n,i,r=om;const o=t=>{clearTimeout(t),r(),r=om};let a;return s=>{const l=ya(t),u=ya(e.maxWait);return n&&o(n),l<=0||void 0!==u&&u<=0?(i&&(o(i),i=void 0),Promise.resolve(s())):new Promise((t,d)=>{r=e.rejectOnCancel?d:t,a=s,u&&!i&&(i=setTimeout(()=>{n&&o(n),i=void 0,t(a())},u)),n=setTimeout(()=>{i&&o(i),i=void 0,t(s())},l)})}}(e,n),t)}function pm(t,e=200,n={}){const i=da(ya(t)),r=hm(()=>{i.value=t.value},e,n);return fs(t,()=>r()),Qo(i)}function fm(t,e=200,n=!1,i=!0,r=!1){return lm(function(...t){let e,n,i,r,o,a,s=0,l=!0,u=om;ua(t[0])||"object"!=typeof t[0]?[i,r=!0,o=!0,a=!1]=t:({delay:i,trailing:r=!0,leading:o=!0,rejectOnCancel:a=!1}=t[0]);const d=()=>{e&&(clearTimeout(e),e=void 0,u(),u=om)};return t=>{const c=ya(i),h=Date.now()-s,p=()=>n=t();return d(),c<=0?(s=Date.now(),p()):(h>c?(s=Date.now(),!o&&l||p()):r&&(n=new Promise((t,n)=>{u=a?n:t,e=setTimeout(()=>{s=Date.now(),l=!0,t(p()),d()},Math.max(0,c-h))})),o||e||(e=setTimeout(()=>l=!0,c)),l=!1,n)}}(e,n,i,r),t)}function gm(t,e=!0,n){Nd()?bl(t,n):e?t():ja(t)}function ym(t,e,n={}){const{immediate:i=!0,immediateCallback:r=!1}=n,o=ca(!1);let a;function s(){a&&(clearTimeout(a),a=void 0)}function l(){o.value=!1,s()}function u(...n){r&&t(),s(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=void 0,t(...n)},ya(e))}return i&&(o.value=!0,em&&u()),Jy(l),{isPending:Qo(o),start:u,stop:l}}const mm=em?window:void 0,vm=em?window.document:void 0;function xm(t){var e;const n=ya(t);return null!==(e=null==n?void 0:n.$el)&&void 0!==e?e:n}function _m(...t){const e=Qd(()=>{const e=dm(ya(t[0])).filter(t=>null!=t);return e.every(t=>"string"!=typeof t)?e:void 0});return n=([t,e,n,i],r,o)=>{if(!(null==t?void 0:t.length)||!(null==e?void 0:e.length)||!(null==n?void 0:n.length))return;const a=(s=i,"[object Object]"===im.call(s)?{...i}:i);var s;const l=t.flatMap(t=>e.flatMap(e=>n.map(n=>((t,e,n,i)=>(t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)))(t,e,n,a))));o(()=>{l.forEach(t=>t())})},i={flush:"post"},fs(()=>{var n,i;return[null!==(n=null===(i=e.value)||void 0===i?void 0:i.map(t=>xm(t)))&&void 0!==n?n:[mm].filter(t=>null!=t),dm(ya(e.value?t[1]:t[0])),dm(ga(e.value?t[2]:t[1])),ya(e.value?t[3]:t[2])]},n,{...i,immediate:!0});var n,i}let bm=!1;function wm(t,e,n={}){const{window:i=mm,ignore:r=[],capture:o=!0,detectIframe:a=!1,controls:s=!1}=n;if(!i)return s?{stop:om,cancel:om,trigger:om}:om;if(am&&!bm){bm=!0;const t={passive:!0};Array.from(i.document.body.children).forEach(e=>e.addEventListener("click",om,t)),i.document.documentElement.addEventListener("click",om,t)}let l=!0;const u=t=>ya(r).some(e=>{if("string"==typeof e)return Array.from(i.document.querySelectorAll(e)).some(e=>e===t.target||t.composedPath().includes(e));{const n=xm(e);return n&&(t.target===n||t.composedPath().includes(n))}});const d=n=>{const i=xm(t);null!=n.target&&(i instanceof Element||!function(t){const e=ya(t);return e&&16===e.$.subTree.shapeFlag}(t)||!function(t,e){const n=ya(t),i=n.$.subTree&&n.$.subTree.children;return!(null==i||!Array.isArray(i))&&i.some(t=>t.el===e.target||e.composedPath().includes(t.el))}(t,n))&&i&&i!==n.target&&!n.composedPath().includes(i)&&("detail"in n&&0===n.detail&&(l=!u(n)),l?e(n):l=!0)};let c=!1;const h=[_m(i,"click",t=>{c||(c=!0,setTimeout(()=>{c=!1},0),d(t))},{passive:!0,capture:o}),_m(i,"pointerdown",e=>{const n=xm(t);l=!u(e)&&!(!n||e.composedPath().includes(n))},{passive:!0}),a&&_m(i,"blur",n=>{setTimeout(()=>{const r=xm(t);let o=i.document.activeElement;for(;null==o?void 0:o.shadowRoot;)o=o.shadowRoot.activeElement;"IFRAME"!==(null==o?void 0:o.tagName)||(null==r?void 0:r.contains(i.document.activeElement))||e(n)},0)},{passive:!0})].filter(Boolean),p=()=>h.forEach(t=>t());return s?{stop:p,cancel:()=>{l=!1},trigger:t=>{l=!0,d(t),l=!1}}:p}function Sm(){const t=ca(!1),e=Nd();return e&&bl(()=>{t.value=!0},e),t}function Mm(t){const e=Sm();return Qd(()=>(e.value,Boolean(t())))}function $m(t,e,n={}){const{window:i=mm,...r}=n;let o;const a=Mm(()=>i&&"MutationObserver"in i),s=()=>{o&&(o.disconnect(),o=void 0)},l=fs(Qd(()=>{const e=dm(ya(t)).map(xm).filter(nm);return new Set(e)}),t=>{s(),a.value&&t.size&&(o=new MutationObserver(e),t.forEach(t=>o.observe(t,r)))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return Jy(u),{isSupported:a,stop:u,takeRecords:()=>null==o?void 0:o.takeRecords()}}function Cm(t={}){var e;const{window:n=mm,deep:i=!0,triggerOnRemoval:r=!1}=t,o=null!==(e=t.document)&&void 0!==e?e:null==n?void 0:n.document,a=ca(),s=()=>{a.value=(()=>{let t=null==o?void 0:o.activeElement;if(i)for(var e;null==t?void 0:t.shadowRoot;)t=null==t||null===(e=t.shadowRoot)||void 0===e?void 0:e.activeElement;return t})()};if(n){const t={capture:!0,passive:!0};_m(n,"blur",t=>{null===t.relatedTarget&&s()},t),_m(n,"focus",s,t)}return r&&function(t,e,n={}){const{window:i=mm,document:r=(null==i?void 0:i.document),flush:o="sync"}=n;if(!i||!r)return om;let a;const s=t=>{null==a||a(),a=t},l=hs(()=>{const n=xm(t);if(n){const{stop:t}=$m(r,t=>{t.map(t=>[...t.removedNodes]).flat().some(t=>t===n||t.contains(n))&&e(t)},{window:i,childList:!0,subtree:!0});s(t)}},{flush:o}),u=()=>{l(),s()};Jy(u)}(a,s,{document:o}),s(),a}const Im=Symbol("vueuse-ssr-width");function Tm(){const t=us()?tm(Im,null):null;return"number"==typeof t?t:void 0}function Am(t,e,n={}){const{window:i=mm,initialValue:r,observe:o=!1}=n,a=ca(r),s=Qd(()=>{var t;return xm(e)||(null==i||null===(t=i.document)||void 0===t?void 0:t.documentElement)});function l(){const e=ya(t),n=ya(s);var o;n&&i&&e&&(a.value=(null===(o=i.getComputedStyle(n).getPropertyValue(e))||void 0===o?void 0:o.trim())||a.value||r)}return o&&$m(s,l,{attributeFilter:["style","class"],window:i}),fs([s,()=>ya(t)],(t,e)=>{e[0]&&e[1]&&e[0].style.removeProperty(e[1]),l()},{immediate:!0}),fs([a,s],([e,n])=>{const i=ya(t);(null==n?void 0:n.style)&&i&&(null==e?n.style.removeProperty(i):n.style.setProperty(i,e))},{immediate:!0}),a}function Dm(t={}){const{document:e=vm}=t;if(!e)return ca("visible");const n=ca(e.visibilityState);return _m(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}function km(t,e,n={}){const{window:i=mm,...r}=n;let o;const a=Mm(()=>i&&"ResizeObserver"in i),s=()=>{o&&(o.disconnect(),o=void 0)},l=fs(Qd(()=>{const e=ya(t);return Array.isArray(e)?e.map(t=>xm(t)):[xm(e)]}),t=>{if(s(),a.value&&i){o=new ResizeObserver(e);for(const e of t)e&&o.observe(e,r)}},{immediate:!0,flush:"post"}),u=()=>{s(),l()};return Jy(u),{isSupported:a,stop:u}}function Lm(t,e={}){const{reset:n=!0,windowResize:i=!0,windowScroll:r=!0,immediate:o=!0,updateTiming:a="sync"}=e,s=ca(0),l=ca(0),u=ca(0),d=ca(0),c=ca(0),h=ca(0),p=ca(0),f=ca(0);function g(){const e=xm(t);if(!e)return void(n&&(s.value=0,l.value=0,u.value=0,d.value=0,c.value=0,h.value=0,p.value=0,f.value=0));const i=e.getBoundingClientRect();s.value=i.height,l.value=i.bottom,u.value=i.left,d.value=i.right,c.value=i.top,h.value=i.width,p.value=i.x,f.value=i.y}function y(){"sync"===a?g():"next-frame"===a&&requestAnimationFrame(()=>g())}return km(t,y),fs(()=>xm(t),t=>!t&&y()),$m(t,y,{attributeFilter:["style","class"]}),r&&_m("scroll",y,{capture:!0,passive:!0}),i&&_m("resize",y,{passive:!0}),gm(()=>{o&&y()}),{height:s,bottom:l,left:u,right:d,top:c,width:h,x:p,y:f,update:y}}function Om(t,e={width:0,height:0},n={}){const{window:i=mm,box:r="content-box"}=n,o=Qd(()=>{var e;return null===(e=xm(t))||void 0===e||null===(e=e.namespaceURI)||void 0===e?void 0:e.includes("svg")}),a=ca(e.width),s=ca(e.height),{stop:l}=km(t,([e])=>{const n="border-box"===r?e.borderBoxSize:"content-box"===r?e.contentBoxSize:e.devicePixelContentBoxSize;if(i&&o.value){const e=xm(t);if(e){const t=e.getBoundingClientRect();a.value=t.width,s.value=t.height}}else if(n){const t=dm(n);a.value=t.reduce((t,{inlineSize:e})=>t+e,0),s.value=t.reduce((t,{blockSize:e})=>t+e,0)}else a.value=e.contentRect.width,s.value=e.contentRect.height},n);gm(()=>{const n=xm(t);n&&(a.value="offsetWidth"in n?n.offsetWidth:e.width,s.value="offsetHeight"in n?n.offsetHeight:e.height)});const u=fs(()=>xm(t),t=>{a.value=t?e.width:0,s.value=t?e.height:0});return{width:a,height:s,stop:function(){l(),u()}}}function Em(t,e,n={}){const{root:i,rootMargin:r,threshold:o=0,window:a=mm,immediate:s=!0}=n,l=Mm(()=>a&&"IntersectionObserver"in a),u=Qd(()=>dm(ya(t)).map(xm).filter(nm));let d=om;const c=ca(s),h=l.value?fs(()=>[u.value,xm(i),ya(r),c.value],([t,n,i])=>{if(d(),!c.value)return;if(!t.length)return;const r=new IntersectionObserver(e,{root:xm(n),rootMargin:i,threshold:o});t.forEach(t=>t&&r.observe(t)),d=()=>{r.disconnect(),d=om}},{immediate:s,flush:"post"}):om,p=()=>{d(),h(),c.value=!1};return Jy(p),{isSupported:l,isActive:c,pause(){d(),c.value=!1},resume(){c.value=!0},stop:p}}function Pm(t,e,n,i={}){var r,o;const{clone:a=!1,passive:s=!1,eventName:l,deep:u=!1,defaultValue:d,shouldEmit:c}=i,h=Nd(),p=(null==h?void 0:h.emit)||(null==h||null===(r=h.$emit)||void 0===r?void 0:r.bind(h))||(null==h||null===(o=h.proxy)||void 0===o||null===(o=o.$emit)||void 0===o?void 0:o.bind(null==h?void 0:h.proxy));let f=l;f=f||`update:${e.toString()}`;const g=t=>{return a?"function"==typeof a?a(t):(e=t,JSON.parse(JSON.stringify(e))):t;var e},y=()=>void 0!==t[e]?g(t[e]):d,m=t=>{c?c(t)&&p(f,t):p(f,t)};if(s){const n=da(y());let i=!1;return fs(()=>t[e],t=>{i||(i=!0,n.value=g(t),ja(()=>i=!1))}),fs(n,n=>{i||n===t[e]&&!u||m(n)},{deep:u}),n}return Qd({get:()=>y(),set(t){m(t)}})}function Nm(t={}){const{window:e=mm}=t;if(!e)return ca(!1);const n=ca(e.document.hasFocus()),i={passive:!0};return _m(e,"blur",()=>{n.value=!1},i),_m(e,"focus",()=>{n.value=!0},i),n}function Rm(t={}){const{window:e=mm,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0,type:a="inner"}=t,s=ca(n),l=ca(i),u=()=>{if(e)if("outer"===a)s.value=e.outerWidth,l.value=e.outerHeight;else if("visual"===a&&e.visualViewport){const{width:t,height:n,scale:i}=e.visualViewport;s.value=Math.round(t*i),l.value=Math.round(n*i)}else o?(s.value=e.innerWidth,l.value=e.innerHeight):(s.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};u(),gm(u);const d={passive:!0};return _m("resize",u,d),e&&"visual"===a&&e.visualViewport&&_m(e.visualViewport,"resize",u,d),r&&fs(function(t,e={}){const{window:n=mm,ssrWidth:i=Tm()}=e,r=Mm(()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia),o=ca("number"==typeof i),a=ca(),s=ca(!1);return hs(()=>{if(o.value)return o.value=!r.value,void(s.value=ya(t).split(",").some(t=>{const e=t.includes("not all"),n=t.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=t.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let o=Boolean(n||r);return n&&o&&(o=i>=um(n[1])),r&&o&&(o=i<=um(r[1])),e?!o:o}));r.value&&(a.value=n.matchMedia(ya(t)),s.value=a.value.matches)}),_m(a,"change",t=>{s.value=t.matches},{passive:!0}),Qd(()=>s.value)}("(orientation: portrait)"),()=>u()),{width:s,height:l}}var Bm="top",zm="bottom",Fm="right",Vm="left",Gm="auto",Wm=[Bm,zm,Fm,Vm],Hm="start",jm="end",Um="viewport",Ym="popper",Xm=Wm.reduce(function(t,e){return t.concat([e+"-"+Hm,e+"-"+jm])},[]),Zm=[].concat(Wm,[Gm]).reduce(function(t,e){return t.concat([e,e+"-"+Hm,e+"-"+jm])},[]),qm=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Km(t){return t?(t.nodeName||"").toLowerCase():null}function Jm(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Qm(t){return t instanceof Jm(t).Element||t instanceof Element}function tv(t){return t instanceof Jm(t).HTMLElement||t instanceof HTMLElement}function ev(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Jm(t).ShadowRoot||t instanceof ShadowRoot)}var nv={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!tv(r)||!Km(r)||(Object.assign(r.style,n),Object.keys(i).forEach(function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t},{});!tv(i)||!Km(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(t){i.removeAttribute(t)}))})}},requires:["computeStyles"]};function iv(t){return t.split("-")[0]}var rv=Math.max,ov=Math.min,av=Math.round;function sv(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function lv(){return!/^((?!chrome|android).)*safari/i.test(sv())}function uv(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&tv(t)&&(r=t.offsetWidth>0&&av(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&av(i.height)/t.offsetHeight||1);var a=(Qm(t)?Jm(t):window).visualViewport,s=!lv()&&n,l=(i.left+(s&&a?a.offsetLeft:0))/r,u=(i.top+(s&&a?a.offsetTop:0))/o,d=i.width/r,c=i.height/o;return{width:d,height:c,top:u,right:l+d,bottom:u+c,left:l,x:l,y:u}}function dv(t){var e=uv(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function cv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ev(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function hv(t){return Jm(t).getComputedStyle(t)}function pv(t){return["table","td","th"].indexOf(Km(t))>=0}function fv(t){return((Qm(t)?t.ownerDocument:t.document)||window.document).documentElement}function gv(t){return"html"===Km(t)?t:t.assignedSlot||t.parentNode||(ev(t)?t.host:null)||fv(t)}function yv(t){return tv(t)&&"fixed"!==hv(t).position?t.offsetParent:null}function mv(t){for(var e=Jm(t),n=yv(t);n&&pv(n)&&"static"===hv(n).position;)n=yv(n);return n&&("html"===Km(n)||"body"===Km(n)&&"static"===hv(n).position)?e:n||function(t){var e=/firefox/i.test(sv());if(/Trident/i.test(sv())&&tv(t)&&"fixed"===hv(t).position)return null;var n=gv(t);for(ev(n)&&(n=n.host);tv(n)&&["html","body"].indexOf(Km(n))<0;){var i=hv(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function vv(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function xv(t,e,n){return rv(t,ov(e,n))}function _v(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function bv(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}var wv={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=iv(n.placement),l=vv(s),u=[Vm,Fm].indexOf(s)>=0?"height":"width";if(o&&a){var d=function(t,e){return _v("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:bv(t,Wm))}(r.padding,n),c=dv(o),h="y"===l?Bm:Vm,p="y"===l?zm:Fm,f=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],y=mv(o),m=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,v=f/2-g/2,x=d[h],_=m-c[u]-d[p],b=m/2-c[u]/2+v,w=xv(x,b,_),S=l;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-b,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=e.elements.popper.querySelector(i))||cv(e.elements.popper,i)&&(e.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Sv(t){return t.split("-")[1]}var Mv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $v(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,u=t.adaptive,d=t.roundOffsets,c=t.isFixed,h=a.x,p=void 0===h?0:h,f=a.y,g=void 0===f?0:f,y="function"==typeof d?d({x:p,y:g}):{x:p,y:g};p=y.x,g=y.y;var m=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),x=Vm,_=Bm,b=window;if(u){var w=mv(n),S="clientHeight",M="clientWidth";if(w===Jm(n)&&("static"!==hv(w=fv(n)).position&&"absolute"===s&&(S="scrollHeight",M="scrollWidth")),r===Bm||(r===Vm||r===Fm)&&o===jm)_=zm,g-=(c&&w===b&&b.visualViewport?b.visualViewport.height:w[S])-i.height,g*=l?1:-1;if(r===Vm||(r===Bm||r===zm)&&o===jm)x=Fm,p-=(c&&w===b&&b.visualViewport?b.visualViewport.width:w[M])-i.width,p*=l?1:-1}var $,C=Object.assign({position:s},u&&Mv),I=!0===d?function(t,e){var n=t.x,i=t.y,r=e.devicePixelRatio||1;return{x:av(n*r)/r||0,y:av(i*r)/r||0}}({x:p,y:g},Jm(n)):{x:p,y:g};return p=I.x,g=I.y,l?Object.assign({},C,(($={})[_]=v?"0":"",$[x]=m?"0":"",$.transform=(b.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",$)):Object.assign({},C,((e={})[_]=v?g+"px":"",e[x]=m?p+"px":"",e.transform="",e))}var Cv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:iv(e.placement),variation:Sv(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$v(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$v(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Iv={passive:!0};var Tv={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,l=Jm(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach(function(t){t.addEventListener("scroll",n.update,Iv)}),s&&l.addEventListener("resize",n.update,Iv),function(){o&&u.forEach(function(t){t.removeEventListener("scroll",n.update,Iv)}),s&&l.removeEventListener("resize",n.update,Iv)}},data:{}},Av={left:"right",right:"left",bottom:"top",top:"bottom"};function Dv(t){return t.replace(/left|right|bottom|top/g,function(t){return Av[t]})}var kv={start:"end",end:"start"};function Lv(t){return t.replace(/start|end/g,function(t){return kv[t]})}function Ov(t){var e=Jm(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ev(t){return uv(fv(t)).left+Ov(t).scrollLeft}function Pv(t){var e=hv(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Nv(t){return["html","body","#document"].indexOf(Km(t))>=0?t.ownerDocument.body:tv(t)&&Pv(t)?t:Nv(gv(t))}function Rv(t,e){var n;void 0===e&&(e=[]);var i=Nv(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=Jm(i),a=r?[o].concat(o.visualViewport||[],Pv(i)?i:[]):i,s=e.concat(a);return r?s:s.concat(Rv(gv(a)))}function Bv(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function zv(t,e,n){return e===Um?Bv(function(t,e){var n=Jm(t),i=fv(t),r=n.visualViewport,o=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;var u=lv();(u||!u&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:o,height:a,x:s+Ev(t),y:l}}(t,n)):Qm(e)?function(t,e){var n=uv(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):Bv(function(t){var e,n=fv(t),i=Ov(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=rv(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=rv(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+Ev(t),l=-i.scrollTop;return"rtl"===hv(r||n).direction&&(s+=rv(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(fv(t)))}function Fv(t,e,n,i){var r="clippingParents"===e?function(t){var e=Rv(gv(t)),n=["absolute","fixed"].indexOf(hv(t).position)>=0&&tv(t)?mv(t):t;return Qm(n)?e.filter(function(t){return Qm(t)&&cv(t,n)&&"body"!==Km(t)}):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o[0],s=o.reduce(function(e,n){var r=zv(t,n,i);return e.top=rv(r.top,e.top),e.right=ov(r.right,e.right),e.bottom=ov(r.bottom,e.bottom),e.left=rv(r.left,e.left),e},zv(t,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Vv(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?iv(r):null,a=r?Sv(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case Bm:e={x:s,y:n.y-i.height};break;case zm:e={x:s,y:n.y+n.height};break;case Fm:e={x:n.x+n.width,y:l};break;case Vm:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var u=o?vv(o):null;if(null!=u){var d="y"===u?"height":"width";switch(a){case Hm:e[u]=e[u]-(n[d]/2-i[d]/2);break;case jm:e[u]=e[u]+(n[d]/2-i[d]/2)}}return e}function Gv(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.strategy,a=void 0===o?t.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,u=n.rootBoundary,d=void 0===u?Um:u,c=n.elementContext,h=void 0===c?Ym:c,p=n.altBoundary,f=void 0!==p&&p,g=n.padding,y=void 0===g?0:g,m=_v("number"!=typeof y?y:bv(y,Wm)),v=h===Ym?"reference":Ym,x=t.rects.popper,_=t.elements[f?v:h],b=Fv(Qm(_)?_:_.contextElement||fv(t.elements.popper),l,d,a),w=uv(t.elements.reference),S=Vv({reference:w,element:x,placement:r}),M=Bv(Object.assign({},x,S)),$=h===Ym?M:w,C={top:b.top-$.top+m.top,bottom:$.bottom-b.bottom+m.bottom,left:b.left-$.left+m.left,right:$.right-b.right+m.right},I=t.modifiersData.offset;if(h===Ym&&I){var T=I[r];Object.keys(C).forEach(function(t){var e=[Fm,zm].indexOf(t)>=0?1:-1,n=[Bm,zm].indexOf(t)>=0?"y":"x";C[t]+=T[n]*e})}return C}var Wv={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,c=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,y=e.options.placement,m=iv(y),v=l||(m===y||!f?[Dv(y)]:function(t){if(iv(t)===Gm)return[];var e=Dv(t);return[Lv(t),e,Lv(e)]}(y)),x=[y].concat(v).reduce(function(t,n){return t.concat(iv(n)===Gm?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Zm:l,d=Sv(i),c=d?s?Xm:Xm.filter(function(t){return Sv(t)===d}):Wm,h=c.filter(function(t){return u.indexOf(t)>=0});0===h.length&&(h=c);var p=h.reduce(function(e,n){return e[n]=Gv(t,{placement:n,boundary:r,rootBoundary:o,padding:a})[iv(n)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:n,boundary:d,rootBoundary:c,padding:u,flipVariations:f,allowedAutoPlacements:g}):n)},[]),_=e.rects.reference,b=e.rects.popper,w=new Map,S=!0,M=x[0],$=0;$<x.length;$++){var C=x[$],I=iv(C),T=Sv(C)===Hm,A=[Bm,zm].indexOf(I)>=0,D=A?"width":"height",k=Gv(e,{placement:C,boundary:d,rootBoundary:c,altBoundary:h,padding:u}),L=A?T?Fm:Vm:T?zm:Bm;_[D]>b[D]&&(L=Dv(L));var O=Dv(L),E=[];if(o&&E.push(k[I]<=0),s&&E.push(k[L]<=0,k[O]<=0),E.every(function(t){return t})){M=C,S=!1;break}w.set(C,E)}if(S)for(var P=function(t){var e=x.find(function(e){var n=w.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return M=e,"break"},N=f?3:1;N>0;N--){if("break"===P(N))break}e.placement!==M&&(e.modifiersData[i]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Hv(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function jv(t){return[Bm,Fm,zm,Vm].some(function(e){return t[e]>=0})}var Uv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=Gv(e,{elementContext:"reference"}),s=Gv(e,{altBoundary:!0}),l=Hv(a,i),u=Hv(s,r,o),d=jv(l),c=jv(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}};var Yv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,a=Zm.reduce(function(t,n){return t[n]=function(t,e,n){var i=iv(t),r=[Vm,Bm].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[Vm,Fm].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t},{}),s=a[e.placement],l=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=a}};var Xv={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Vv({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}};var Zv={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,c=n.padding,h=n.tether,p=void 0===h||h,f=n.tetherOffset,g=void 0===f?0:f,y=Gv(e,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),m=iv(e.placement),v=Sv(e.placement),x=!v,_=vv(m),b=function(t){return"x"===t?"y":"x"}(_),w=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,$="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,C="number"==typeof $?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(w){if(o){var A,D="y"===_?Bm:Vm,k="y"===_?zm:Fm,L="y"===_?"height":"width",O=w[_],E=O+y[D],P=O-y[k],N=p?-M[L]/2:0,R=v===Hm?S[L]:M[L],B=v===Hm?-M[L]:-S[L],z=e.elements.arrow,F=p&&z?dv(z):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=V[D],W=V[k],H=xv(0,S[L],F[L]),j=x?S[L]/2-N-H-G-C.mainAxis:R-H-G-C.mainAxis,U=x?-S[L]/2+N+H+W+C.mainAxis:B+H+W+C.mainAxis,Y=e.elements.arrow&&mv(e.elements.arrow),X=Y?"y"===_?Y.clientTop||0:Y.clientLeft||0:0,Z=null!=(A=null==I?void 0:I[_])?A:0,q=O+U-Z,K=xv(p?ov(E,O+j-Z-X):E,O,p?rv(P,q):P);w[_]=K,T[_]=K-O}if(s){var J,Q="x"===_?Bm:Vm,tt="x"===_?zm:Fm,et=w[b],nt="y"===b?"height":"width",it=et+y[Q],rt=et-y[tt],ot=-1!==[Bm,Vm].indexOf(m),at=null!=(J=null==I?void 0:I[b])?J:0,st=ot?it:et-S[nt]-M[nt]-at+C.altAxis,lt=ot?et+S[nt]+M[nt]-at-C.altAxis:rt,ut=p&&ot?function(t,e,n){var i=xv(t,e,n);return i>n?n:i}(st,et,lt):xv(p?st:it,et,p?lt:rt);w[b]=ut,T[b]=ut-et}e.modifiersData[i]=T}},requiresIfExists:["offset"]};function qv(t,e,n){void 0===n&&(n=!1);var i=tv(e),r=tv(e)&&function(t){var e=t.getBoundingClientRect(),n=av(e.width)/t.offsetWidth||1,i=av(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),o=fv(e),a=uv(t,r,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Km(e)||Pv(o))&&(s=function(t){return t!==Jm(t)&&tv(t)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):Ov(t)}(e)),tv(e)?((l=uv(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Ev(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Kv(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}}),i.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||r(t)}),i}function Jv(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}var Qv={placement:"bottom",modifiers:[],strategy:"absolute"};function tx(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function ex(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?Qv:r;return function(t,e,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qv,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],s=!1,l={state:r,setOptions:function(n){var s="function"==typeof n?n(r.options):n;u(),r.options=Object.assign({},o,r.options,s),r.scrollParents={reference:Qm(t)?Rv(t):t.contextElement?Rv(t.contextElement):[],popper:Rv(e)};var d=function(t){var e=Kv(t);return qm.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}(function(t){var e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{});return Object.keys(e).map(function(t){return e[t]})}([].concat(i,r.options.modifiers)));return r.orderedModifiers=d.filter(function(t){return t.enabled}),r.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var s=o({state:r,name:e,instance:l,options:i}),u=function(){};a.push(s||u)}}),l.update()},forceUpdate:function(){if(!s){var t=r.elements,e=t.reference,n=t.popper;if(tx(e,n)){r.rects={reference:qv(e,mv(n),"fixed"===r.options.strategy),popper:dv(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach(function(t){return r.modifiersData[t.name]=Object.assign({},t.data)});for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],a=o.fn,u=o.options,d=void 0===u?{}:u,c=o.name;"function"==typeof a&&(r=a({state:r,options:d,name:c,instance:l})||r)}else r.reset=!1,i=-1}}},update:Jv(function(){return new Promise(function(t){l.forceUpdate(),t(r)})}),destroy:function(){u(),s=!0}};if(!tx(t,e))return l;function u(){a.forEach(function(t){return t()}),a=[]}return l.setOptions(n).then(function(t){!s&&n.onFirstUpdate&&n.onFirstUpdate(t)}),l}}ex(),ex({defaultModifiers:[Tv,Xv,Cv,nv]});var nx=ex({defaultModifiers:[Tv,Xv,Cv,nv,Yv,Wv,Zv,wv,Uv]});const ix=Math.min,rx=Math.max,ox=Math.round,ax=Math.floor,sx=t=>({x:t,y:t}),lx={left:"right",right:"left",bottom:"top",top:"bottom"};function ux(t,e,n){return rx(t,ix(e,n))}function dx(t,e){return"function"==typeof t?t(e):t}function cx(t){return t.split("-")[0]}function hx(t){return t.split("-")[1]}function px(t){return"x"===t?"y":"x"}function fx(t){return"y"===t?"height":"width"}function gx(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function yx(t){return px(gx(t))}function mx(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const vx=["left","right"],xx=["right","left"],_x=["top","bottom"],bx=["bottom","top"];function Sx(t,e,n,i){const r=hx(t);let o=function(t,e,n){switch(t){case"top":case"bottom":return n?e?xx:vx:e?vx:xx;case"left":case"right":return e?_x:bx;default:return[]}}(cx(t),"start"===n,i);return r&&(o=o.map(t=>t+"-"+r),e&&(o=o.concat(o.map(mx)))),o}function Mx(t){const e=cx(t);return lx[e]+t.slice(e.length)}function $x(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function Cx(t){const{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function Ix(t,e,n){let{reference:i,floating:r}=t;const o=gx(e),a=yx(e),s=fx(a),l=cx(e),u="y"===o,d=i.x+i.width/2-r.width/2,c=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let p;switch(l){case"top":p={x:d,y:i.y-r.height};break;case"bottom":p={x:d,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-r.width,y:c};break;default:p={x:i.x,y:i.y}}switch(hx(e)){case"start":p[a]-=h*(n&&u?-1:1);break;case"end":p[a]+=h*(n&&u?-1:1)}return p}async function Tx(t,e){var n;void 0===e&&(e={});const{x:i,y:r,platform:o,rects:a,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:h=!1,padding:p=0}=dx(e,t),f=$x(p),g=s[h?"floating"===c?"reference":"floating":c],y=Cx(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),m="floating"===c?{x:i,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},_=Cx(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:v,strategy:l}):m);return{top:(y.top-_.top+f.top)/x.y,bottom:(_.bottom-y.bottom+f.bottom)/x.y,left:(y.left-_.left+f.left)/x.x,right:(_.right-y.right+f.right)/x.x}}const Ax=new Set(["left","top"]);function Dx(){return"undefined"!=typeof window}function kx(t){return Ex(t)?(t.nodeName||"").toLowerCase():"#document"}function Lx(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Ox(t){var e;return null==(e=(Ex(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ex(t){return!!Dx()&&(t instanceof Node||t instanceof Lx(t).Node)}function Px(t){return!!Dx()&&(t instanceof Element||t instanceof Lx(t).Element)}function Nx(t){return!!Dx()&&(t instanceof HTMLElement||t instanceof Lx(t).HTMLElement)}function Rx(t){return!(!Dx()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof Lx(t).ShadowRoot)}function Bx(t){const{overflow:e,overflowX:n,overflowY:i,display:r}=Xx(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==r&&"contents"!==r}function zx(t){return/^(table|td|th)$/.test(kx(t))}function Fx(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}const Vx=/transform|translate|scale|rotate|perspective|filter/,Gx=/paint|layout|strict|content/,Wx=t=>!!t&&"none"!==t;let Hx;function jx(t){const e=Px(t)?Xx(t):t;return Wx(e.transform)||Wx(e.translate)||Wx(e.scale)||Wx(e.rotate)||Wx(e.perspective)||!Ux()&&(Wx(e.backdropFilter)||Wx(e.filter))||Vx.test(e.willChange||"")||Gx.test(e.contain||"")}function Ux(){return null==Hx&&(Hx="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Hx}function Yx(t){return/^(html|body|#document)$/.test(kx(t))}function Xx(t){return Lx(t).getComputedStyle(t)}function Zx(t){return Px(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function qx(t){if("html"===kx(t))return t;const e=t.assignedSlot||t.parentNode||Rx(t)&&t.host||Ox(t);return Rx(e)?e.host:e}function Kx(t){const e=qx(t);return Yx(e)?t.ownerDocument?t.ownerDocument.body:t.body:Nx(e)&&Bx(e)?e:Kx(e)}function Jx(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=Kx(t),o=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Lx(r);if(o){const t=Qx(a);return e.concat(a,a.visualViewport||[],Bx(r)?r:[],t&&n?Jx(t):[])}return e.concat(r,Jx(r,[],n))}function Qx(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function t_(t){const e=Xx(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Nx(t),o=r?t.offsetWidth:n,a=r?t.offsetHeight:i,s=ox(n)!==o||ox(i)!==a;return s&&(n=o,i=a),{width:n,height:i,$:s}}function e_(t){return Px(t)?t:t.contextElement}function n_(t){const e=e_(t);if(!Nx(e))return sx(1);const n=e.getBoundingClientRect(),{width:i,height:r,$:o}=t_(e);let a=(o?ox(n.width):n.width)/i,s=(o?ox(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const i_=sx(0);function r_(t){const e=Lx(t);return Ux()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:i_}function o_(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),o=e_(t);let a=sx(1);e&&(i?Px(i)&&(a=n_(i)):a=n_(t));const s=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==Lx(t))&&e}(o,n,i)?r_(o):sx(0);let l=(r.left+s.x)/a.x,u=(r.top+s.y)/a.y,d=r.width/a.x,c=r.height/a.y;if(o){const t=Lx(o),e=i&&Px(i)?Lx(i):i;let n=t,r=Qx(n);for(;r&&i&&e!==n;){const t=n_(r),e=r.getBoundingClientRect(),i=Xx(r),o=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,u*=t.y,d*=t.x,c*=t.y,l+=o,u+=a,n=Lx(r),r=Qx(n)}}return Cx({width:d,height:c,x:l,y:u})}function a_(t,e){const n=Zx(t).scrollLeft;return e?e.left+n:o_(Ox(t)).left+n}function s_(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-a_(t,n),y:n.top+e.scrollTop}}function l_(t,e,n){let i;if("viewport"===e)i=function(t,e){const n=Lx(t),i=Ox(t),r=n.visualViewport;let o=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;const t=Ux();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}const u=a_(i);if(u<=0){const t=i.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(i.clientWidth-e.clientWidth-r);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(t,n);else if("document"===e)i=function(t){const e=Ox(t),n=Zx(t),i=t.ownerDocument.body,r=rx(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),o=rx(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-n.scrollLeft+a_(t);const s=-n.scrollTop;return"rtl"===Xx(i).direction&&(a+=rx(e.clientWidth,i.clientWidth)-r),{width:r,height:o,x:a,y:s}}(Ox(t));else if(Px(e))i=function(t,e){const n=o_(t,!0,"fixed"===e),i=n.top+t.clientTop,r=n.left+t.clientLeft,o=Nx(t)?n_(t):sx(1);return{width:t.clientWidth*o.x,height:t.clientHeight*o.y,x:r*o.x,y:i*o.y}}(e,n);else{const n=r_(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return Cx(i)}function u_(t,e){const n=qx(t);return!(n===e||!Px(n)||Yx(n))&&("fixed"===Xx(n).position||u_(n,e))}function d_(t,e,n){const i=Nx(e),r=Ox(e),o="fixed"===n,a=o_(t,!0,o,e);let s={scrollLeft:0,scrollTop:0};const l=sx(0);function u(){l.x=a_(r)}if(i||!i&&!o)if(("body"!==kx(e)||Bx(r))&&(s=Zx(e)),i){const t=o_(e,!0,o,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&u();o&&!i&&r&&u();const d=!r||i||o?sx(0):s_(r,s);return{x:a.left+s.scrollLeft-l.x-d.x,y:a.top+s.scrollTop-l.y-d.y,width:a.width,height:a.height}}function c_(t){return"static"===Xx(t).position}function h_(t,e){if(!Nx(t)||"fixed"===Xx(t).position)return null;if(e)return e(t);let n=t.offsetParent;return Ox(t)===n&&(n=n.ownerDocument.body),n}function p_(t,e){const n=Lx(t);if(Fx(t))return n;if(!Nx(t)){let e=qx(t);for(;e&&!Yx(e);){if(Px(e)&&!c_(e))return e;e=qx(e)}return n}let i=h_(t,e);for(;i&&zx(i)&&c_(i);)i=h_(i,e);return i&&Yx(i)&&c_(i)&&!jx(i)?n:i||function(t){let e=qx(t);for(;Nx(e)&&!Yx(e);){if(jx(e))return e;if(Fx(e))return null;e=qx(e)}return null}(t)||n}const f_={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t;const o="fixed"===r,a=Ox(i),s=!!e&&Fx(e.floating);if(i===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=sx(1);const d=sx(0),c=Nx(i);if((c||!c&&!o)&&(("body"!==kx(i)||Bx(a))&&(l=Zx(i)),c)){const t=o_(i);u=n_(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}const h=!a||c||o?sx(0):s_(a,l);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}},getDocumentElement:Ox,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:r}=t;const o=[..."clippingAncestors"===n?Fx(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=Jx(t,[],!1).filter(t=>Px(t)&&"body"!==kx(t)),r=null;const o="fixed"===Xx(t).position;let a=o?qx(t):t;for(;Px(a)&&!Yx(a);){const e=Xx(a),n=jx(a);n||"fixed"!==e.position||(r=null),(o?!n&&!r:!n&&"static"===e.position&&r&&("absolute"===r.position||"fixed"===r.position)||Bx(a)&&!n&&u_(t,a))?i=i.filter(t=>t!==a):r=e,a=qx(a)}return e.set(t,i),i}(e,this._c):[].concat(n),i],a=l_(e,o[0],r);let s=a.top,l=a.right,u=a.bottom,d=a.left;for(let c=1;c<o.length;c++){const t=l_(e,o[c],r);s=rx(t.top,s),l=ix(t.right,l),u=ix(t.bottom,u),d=rx(t.left,d)}return{width:l-d,height:u-s,x:d,y:s}},getOffsetParent:p_,getElementRects:async function(t){const e=this.getOffsetParent||p_,n=this.getDimensions,i=await n(t.floating);return{reference:d_(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=t_(t);return{width:e,height:n}},getScale:n_,isElement:Px,isRTL:function(t){return"rtl"===Xx(t).direction}};function g_(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function y_(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,u=e_(t),d=r||o?[...u?Jx(u):[],...e?Jx(e):[]]:[];d.forEach(t=>{r&&t.addEventListener("scroll",n,{passive:!0}),o&&t.addEventListener("resize",n)});const c=u&&s?function(t,e){let n,i=null;const r=Ox(t);function o(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const u=t.getBoundingClientRect(),{left:d,top:c,width:h,height:p}=u;if(s||e(),!h||!p)return;const f={rootMargin:-ax(c)+"px "+-ax(r.clientWidth-(d+h))+"px "+-ax(r.clientHeight-(c+p))+"px "+-ax(d)+"px",threshold:rx(0,ix(1,l))||1};let g=!0;function y(e){const i=e[0].intersectionRatio;if(i!==l){if(!g)return a();i?a(!1,i):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==i||g_(u,t.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(y,{...f,root:r.ownerDocument})}catch(m){i=new IntersectionObserver(y,f)}i.observe(t)}(!0),o}(u,n):null;let h,p=-1,f=null;a&&(f=new ResizeObserver(t=>{let[i]=t;i&&i.target===u&&f&&e&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=f)||t.observe(e)})),n()}),u&&!l&&f.observe(u),e&&f.observe(e));let g=l?o_(t):null;return l&&function e(){const i=o_(t);g&&!g_(g,i)&&n();g=i,h=requestAnimationFrame(e)}(),n(),()=>{var t;d.forEach(t=>{r&&t.removeEventListener("scroll",n),o&&t.removeEventListener("resize",n)}),null==c||c(),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const m_=Tx,v_=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;const{x:r,y:o,placement:a,middlewareData:s}=e,l=await async function(t,e){const{placement:n,platform:i,elements:r}=t,o=await(null==i.isRTL?void 0:i.isRTL(r.floating)),a=cx(n),s=hx(n),l="y"===gx(n),u=Ax.has(a)?-1:1,d=o&&l?-1:1,c=dx(e,t);let{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return s&&"number"==typeof f&&(p="end"===s?-1*f:f),l?{x:p*d,y:h*u}:{x:h*u,y:p*d}}(e,t);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(i=s.arrow)&&i.alignmentOffset?{}:{x:r+l.x,y:o+l.y,data:{...l,placement:a}}}}},x_=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:r,platform:o}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...u}=dx(t,e),d={x:n,y:i},c=await o.detectOverflow(e,u),h=gx(cx(r)),p=px(h);let f=d[p],g=d[h];if(a){const t="y"===p?"bottom":"right";f=ux(f+c["y"===p?"top":"left"],f,f-c[t])}if(s){const t="y"===h?"bottom":"right";g=ux(g+c["y"===h?"top":"left"],g,g-c[t])}const y=l.fn({...e,[p]:f,[h]:g});return{...y,data:{x:y.x-n,y:y.y-i,enabled:{[p]:a,[h]:s}}}}}},__=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:r,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:g=!0,...y}=dx(t,e);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=cx(r),v=gx(s),x=cx(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(u.floating)),b=h||(x||!g?[Mx(s)]:function(t){const e=Mx(t);return[mx(t),e,mx(e)]}(s)),w="none"!==f;!h&&w&&b.push(...Sx(s,g,f,_));const S=[s,...b],M=await l.detectOverflow(e,y),$=[];let C=(null==(i=o.flip)?void 0:i.overflows)||[];if(d&&$.push(M[m]),c){const t=function(t,e,n){void 0===n&&(n=!1);const i=hx(t),r=yx(t),o=fx(r);let a="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[o]>e.floating[o]&&(a=Mx(a)),[a,Mx(a)]}(r,a,_);$.push(M[t[0]],M[t[1]])}if(C=[...C,{placement:r,overflows:$}],!$.every(t=>t<=0)){var I,T;const t=((null==(I=o.flip)?void 0:I.index)||0)+1,e=S[t];if(e){if(!("alignment"===c&&v!==gx(e))||C.every(t=>gx(t.placement)!==v||t.overflows[0]>0))return{data:{index:t,overflows:C},reset:{placement:e}}}let n=null==(T=C.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:T.placement;if(!n)switch(p){case"bestFit":{var A;const t=null==(A=C.filter(t=>{if(w){const e=gx(t.placement);return e===v||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:A[0];t&&(n=t);break}case"initialPlacement":n=s}if(r!==n)return{reset:{placement:n}}}return{}}}},b_=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:r,rects:o,platform:a,elements:s,middlewareData:l}=e,{element:u,padding:d=0}=dx(t,e)||{};if(null==u)return{};const c=$x(d),h={x:n,y:i},p=yx(r),f=fx(p),g=await a.getDimensions(u),y="y"===p,m=y?"top":"left",v=y?"bottom":"right",x=y?"clientHeight":"clientWidth",_=o.reference[f]+o.reference[p]-h[p]-o.floating[f],b=h[p]-o.reference[p],w=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let S=w?w[x]:0;S&&await(null==a.isElement?void 0:a.isElement(w))||(S=s.floating[x]||o.floating[f]);const M=_/2-b/2,$=S/2-g[f]/2-1,C=ix(c[m],$),I=ix(c[v],$),T=C,A=S-g[f]-I,D=S/2-g[f]/2+M,k=ux(T,D,A),L=!l.arrow&&null!=hx(r)&&D!==k&&o.reference[f]/2-(D<T?C:I)-g[f]/2<0,O=L?D<T?D-T:D-A:0;return{[p]:h[p]+O,data:{[p]:k,centerOffset:D-k-O,...L&&{alignmentOffset:O}},reset:L}}}),w_=(t,e,n)=>{const i=new Map,r={platform:f_,...n},o={...r.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:Tx},l=await(null==a.isRTL?void 0:a.isRTL(e));let u=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:c}=Ix(u,i,l),h=i,p=0;const f={};for(let g=0;g<o.length;g++){const n=o[g];if(!n)continue;const{name:y,fn:m}=n,{x:v,y:x,data:_,reset:b}=await m({x:d,y:c,initialPlacement:i,placement:h,strategy:r,middlewareData:f,rects:u,platform:s,elements:{reference:t,floating:e}});d=null!=v?v:d,c=null!=x?x:c,f[y]={...f[y],..._},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):b.rects),({x:d,y:c}=Ix(u,h,l))),g=-1)}return{x:d,y:c,placement:h,strategy:r,middlewareData:f}})(t,e,{...r,platform:o})};function S_(){return S_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},S_.apply(this,arguments)}function M_(t){return(M_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $_(t,e){return($_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function C_(t,e,n){return(C_=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Qb){return!1}}()?Reflect.construct.bind():function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&$_(r,n.prototype),r}).apply(null,arguments)}function I_(t){var e="function"==typeof Map?new Map:void 0;return I_=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return C_(t,arguments,M_(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),$_(i,t)},I_(t)}var T_=/%[sdj%]/g;function A_(t){if(!t||!t.length)return null;var e={};return t.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function D_(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=0,o=n.length;return"function"==typeof t?t.apply(null,n):"string"==typeof t?t.replace(T_,function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}break;default:return t}}):t}function k_(t,e){return null==t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!function(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t}(e)||"string"!=typeof t||t))}function L_(t,e,n){var i=0,r=t.length;!function o(a){if(a&&a.length)n(a);else{var s=i;i+=1,s<r?e(t[s],o):n([])}}([])}var O_=function(t){var e,n;function i(e,n){var i;return(i=t.call(this,"Async Validation Error")||this).errors=e,i.fields=n,i}return n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,$_(e,n),i}(I_(Error));function E_(t,e,n,i,r){if(e.first){var o=new Promise(function(e,o){var a=function(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n]||[])}),e}(t);L_(a,n,function(t){return i(t),t.length?o(new O_(t,A_(t))):e(r)})});return o.catch(function(t){return t}),o}var a=!0===e.firstFields?Object.keys(t):e.firstFields||[],s=Object.keys(t),l=s.length,u=0,d=[],c=new Promise(function(e,o){var c=function(t){if(d.push.apply(d,t),++u===l)return i(d),d.length?o(new O_(d,A_(d))):e(r)};s.length||(i(d),e(r)),s.forEach(function(e){var i=t[e];-1!==a.indexOf(e)?L_(i,n,c):function(t,e,n){var i=[],r=0,o=t.length;function a(t){i.push.apply(i,t||[]),++r===o&&n(i)}t.forEach(function(t){e(t,a)})}(i,n,c)})});return c.catch(function(t){return t}),c}function P_(t,e){return function(n){var i,r;return i=t.fullFields?function(t,e){for(var n=t,i=0;i<e.length;i++){if(null==n)return n;n=n[e[i]]}return n}(e,t.fullFields):e[n.field||t.fullField],(r=n)&&void 0!==r.message?(n.field=n.field||t.fullField,n.fieldValue=i,n):{message:"function"==typeof n?n():n,fieldValue:i,field:n.field||t.fullField}}}function N_(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];"object"==typeof i&&"object"==typeof t[n]?t[n]=S_({},t[n],i):t[n]=i}return t}var R_,B_=function(t,e,n,i,r,o){!t.required||n.hasOwnProperty(t.field)&&!k_(e,o||t.type)||i.push(D_(r.messages.required,t.fullField))},z_=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,F_=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,V_={integer:function(t){return V_.number(t)&&parseInt(t,10)===t},float:function(t){return V_.number(t)&&!V_.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(Qb){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear&&!isNaN(t.getTime())},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"==typeof t&&!V_.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&t.length<=320&&!!t.match(z_)},url:function(t){return"string"==typeof t&&t.length<=2048&&!!t.match(function(){if(R_)return R_;var t="[a-fA-F\\d:]",e=function(e){return e&&e.includeBoundaries?"(?:(?<=\\s|^)(?="+t+")|(?<="+t+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",i="[a-fA-F\\d]{1,4}",r=("\n(?:\n(?:"+i+":){7}(?:"+i+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+i+":){6}(?:"+n+"|:"+i+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+i+":){5}(?::"+n+"|(?::"+i+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+i+":){4}(?:(?::"+i+"){0,1}:"+n+"|(?::"+i+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+i+":){3}(?:(?::"+i+"){0,2}:"+n+"|(?::"+i+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+i+":){2}(?:(?::"+i+"){0,3}:"+n+"|(?::"+i+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+i+":){1}(?:(?::"+i+"){0,4}:"+n+"|(?::"+i+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+i+"){0,5}:"+n+"|(?::"+i+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+r+"$"),l=function(t){return t&&t.exact?o:new RegExp("(?:"+e(t)+n+e(t)+")|(?:"+e(t)+r+e(t)+")","g")};l.v4=function(t){return t&&t.exact?a:new RegExp(""+e(t)+n+e(t),"g")},l.v6=function(t){return t&&t.exact?s:new RegExp(""+e(t)+r+e(t),"g")};var u=l.v4().source,d=l.v6().source;return R_=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+u+"|"+d+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(t){return"string"==typeof t&&!!t.match(F_)}},G_="enum",W_={required:B_,whitespace:function(t,e,n,i,r){(/^\s+$/.test(e)||""===e)&&i.push(D_(r.messages.whitespace,t.fullField))},type:function(t,e,n,i,r){if(t.required&&void 0===e)B_(t,e,n,i,r);else{var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?V_[o](e)||i.push(D_(r.messages.types[o],t.fullField,t.type)):o&&typeof e!==t.type&&i.push(D_(r.messages.types[o],t.fullField,t.type))}},range:function(t,e,n,i,r){var o="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,l=e,u=null,d="number"==typeof e,c="string"==typeof e,h=Array.isArray(e);if(d?u="number":c?u="string":h&&(u="array"),!u)return!1;h&&(l=e.length),c&&(l=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==t.len&&i.push(D_(r.messages[u].len,t.fullField,t.len)):a&&!s&&l<t.min?i.push(D_(r.messages[u].min,t.fullField,t.min)):s&&!a&&l>t.max?i.push(D_(r.messages[u].max,t.fullField,t.max)):a&&s&&(l<t.min||l>t.max)&&i.push(D_(r.messages[u].range,t.fullField,t.min,t.max))},enum:function(t,e,n,i,r){t[G_]=Array.isArray(t[G_])?t[G_]:[],-1===t[G_].indexOf(e)&&i.push(D_(r.messages[G_],t.fullField,t[G_].join(", ")))},pattern:function(t,e,n,i,r){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(D_(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"==typeof t.pattern){new RegExp(t.pattern).test(e)||i.push(D_(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}},H_=function(t,e,n,i,r){var o=t.type,a=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e,o)&&!t.required)return n();W_.required(t,e,i,a,r,o),k_(e,o)||W_.type(t,e,i,a,r)}n(a)},j_={string:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e,"string")&&!t.required)return n();W_.required(t,e,i,o,r,"string"),k_(e,"string")||(W_.type(t,e,i,o,r),W_.range(t,e,i,o,r),W_.pattern(t,e,i,o,r),!0===t.whitespace&&W_.whitespace(t,e,i,o,r))}n(o)},method:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&W_.type(t,e,i,o,r)}n(o)},number:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(""===e&&(e=void 0),k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&(W_.type(t,e,i,o,r),W_.range(t,e,i,o,r))}n(o)},boolean:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&W_.type(t,e,i,o,r)}n(o)},regexp:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),k_(e)||W_.type(t,e,i,o,r)}n(o)},integer:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&(W_.type(t,e,i,o,r),W_.range(t,e,i,o,r))}n(o)},float:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&(W_.type(t,e,i,o,r),W_.range(t,e,i,o,r))}n(o)},array:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(null==e&&!t.required)return n();W_.required(t,e,i,o,r,"array"),null!=e&&(W_.type(t,e,i,o,r),W_.range(t,e,i,o,r))}n(o)},object:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&W_.type(t,e,i,o,r)}n(o)},enum:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r),void 0!==e&&W_.enum(t,e,i,o,r)}n(o)},pattern:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e,"string")&&!t.required)return n();W_.required(t,e,i,o,r),k_(e,"string")||W_.pattern(t,e,i,o,r)}n(o)},date:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e,"date")&&!t.required)return n();var a;if(W_.required(t,e,i,o,r),!k_(e,"date"))a=e instanceof Date?e:new Date(e),W_.type(t,a,i,o,r),a&&W_.range(t,a.getTime(),i,o,r)}n(o)},url:H_,hex:H_,email:H_,required:function(t,e,n,i,r){var o=[],a=Array.isArray(e)?"array":typeof e;W_.required(t,e,i,o,r,a),n(o)},any:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(k_(e)&&!t.required)return n();W_.required(t,e,i,o,r)}n(o)}};function U_(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Y_=U_(),X_=function(){function t(t){this.rules=null,this._messages=Y_,this.define(t)}var e=t.prototype;return e.define=function(t){var e=this;if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof t||Array.isArray(t))throw new Error("Rules must be an object");this.rules={},Object.keys(t).forEach(function(n){var i=t[n];e.rules[n]=Array.isArray(i)?i:[i]})},e.messages=function(t){return t&&(this._messages=N_(U_(),t)),this._messages},e.validate=function(e,n,i){var r=this;void 0===n&&(n={}),void 0===i&&(i=function(){});var o=e,a=n,s=i;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,o),Promise.resolve(o);if(a.messages){var l=this.messages();l===Y_&&(l=U_()),N_(l,a.messages),a.messages=l}else a.messages=this.messages();var u={};(a.keys||Object.keys(this.rules)).forEach(function(t){var n=r.rules[t],i=o[t];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(o===e&&(o=S_({},o)),i=o[t]=a.transform(i)),(a="function"==typeof a?{validator:a}:S_({},a)).validator=r.getValidationMethod(a),a.validator&&(a.field=t,a.fullField=a.fullField||t,a.type=r.getType(a),u[t]=u[t]||[],u[t].push({rule:a,value:i,source:o,field:t}))})});var d={};return E_(u,a,function(e,n){var i,r=e.rule,s=!("object"!==r.type&&"array"!==r.type||"object"!=typeof r.fields&&"object"!=typeof r.defaultField);function l(t,e){return S_({},e,{fullField:r.fullField+"."+t,fullFields:r.fullFields?[].concat(r.fullFields,[t]):[t]})}function u(i){void 0===i&&(i=[]);var u=Array.isArray(i)?i:[i];!a.suppressWarning&&u.length&&t.warning("async-validator:",u),u.length&&void 0!==r.message&&(u=[].concat(r.message));var c=u.map(P_(r,o));if(a.first&&c.length)return d[r.field]=1,n(c);if(s){if(r.required&&!e.value)return void 0!==r.message?c=[].concat(r.message).map(P_(r,o)):a.error&&(c=[a.error(r,D_(a.messages.required,r.field))]),n(c);var h={};r.defaultField&&Object.keys(e.value).map(function(t){h[t]=r.defaultField}),h=S_({},h,e.rule.fields);var p={};Object.keys(h).forEach(function(t){var e=h[t],n=Array.isArray(e)?e:[e];p[t]=n.map(l.bind(null,t))});var f=new t(p);f.messages(a.messages),e.rule.options&&(e.rule.options.messages=a.messages,e.rule.options.error=a.error),f.validate(e.value,e.rule.options||a,function(t){var e=[];c&&c.length&&e.push.apply(e,c),t&&t.length&&e.push.apply(e,t),n(e.length?e:null)})}else n(c)}if(s=s&&(r.required||!r.required&&e.value),r.field=e.field,r.asyncValidator)i=r.asyncValidator(r,e.value,u,e.source,a);else if(r.validator){try{i=r.validator(r,e.value,u,e.source,a)}catch(c){null==console.error||console.error(c),a.suppressValidatorError||setTimeout(function(){throw c},0),u(c.message)}!0===i?u():!1===i?u("function"==typeof r.message?r.message(r.fullField||r.field):r.message||(r.fullField||r.field)+" fails"):i instanceof Array?u(i):i instanceof Error&&u(i.message)}i&&i.then&&i.then(function(){return u()},function(t){return u(t)})},function(t){!function(t){var e=[],n={};function i(t){var n;Array.isArray(t)?e=(n=e).concat.apply(n,t):e.push(t)}for(var r=0;r<t.length;r++)i(t[r]);e.length?(n=A_(e),s(e,n)):s(null,o)}(t)},o)},e.getType=function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!j_.hasOwnProperty(t.type))throw new Error(D_("Unknown rule type %s",t.type));return t.type||"string"},e.getValidationMethod=function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?j_.required:j_[this.getType(t)]||void 0},t}();function Z_(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");const n=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function q_(t){return Math.min(1,Math.max(0,t))}function K_(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function J_(t){return Number(t)<=1?100*Number(t)+"%":t}function Q_(t){return 1===t.length?"0"+t:String(t)}function tb(t,e,n){t=Z_(t,255),e=Z_(e,255),n=Z_(n,255);const i=Math.max(t,e,n),r=Math.min(t,e,n);let o=0,a=0;const s=(i+r)/2;if(i===r)a=0,o=0;else{const l=i-r;switch(a=s>.5?l/(2-i-r):l/(i+r),i){case t:o=(e-n)/l+(e<n?6:0);break;case e:o=(n-t)/l+2;break;case n:o=(t-e)/l+4}o/=6}return{h:o,s:a,l:s}}function eb(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function nb(t,e,n){t=Z_(t,255),e=Z_(e,255),n=Z_(n,255);const i=Math.max(t,e,n),r=Math.min(t,e,n);let o=0;const a=i,s=i-r,l=0===i?0:s/i;if(i===r)o=0;else{switch(i){case t:o=(e-n)/s+(e<n?6:0);break;case e:o=(n-t)/s+2;break;case n:o=(t-e)/s+4}o/=6}return{h:o,s:l,v:a}}function ib(t,e,n,i){const r=[Q_(Math.round(t).toString(16)),Q_(Math.round(e).toString(16)),Q_(Math.round(n).toString(16))];return i&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function rb(t,e,n){let i=1-t/255,r=1-e/255,o=1-n/255,a=Math.min(i,r,o);return 1===a?(i=0,r=0,o=0):(i=(i-a)/(1-a)*100,r=(r-a)/(1-a)*100,o=(o-a)/(1-a)*100),a*=100,{c:Math.round(i),m:Math.round(r),y:Math.round(o),k:Math.round(a)}}function ob(t){return ab(t)/255}function ab(t){return parseInt(t,16)}X_.register=function(t,e){if("function"!=typeof e)throw new Error("Cannot register a validator by type, validator is not a function");j_[t]=e},X_.warning=function(){},X_.messages=Y_,X_.validators=j_;const sb={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function lb(t){let e={r:0,g:0,b:0},n=1,i=null,r=null,o=null,a=!1,s=!1;var l,u,d;return"string"==typeof t&&(t=function(t){if(t=t.trim().toLowerCase(),0===t.length)return!1;let e=!1;if(sb[t])t=sb[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};let n=hb.rgb.exec(t);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=hb.rgba.exec(t),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=hb.hsl.exec(t),n)return{h:n[1],s:n[2],l:n[3]};if(n=hb.hsla.exec(t),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=hb.hsv.exec(t),n)return{h:n[1],s:n[2],v:n[3]};if(n=hb.hsva.exec(t),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=hb.cmyk.exec(t),n)return{c:n[1],m:n[2],y:n[3],k:n[4]};if(n=hb.hex8.exec(t),n)return{r:ab(n[1]),g:ab(n[2]),b:ab(n[3]),a:ob(n[4]),format:e?"name":"hex8"};if(n=hb.hex6.exec(t),n)return{r:ab(n[1]),g:ab(n[2]),b:ab(n[3]),format:e?"name":"hex"};if(n=hb.hex4.exec(t),n)return{r:ab(n[1]+n[1]),g:ab(n[2]+n[2]),b:ab(n[3]+n[3]),a:ob(n[4]+n[4]),format:e?"name":"hex8"};if(n=hb.hex3.exec(t),n)return{r:ab(n[1]+n[1]),g:ab(n[2]+n[2]),b:ab(n[3]+n[3]),format:e?"name":"hex"};return!1}(t)),"object"==typeof t&&(pb(t.r)&&pb(t.g)&&pb(t.b)?(l=t.r,u=t.g,d=t.b,e={r:255*Z_(l,255),g:255*Z_(u,255),b:255*Z_(d,255)},a=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):pb(t.h)&&pb(t.s)&&pb(t.v)?(i=J_(t.s),r=J_(t.v),e=function(t,e,n){t=6*Z_(t,360),e=Z_(e,100),n=Z_(n,100);const i=Math.floor(t),r=t-i,o=n*(1-e),a=n*(1-r*e),s=n*(1-(1-r)*e),l=i%6;return{r:255*[n,a,o,o,s,n][l],g:255*[s,n,n,a,o,o][l],b:255*[o,o,s,n,n,a][l]}}(t.h,i,r),a=!0,s="hsv"):pb(t.h)&&pb(t.s)&&pb(t.l)?(i=J_(t.s),o=J_(t.l),e=function(t,e,n){let i,r,o;if(t=Z_(t,360),e=Z_(e,100),n=Z_(n,100),0===e)r=n,o=n,i=n;else{const a=n<.5?n*(1+e):n+e-n*e,s=2*n-a;i=eb(s,a,t+1/3),r=eb(s,a,t),o=eb(s,a,t-1/3)}return{r:255*i,g:255*r,b:255*o}}(t.h,i,o),a=!0,s="hsl"):pb(t.c)&&pb(t.m)&&pb(t.y)&&pb(t.k)&&(e=function(t,e,n,i){const r=i/100;return{r:255*(1-t/100)*(1-r),g:255*(1-e/100)*(1-r),b:255*(1-n/100)*(1-r)}}(t.c,t.m,t.y,t.k),a=!0,s="cmyk"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=K_(n),{ok:a,format:t.format||s,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}const ub="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",db="[\\s|\\(]+("+ub+")[,|\\s]+("+ub+")[,|\\s]+("+ub+")\\s*\\)?",cb="[\\s|\\(]+("+ub+")[,|\\s]+("+ub+")[,|\\s]+("+ub+")[,|\\s]+("+ub+")\\s*\\)?",hb={CSS_UNIT:new RegExp(ub),rgb:new RegExp("rgb"+db),rgba:new RegExp("rgba"+cb),hsl:new RegExp("hsl"+db),hsla:new RegExp("hsla"+cb),hsv:new RegExp("hsv"+db),hsva:new RegExp("hsva"+cb),cmyk:new RegExp("cmyk"+cb),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function pb(t){return"number"==typeof t?!Number.isNaN(t):hb.CSS_UNIT.test(t)}class fb{constructor(t="",e={}){if(t instanceof fb)return t;"number"==typeof t&&(t=function(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}(t)),this.originalInput=t;const n=lb(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=e.format??n.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3}getLuminance(){const t=this.toRgb();let e,n,i;const r=t.r/255,o=t.g/255,a=t.b/255;return e=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),i=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),.2126*e+.7152*n+.0722*i}getAlpha(){return this.a}setAlpha(t){return this.a=K_(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return 0===t}toHsv(){const t=nb(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=nb(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.v);return 1===this.a?`hsv(${e}, ${n}%, ${i}%)`:`hsva(${e}, ${n}%, ${i}%, ${this.roundA})`}toHsl(){const t=tb(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}}toHslString(){const t=tb(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.l);return 1===this.a?`hsl(${e}, ${n}%, ${i}%)`:`hsla(${e}, ${n}%, ${i}%, ${this.roundA})`}toHex(t=!1){return ib(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return function(t,e,n,i,r){const o=[Q_(Math.round(t).toString(16)),Q_(Math.round(e).toString(16)),Q_(Math.round(n).toString(16)),Q_((a=i,Math.round(255*parseFloat(a)).toString(16)))];var a;return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return 1===this.a?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return 1===this.a?`rgb(${t}, ${e}, ${n})`:`rgba(${t}, ${e}, ${n}, ${this.roundA})`}toPercentageRgb(){const t=t=>`${Math.round(100*Z_(t,255))}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=t=>Math.round(100*Z_(t,255));return 1===this.a?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...rb(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:e,y:n,k:i}=rb(this.r,this.g,this.b);return`cmyk(${t}, ${e}, ${n}, ${i})`}toName(){if(0===this.a)return"transparent";if(this.a<1)return!1;const t="#"+ib(this.r,this.g,this.b,!1);for(const[e,n]of Object.entries(sb))if(t===n)return e;return!1}toString(t){const e=Boolean(t);t=t??this.format;let n=!1;const i=this.a<1&&this.a>=0;return e||!i||!t.startsWith("hex")&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),"cmyk"===t&&(n=this.toCmykString()),n||this.toHexString()):"name"===t&&0===this.a?this.toName():this.toRgbString()}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new fb(this.toString())}lighten(t=10){const e=this.toHsl();return e.l+=t/100,e.l=q_(e.l),new fb(e)}brighten(t=10){const e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-t/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-t/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-t/100*255))),new fb(e)}darken(t=10){const e=this.toHsl();return e.l-=t/100,e.l=q_(e.l),new fb(e)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const e=this.toHsl();return e.s-=t/100,e.s=q_(e.s),new fb(e)}saturate(t=10){const e=this.toHsl();return e.s+=t/100,e.s=q_(e.s),new fb(e)}greyscale(){return this.desaturate(100)}spin(t){const e=this.toHsl(),n=(e.h+t)%360;return e.h=n<0?360+n:n,new fb(e)}mix(t,e=50){const n=this.toRgb(),i=new fb(t).toRgb(),r=e/100,o={r:(i.r-n.r)*r+n.r,g:(i.g-n.g)*r+n.g,b:(i.b-n.b)*r+n.b,a:(i.a-n.a)*r+n.a};return new fb(o)}analogous(t=6,e=30){const n=this.toHsl(),i=360/e,r=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,r.push(new fb(n));return r}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new fb(t)}monochromatic(t=6){const e=this.toHsv(),{h:n}=e,{s:i}=e;let{v:r}=e;const o=[],a=1/t;for(;t--;)o.push(new fb({h:n,s:i,v:r})),r=(r+a)%1;return o}splitcomplement(){const t=this.toHsl(),{h:e}=t;return[this,new fb({h:(e+72)%360,s:t.s,l:t.l}),new fb({h:(e+216)%360,s:t.s,l:t.l})]}onBackground(t){const e=this.toRgb(),n=new fb(t).toRgb(),i=e.a+n.a*(1-e.a);return new fb({r:(e.r*e.a+n.r*n.a*(1-e.a))/i,g:(e.g*e.a+n.g*n.a*(1-e.a))/i,b:(e.b*e.a+n.b*n.a*(1-e.a))/i,a:i})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const e=this.toHsl(),{h:n}=e,i=[this],r=360/t;for(let o=1;o<t;o++)i.push(new fb({h:(n+o*r)%360,s:e.s,l:e.l}));return i}equals(t){const e=new fb(t);return"cmyk"===this.format||"cmyk"===e.format?this.toCmykString()===e.toCmykString():this.toRgbString()===e.toRgbString()}}var gb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function yb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var mb={exports:{}};mb.exports=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",o="minute",a="hour",s="day",l="week",u="month",d="quarter",c="year",h="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+m(i,2,"0")+":"+m(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),o=n-r<0,a=e.clone().add(i+(o?-1:1),u);return+(-(i+(n-r)/(o?r-a:a-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:c,w:l,d:s,D:h,h:a,m:o,s:r,ms:i,Q:d}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",_={};_[x]=y;var b="$isDayjsObject",w=function(t){return t instanceof C||!(!t||!t[b])},S=function t(e,n,i){var r;if(!e)return x;if("string"==typeof e){var o=e.toLowerCase();_[o]&&(r=o),n&&(_[o]=n,r=o);var a=e.split("-");if(!r&&a.length>1)return t(a[0])}else{var s=e.name;_[s]=e,r=s}return!i&&r&&(x=r),r||!i&&x},M=function(t,e){if(w(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new C(n)},$=v;$.l=S,$.i=w,$.w=function(t,e){return M(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var C=function(){function y(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var m=y.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if($.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(f);if(i){var r=i[2]-1||0,o=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return $},m.isValid=function(){return!(this.$d.toString()===p)},m.isSame=function(t,e){var n=M(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return M(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<M(t)},m.$g=function(t,e,n){return $.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,i=!!$.u(e)||e,d=$.p(t),p=function(t,e){var r=$.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(s)},f=function(t,e){return $.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},g=this.$W,y=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case c:return i?p(1,0):p(31,11);case u:return i?p(1,y):p(0,y+1);case l:var x=this.$locale().weekStart||0,_=(g<x?g+7:g)-x;return p(i?m-_:m+(6-_),y);case s:case h:return f(v+"Hours",0);case a:return f(v+"Minutes",1);case o:return f(v+"Seconds",2);case r:return f(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,l=$.p(t),d="set"+(this.$u?"UTC":""),p=(n={},n[s]=d+"Date",n[h]=d+"Date",n[u]=d+"Month",n[c]=d+"FullYear",n[a]=d+"Hours",n[o]=d+"Minutes",n[r]=d+"Seconds",n[i]=d+"Milliseconds",n)[l],f=l===s?this.$D+(e-this.$W):e;if(l===u||l===c){var g=this.clone().set(h,1);g.$d[p](f),g.init(),this.$d=g.set(h,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[$.p(t)]()},m.add=function(i,d){var h,p=this;i=Number(i);var f=$.p(d),g=function(t){var e=M(p);return $.w(e.date(e.date()+Math.round(t*i)),p)};if(f===u)return this.set(u,this.$M+i);if(f===c)return this.set(c,this.$y+i);if(f===s)return g(1);if(f===l)return g(7);var y=(h={},h[o]=e,h[a]=n,h[r]=t,h)[f]||1,m=this.$d.getTime()+i*y;return $.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=$.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,u=n.months,d=n.meridiem,c=function(t,n,r,o){return t&&(t[n]||t(e,i))||r[n].slice(0,o)},h=function(t){return $.s(o%12||12,t,"0")},f=d||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(g,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return $.s(e.$y,4,"0");case"M":return s+1;case"MM":return $.s(s+1,2,"0");case"MMM":return c(n.monthsShort,s,u,3);case"MMMM":return c(u,s);case"D":return e.$D;case"DD":return $.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return c(n.weekdaysMin,e.$W,l,2);case"ddd":return c(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return $.s(o,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return f(o,a,!0);case"A":return f(o,a,!1);case"m":return String(a);case"mm":return $.s(a,2,"0");case"s":return String(e.$s);case"ss":return $.s(e.$s,2,"0");case"SSS":return $.s(e.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(i,h,p){var f,g=this,y=$.p(h),m=M(i),v=(m.utcOffset()-this.utcOffset())*e,x=this-m,_=function(){return $.m(g,m)};switch(y){case c:f=_()/12;break;case u:f=_();break;case d:f=_()/3;break;case l:f=(x-v)/6048e5;break;case s:f=(x-v)/864e5;break;case a:f=x/n;break;case o:f=x/e;break;case r:f=x/t;break;default:f=x}return p?f:$.a(f)},m.daysInMonth=function(){return this.endOf(u).$D},m.$locale=function(){return _[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=S(t,e,!0);return i&&(n.$L=i),n},m.clone=function(){return $.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},y}(),I=C.prototype;return M.prototype=I,[["$ms",i],["$s",r],["$m",o],["$H",a],["$W",s],["$M",u],["$y",c],["$D",h]].forEach(function(t){I[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),M.extend=function(t,e){return t.$i||(t(e,C,M),t.$i=!0),M},M.locale=S,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=_[x],M.Ls=_,M.p={},M}();const vb=yb(mb.exports);var xb,_b,bb,wb,Sb,Mb,$b,Cb,Ib,Tb,Ab,Db,kb,Lb,Ob,Eb=!1;function Pb(){if(!Eb){Eb=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),n=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(Db=/\b(iPhone|iP[ao]d)/.exec(t),kb=/\b(iP[ao]d)/.exec(t),Tb=/Android/i.exec(t),Lb=/FBAN\/\w+;/i.exec(t),Ob=/Mobile/i.exec(t),Ab=!!/Win64/.exec(t),e){(xb=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(xb=document.documentMode);var i=/(?:Trident\/(\d+.\d+))/.exec(t);Mb=i?parseFloat(i[1])+4:xb,_b=e[2]?parseFloat(e[2]):NaN,bb=e[3]?parseFloat(e[3]):NaN,(wb=e[4]?parseFloat(e[4]):NaN)?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),Sb=e&&e[1]?parseFloat(e[1]):NaN):Sb=NaN}else xb=_b=bb=Sb=wb=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);$b=!r||parseFloat(r[1].replace("_","."))}else $b=!1;Cb=!!n[2],Ib=!!n[3]}else $b=Cb=Ib=!1}}var Nb,Rb={ie:function(){return Pb()||xb},ieCompatibilityMode:function(){return Pb()||Mb>xb},ie64:function(){return Rb.ie()&&Ab},firefox:function(){return Pb()||_b},opera:function(){return Pb()||bb},webkit:function(){return Pb()||wb},safari:function(){return Rb.webkit()},chrome:function(){return Pb()||Sb},windows:function(){return Pb()||Cb},osx:function(){return Pb()||$b},linux:function(){return Pb()||Ib},iphone:function(){return Pb()||Db},mobile:function(){return Pb()||Db||kb||Tb||Ob},nativeApp:function(){return Pb()||Lb},android:function(){return Pb()||Tb},ipad:function(){return Pb()||kb}},Bb=Rb,zb={canUseDOM:!!(typeof window<"u"&&window.document&&window.document.createElement)};zb.canUseDOM&&(Nb=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var Fb=function(t,e){if(!zb.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var r=document.createElement("div");r.setAttribute(n,"return;"),i="function"==typeof r[n]}return!i&&Nb&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i};function Vb(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=10*e,r=10*n,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(1==t.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}}Vb.getEventType=function(){return Bb.firefox()?"DOMMouseScroll":Fb("wheel")?"wheel":"mousewheel"};var Gb=Vb,Wb={exports:{}};Wb.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,i=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},s=function(t){return(t=+t)+(t>68?1900:2e3)},l=function(t){return function(e){this[t]=+e}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},c=function(t,e){var n,i=a.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[o,function(t){this.afternoon=c(t,!1)}],a:[o,function(t){this.afternoon=c(t,!0)}],Q:[n,function(t){this.month=3*(t-1)+1}],S:[n,function(t){this.milliseconds=100*+t}],SS:[i,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,l("seconds")],ss:[r,l("seconds")],m:[r,l("minutes")],mm:[r,l("minutes")],H:[r,l("hours")],h:[r,l("hours")],HH:[r,l("hours")],hh:[r,l("hours")],D:[r,l("day")],DD:[i,l("day")],Do:[o,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],w:[r,l("week")],ww:[i,l("week")],M:[r,l("month")],MM:[i,l("month")],MMM:[o,function(t){var e=d("months"),n=(d("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(t){var e=d("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,l("year")],YY:[i,function(t){this.year=s(t)}],YYYY:[/\d{4}/,l("year")],Z:u,ZZ:u};function p(n){var i,r;i=n,r=a&&a.formats;for(var o=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,n,i){var o=i&&i.toUpperCase();return n||r[i]||t[i]||r[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,n){return e||n.slice(1)})})).match(e),s=o.length,l=0;l<s;l+=1){var u=o[l],d=h[u],c=d&&d[0],p=d&&d[1];o[l]=p?{regex:c,parser:p}:u.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,i=0;n<s;n+=1){var r=o[n];if("string"==typeof r)i+=r.length;else{var a=r.regex,l=r.parser,u=t.slice(i),d=a.exec(u)[0];l.call(e,d),t=t.replace(d,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(s=t.parseTwoDigitYear);var i=e.prototype,r=i.parse;i.parse=function(t){var e=t.date,i=t.utc,o=t.args;this.$u=i;var s=o[1];if("string"==typeof s){var l=!0===o[2],u=!0===o[3],d=l||u,c=o[2];u&&(c=o[2]),a=this.$locale(),!l&&c&&(a=n.Ls[c]),this.$d=function(t,e,n,i){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var r=p(e)(t),o=r.year,a=r.month,s=r.day,l=r.hours,u=r.minutes,d=r.seconds,c=r.milliseconds,h=r.zone,f=r.week,g=new Date,y=s||(o||a?1:g.getDate()),m=o||g.getFullYear(),v=0;o&&!a||(v=a>0?a-1:g.getMonth());var x,_=l||0,b=u||0,w=d||0,S=c||0;return h?new Date(Date.UTC(m,v,y,_,b,w,S+60*h.offset*1e3)):n?new Date(Date.UTC(m,v,y,_,b,w,S)):(x=new Date(m,v,y,_,b,w,S),f&&(x=i(x).week(f).toDate()),x)}catch(M){return new Date("")}}(e,s,i,n),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),d&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var h=s.length,f=1;f<=h;f+=1){o[1]=s[f-1];var g=n.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}f===h&&(this.$d=new Date(""))}else r.call(this,t)}}}();const Hb=yb(Wb.exports);var jb={exports:{}};jb.exports=function(t,e,n){var i=e.prototype,r=function(t){return t&&(t.indexOf?t:t.s)},o=function(t,e,n,i,o){var a=t.name?t:t.$locale(),s=r(a[e]),l=r(a[n]),u=s||l.map(function(t){return t.slice(0,i)});if(!o)return u;var d=a.weekStart;return u.map(function(t,e){return u[(e+(d||0))%7]})},a=function(){return n.Ls[n.locale()]},s=function(t,e){return t.formats[e]||t.formats[e.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,n){return e||n.slice(1)})},l=function(){var t=this;return{months:function(e){return e?e.format("MMMM"):o(t,"months")},monthsShort:function(e){return e?e.format("MMM"):o(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):o(t,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):o(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):o(t,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return s(t.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return l.bind(this)()},n.localeData=function(){var t=a();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(e){return s(t,e)},meridiem:t.meridiem,ordinal:t.ordinal}},n.months=function(){return o(a(),"months")},n.monthsShort=function(){return o(a(),"monthsShort","months",3)},n.weekdays=function(t){return o(a(),"weekdays",null,null,t)},n.weekdaysShort=function(t){return o(a(),"weekdaysShort","weekdays",3,t)},n.weekdaysMin=function(t){return o(a(),"weekdaysMin","weekdays",2,t)}};const Ub=yb(jb.exports);var Yb=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function Xb(t,e){return t===e||!(!Yb(t)||!Yb(e))}function Zb(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Xb(t[n],e[n]))return!1;return!0}function qb(t,e){void 0===e&&(e=Zb);var n=null;function i(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(n&&n.lastThis===this&&e(i,n.lastArgs))return n.lastResult;var o=t.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return i.clear=function(){n=null},i}var Kb={exports:{}};Kb.exports=function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var r=this.$utils(),o=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return r.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return r.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return r.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}});return i.bind(this)(o)}};const Jb=yb(Kb.exports);var Qb,tw,ew={exports:{}};const nw=yb(ew.exports=(Qb="week",tw="year",function(t,e,n){var i=e.prototype;i.week=function(t){if(void 0===t&&(t=null),null!==t)return this.add(7*(t-this.week()),"day");var e=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=n(this).startOf(tw).add(1,tw).date(e),r=n(this).endOf(Qb);if(i.isBefore(r))return 1}var o=n(this).startOf(tw).date(e).startOf(Qb).subtract(1,"millisecond"),a=this.diff(o,Qb,!0);return a<0?n(this).startOf("week").week():Math.ceil(a)},i.weeks=function(t){return void 0===t&&(t=null),this.week(t)}}));var iw={exports:{}};iw.exports=function(t,e){e.prototype.weekYear=function(){var t=this.month(),e=this.week(),n=this.year();return 1===e&&11===t?n+1:0===t&&e>=52?n-1:n}};const rw=yb(iw.exports);var ow={exports:{}};ow.exports=function(t,e,n){e.prototype.dayOfYear=function(t){var e=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"day")}};const aw=yb(ow.exports);var sw={exports:{}};sw.exports=function(t,e){e.prototype.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)}};const lw=yb(sw.exports);var uw={exports:{}};uw.exports=function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}};const dw=yb(uw.exports),cw="undefined"!=typeof document;function hw(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}const pw=Object.assign;function fw(t,e){const n={};for(const i in e){const r=e[i];n[i]=yw(r)?r.map(t):t(r)}return n}const gw=()=>{},yw=Array.isArray;function mw(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}const vw=/#/g,xw=/&/g,_w=/\//g,bw=/=/g,ww=/\?/g,Sw=/\+/g,Mw=/%5B/g,$w=/%5D/g,Cw=/%5E/g,Iw=/%60/g,Tw=/%7B/g,Aw=/%7C/g,Dw=/%7D/g,kw=/%20/g;function Lw(t){return null==t?"":encodeURI(""+t).replace(Aw,"|").replace(Mw,"[").replace($w,"]")}function Ow(t){return Lw(t).replace(Sw,"%2B").replace(kw,"+").replace(vw,"%23").replace(xw,"%26").replace(Iw,"`").replace(Tw,"{").replace(Dw,"}").replace(Cw,"^")}function Ew(t){return Ow(t).replace(bw,"%3D")}function Pw(t){return function(t){return Lw(t).replace(vw,"%23").replace(ww,"%3F")}(t).replace(_w,"%2F")}function Nw(t){if(null==t)return null;try{return decodeURIComponent(""+t)}catch(e){}return""+t}const Rw=/\/$/;function Bw(t,e,n="/"){let i,r={},o="",a="";const s=e.indexOf("#");let l=e.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(i=e.slice(0,l),o=e.slice(l,s>0?s:e.length),r=t(o.slice(1))),s>=0&&(i=i||e.slice(0,s),a=e.slice(s,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];".."!==r&&"."!==r||i.push("");let o,a,s=n.length-1;for(o=0;o<i.length;o++)if(a=i[o],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+i.slice(o).join("/")}(null!=i?i:e,n),{fullPath:i+o+a,path:i,query:r,hash:Nw(a)}}function zw(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function Fw(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Vw(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!Gw(t[n],e[n]))return!1;return!0}function Gw(t,e){return yw(t)?Ww(t,e):yw(e)?Ww(e,t):(null==t?void 0:t.valueOf())===(null==e?void 0:e.valueOf())}function Ww(t,e){return yw(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}const Hw={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let jw=function(t){return t.pop="pop",t.push="push",t}({}),Uw=function(t){return t.back="back",t.forward="forward",t.unknown="",t}({});function Yw(t){if(!t)if(cw){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(Rw,"")}const Xw=/^[^#]+#/;function Zw(t,e){return t.replace(Xw,"#")+e}const qw=()=>({left:window.scrollX,top:window.scrollY});function Kw(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}function Jw(t,e){return(history.state?history.state.position-e:-1)+t}const Qw=new Map;function tS(t){return"string"==typeof t||"symbol"==typeof t}let eS=function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t}({});const nS=Symbol("");function iS(t,e){return pw(new Error,{type:t,[nS]:!0},e)}function rS(t,e){return t instanceof Error&&nS in t&&(null==e||!!(t.type&e))}eS.MATCHER_NOT_FOUND,eS.NAVIGATION_GUARD_REDIRECT,eS.NAVIGATION_ABORTED,eS.NAVIGATION_CANCELLED,eS.NAVIGATION_DUPLICATED;function oS(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const t=n[i].replace(Sw," "),r=t.indexOf("="),o=Nw(r<0?t:t.slice(0,r)),a=r<0?null:Nw(t.slice(r+1));if(o in e){let t=e[o];yw(t)||(t=e[o]=[t]),t.push(a)}else e[o]=a}return e}function aS(t){let e="";for(let n in t){const i=t[n];n=Ew(n),null!=i?(yw(i)?i.map(t=>t&&Ow(t)):[i&&Ow(i)]).forEach(t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}):void 0!==i&&(e+=(e.length?"&":"")+n)}return e}function sS(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=yw(i)?i.map(t=>null==t?null:""+t):null==i?i:""+i)}return e}const lS=Symbol(""),uS=Symbol(""),dS=Symbol(""),cS=Symbol(""),hS=Symbol("");function pS(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function fS(t,e,n,i,r,o=t=>t()){const a=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const u=t=>{var o;!1===t?l(iS(eS.NAVIGATION_ABORTED,{from:n,to:e})):t instanceof Error?l(t):"string"==typeof(o=t)||o&&"object"==typeof o?l(iS(eS.NAVIGATION_GUARD_REDIRECT,{from:e,to:t})):(a&&i.enterCallbacks[r]===a&&"function"==typeof t&&a.push(t),s())},d=o(()=>t.call(i&&i.instances[r],e,n,u));let c=Promise.resolve(d);t.length<3&&(c=c.then(u)),c.catch(t=>l(t))})}function gS(t,e,n,i,r=t=>t()){const o=[];for(const a of t)for(const t in a.components){let s=a.components[t];if("beforeRouteEnter"===e||a.instances[t])if(hw(s)){const l=(s.__vccOpts||s)[e];l&&o.push(fS(l,n,i,a,t,r))}else{let l=s();o.push(()=>l.then(o=>{if(!o)throw new Error(`Couldn't resolve component "${t}" at "${a.path}"`);const s=(l=o).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&hw(l.default)?o.default:o;var l;a.mods[t]=o,a.components[t]=s;const u=(s.__vccOpts||s)[e];return u&&fS(u,n,i,a,t,r)()}))}}return o}function yS(t,e){const{pathname:n,search:i,hash:r}=e,o=t.indexOf("#");if(o>-1){let e=r.includes(t.slice(o))?t.slice(o).length:1,n=r.slice(e);return"/"!==n[0]&&(n="/"+n),zw(n,"")}return zw(n,t)+i+r}function mS(t,e,n,i=!1,r=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:r?qw():null}}function vS(t){const{history:e,location:n}=window,i={value:yS(t,n)},r={value:e.state};function o(i,o,a){const s=t.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?t:t.slice(s))+i:location.protocol+"//"+location.host+t+i;try{e[a?"replaceState":"pushState"](o,"",l),r.value=o}catch(u){console.error(u),n[a?"replace":"assign"](l)}}return r.value||o(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:i,state:r,push:function(t,n){const a=pw({},r.value,e.state,{forward:t,scroll:qw()});o(a.current,a,!0),o(t,pw({},mS(i.value,t,null),{position:a.position+1},n),!1),i.value=t},replace:function(t,n){o(t,pw({},e.state,mS(r.value.back,t,r.value.forward,!0),n,{position:r.value.position}),!0),i.value=t}}}function xS(t){const e=vS(t=Yw(t)),n=function(t,e,n,i){let r=[],o=[],a=null;const s=({state:o})=>{const s=yS(t,location),l=n.value,u=e.value;let d=0;if(o){if(n.value=s,e.value=o,a&&a===l)return void(a=null);d=u?o.position-u.position:0}else i(s);r.forEach(t=>{t(n.value,l,{delta:d,type:jw.pop,direction:d?d>0?Uw.forward:Uw.back:Uw.unknown})})};function l(){if("hidden"===document.visibilityState){const{history:t}=window;if(!t.state)return;t.replaceState(pw({},t.state,{scroll:qw()}),"")}}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:function(){a=n.value},listen:function(t){r.push(t);const e=()=>{const e=r.indexOf(t);e>-1&&r.splice(e,1)};return o.push(e),e},destroy:function(){for(const t of o)t();o=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}}}(t,e.state,e.location,e.replace);const i=pw({location:"",base:t,go:function(t,e=!0){e||n.pauseListeners(),history.go(t)},createHref:Zw.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function _S(t){return(t=location.host?t||location.pathname+location.search:"").includes("#")||(t+="#"),xS(t)}let bS=function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t}({});var wS=function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t}(wS||{});const SS={type:bS.Static,value:""},MS=/[a-zA-Z0-9_]/;const $S="[^/]+?",CS={sensitive:!1,strict:!1,start:!0,end:!0};var IS=function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t}(IS||{});const TS=/[.+*?^${}()[\]/\\]/g;function AS(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&t[0]===IS.Static+IS.Segment?-1:1:t.length>e.length?1===e.length&&e[0]===IS.Static+IS.Segment?1:-1:0}function DS(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const t=AS(i[n],r[n]);if(t)return t;n++}if(1===Math.abs(r.length-i.length)){if(kS(i))return 1;if(kS(r))return-1}return r.length-i.length}function kS(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const LS={strict:!1,end:!0,sensitive:!1};function OS(t,e,n){const i=function(t,e){const n=pw({},CS,e),i=[];let r=n.start?"^":"";const o=[];for(const s of t){const t=s.length?[]:[IS.Root];n.strict&&!s.length&&(r+="/");for(let e=0;e<s.length;e++){const i=s[e];let a=IS.Segment+(n.sensitive?IS.BonusCaseSensitive:0);if(i.type===bS.Static)e||(r+="/"),r+=i.value.replace(TS,"\\$&"),a+=IS.Static;else if(i.type===bS.Param){const{value:t,repeatable:n,optional:l,regexp:u}=i;o.push({name:t,repeatable:n,optional:l});const d=u||$S;d!==$S&&(a+=IS.BonusCustomRegExp);let c=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;e||(c=l&&s.length<2?`(?:/${c})`:"/"+c),l&&(c+="?"),r+=c,a+=IS.Dynamic,l&&(a+=IS.BonusOptional),n&&(a+=IS.BonusRepeatable),".*"===d&&(a+=IS.BonusWildcard)}t.push(a)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=IS.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:i,keys:o,parse:function(t){const e=t.match(a),n={};if(!e)return null;for(let i=1;i<e.length;i++){const t=e[i]||"",r=o[i-1];n[r.name]=t&&r.repeatable?t.split("/"):t}return n},stringify:function(e){let n="",i=!1;for(const r of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of r)if(t.type===bS.Static)n+=t.value;else if(t.type===bS.Param){const{value:o,repeatable:a,optional:s}=t,l=o in e?e[o]:"";if(yw(l)&&!a)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const u=yw(l)?l.join("/"):l;if(!u){if(!s)throw new Error(`Missing required param "${o}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=u}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[SS]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${u}": ${t}`)}let n=wS.Static,i=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let s,l=0,u="",d="";function c(){u&&(n===wS.Static?o.push({type:bS.Static,value:u}):n===wS.Param||n===wS.ParamRegExp||n===wS.ParamRegExpEnd?(o.length>1&&("*"===s||"+"===s)&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:bS.Param,value:u,regexp:d,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function h(){u+=s}for(;l<t.length;)if(s=t[l++],"\\"!==s||n===wS.ParamRegExp)switch(n){case wS.Static:"/"===s?(u&&c(),a()):":"===s?(c(),n=wS.Param):h();break;case wS.EscapeNext:h(),n=i;break;case wS.Param:"("===s?n=wS.ParamRegExp:MS.test(s)?h():(c(),n=wS.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case wS.ParamRegExp:")"===s?"\\"==d[d.length-1]?d=d.slice(0,-1)+s:n=wS.ParamRegExpEnd:d+=s;break;case wS.ParamRegExpEnd:c(),n=wS.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--,d="";break;default:e("Unknown state")}else i=n,n=wS.EscapeNext;return n===wS.ParamRegExp&&e(`Unfinished custom RegExp for param "${u}"`),c(),a(),r}(t.path),n),r=pw(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function ES(t,e){const n=[],i=new Map;function r(t,n,i){const s=!i,l=NS(t);l.aliasOf=i&&i.record;const u=mw(e,t),d=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)d.push(NS(pw({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l})))}let c,h;for(const e of d){const{path:d}=e;if(n&&"/"!==d[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(d&&i+d)}if(c=OS(e,n,u),i?i.alias.push(c):(h=h||c,h!==c&&h.alias.push(c),s&&t.name&&!BS(c)&&o(t.name)),FS(c)&&a(c),l.children){const t=l.children;for(let e=0;e<t.length;e++)r(t[e],c,i&&i.children[e])}i=i||c}return h?()=>{o(h)}:gw}function o(t){if(tS(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function a(t){const e=function(t,e){let n=0,i=e.length;for(;n!==i;){const r=n+i>>1;DS(t,e[r])<0?i=r:n=r+1}const r=function(t){let e=t;for(;e=e.parent;)if(FS(e)&&0===DS(t,e))return e}(t);r&&(i=e.lastIndexOf(r,i-1));return i}(t,n);n.splice(e,0,t),t.record.name&&!BS(t)&&i.set(t.record.name,t)}return e=mw(LS,e),t.forEach(t=>r(t)),{addRoute:r,resolve:function(t,e){let r,o,a,s={};if("name"in t&&t.name){if(r=i.get(t.name),!r)throw iS(eS.MATCHER_NOT_FOUND,{location:t});a=r.record.name,s=pw(PS(e.params,r.keys.filter(t=>!t.optional).concat(r.parent?r.parent.keys.filter(t=>t.optional):[]).map(t=>t.name)),t.params&&PS(t.params,r.keys.map(t=>t.name))),o=r.stringify(s)}else if(null!=t.path)o=t.path,r=n.find(t=>t.re.test(o)),r&&(s=r.parse(o),a=r.record.name);else{if(r=e.name?i.get(e.name):n.find(t=>t.re.test(e.path)),!r)throw iS(eS.MATCHER_NOT_FOUND,{location:t,currentLocation:e});a=r.record.name,s=pw({},e.params,t.params),o=r.stringify(s)}const l=[];let u=r;for(;u;)l.unshift(u.record),u=u.parent;return{name:a,path:o,params:s,matched:l,meta:zS(l)}},removeRoute:o,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}function PS(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function NS(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:RS(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function RS(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function BS(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function zS(t){return t.reduce((t,e)=>pw(t,e.meta),{})}function FS({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function VS(t){const e=ls(dS),n=ls(cS),i=Qd(()=>{const n=ga(t.to);return e.resolve(n)}),r=Qd(()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const a=o.findIndex(Fw.bind(null,r));if(a>-1)return a;const s=WS(t[e-2]);return e>1&&WS(r)===s&&o[o.length-1].path!==s?o.findIndex(Fw.bind(null,t[e-2])):a}),o=Qd(()=>r.value>-1&&function(t,e){for(const n in e){const i=e[n],r=t[n];if("string"==typeof i){if(i!==r)return!1}else if(!yw(r)||r.length!==i.length||i.some((t,e)=>t.valueOf()!==r[e].valueOf()))return!1}return!0}(n.params,i.value.params)),a=Qd(()=>r.value>-1&&r.value===n.matched.length-1&&Vw(n.params,i.value.params));return{route:i,href:Qd(()=>i.value.href),isActive:o,isExactActive:a,navigate:function(n={}){if(function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)){const n=e[ga(t.replace)?"replace":"push"](ga(t.to)).catch(gw);return t.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const GS=Hs({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:VS,setup(t,{slots:e}){const n=qo(VS(t)),{options:i}=ls(dS),r=Qd(()=>({[HS(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[HS(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&(1===(o=e.default(n)).length?o[0]:o);var o;return t.custom?i:tc("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}});function WS(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const HS=(t,e,n)=>null!=t?t:null!=e?e:n;function jS(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const US=Hs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=ls(hS),r=Qd(()=>t.route||i.value),o=ls(uS,0),a=Qd(()=>{let t=ga(o);const{matched:e}=r.value;let n;for(;(n=e[t])&&!n.components;)t++;return t}),s=Qd(()=>r.value.matched[a.value]);ss(uS,Qd(()=>a.value+1)),ss(lS,s),ss(hS,r);const l=da();return fs(()=>[l.value,s.value,t.name],([t,e,n],[i,r,o])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=r.leaveGuards),e.updateGuards.size||(e.updateGuards=r.updateGuards))),!t||!e||r&&Fw(e,r)&&i||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=r.value,o=t.name,a=s.value,u=a&&a.components[o];if(!u)return jS(n.default,{Component:u,route:i});const d=a.props[o],c=d?!0===d?i.params:"function"==typeof d?d(i):d:null,h=tc(u,pw({},c,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(a.instances[o]=null)},ref:l}));return jS(n.default,{Component:h,route:i})||h}}});function YS(t){const e=ES(t.routes,t),n=t.parseQuery||oS,i=t.stringifyQuery||aS,r=t.history,o=pS(),a=pS(),s=pS(),l=ca(Hw);let u=Hw;cw&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=fw.bind(null,t=>""+t),c=fw.bind(null,Pw),h=fw.bind(null,Nw);function p(t,o){if(o=pw({},o||l.value),"string"==typeof t){const i=Bw(n,t,o.path),a=e.resolve({path:i.path},o),s=r.createHref(i.fullPath);return pw(i,a,{params:h(a.params),hash:Nw(i.hash),redirectedFrom:void 0,href:s})}let a;if(null!=t.path)a=pw({},t,{path:Bw(n,t.path,o.path).path});else{const e=pw({},t.params);for(const t in e)null==e[t]&&delete e[t];a=pw({},t,{params:c(e)}),o.params=c(o.params)}const s=e.resolve(a,o),u=t.hash||"";s.params=d(h(s.params));const p=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(i,pw({},t,{hash:(f=u,Lw(f).replace(Tw,"{").replace(Dw,"}").replace(Cw,"^")),path:s.path}));var f;const g=r.createHref(p);return pw({fullPath:p,hash:u,query:i===aS?sS(t.query):t.query||{}},s,{redirectedFrom:void 0,href:g})}function f(t){return"string"==typeof t?Bw(n,t,l.value.path):pw({},t)}function g(t,e){if(u!==t)return iS(eS.NAVIGATION_CANCELLED,{from:e,to:t})}function y(t){return v(t)}function m(t,e){const n=t.matched[t.matched.length-1];if(n&&n.redirect){const{redirect:i}=n;let r="function"==typeof i?i(t,e):i;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=f(r):{path:r},r.params={}),pw({query:t.query,hash:t.hash,params:null!=r.path?{}:t.params},r)}}function v(t,e){const n=u=p(t),r=l.value,o=t.state,a=t.force,s=!0===t.replace,d=m(n,r);if(d)return v(pw(f(d),{state:"object"==typeof d?pw({},o,d.state):o,force:a,replace:s}),e||n);const c=n;let h;return c.redirectedFrom=e,!a&&function(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&Fw(e.matched[i],n.matched[r])&&Vw(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(i,r,n)&&(h=iS(eS.NAVIGATION_DUPLICATED,{to:c,from:r}),k(r,r,!0,!1)),(h?Promise.resolve(h):b(c,r)).catch(t=>rS(t)?rS(t,eS.NAVIGATION_GUARD_REDIRECT)?t:D(t):A(t,c,r)).then(t=>{if(t){if(rS(t,eS.NAVIGATION_GUARD_REDIRECT))return v(pw({replace:s},f(t.to),{state:"object"==typeof t.to?pw({},o,t.to.state):o,force:a}),e||c)}else t=S(c,r,!0,s,o);return w(c,r,t),t})}function x(t,e){const n=g(t,e);return n?Promise.reject(n):Promise.resolve()}function _(t){const e=E.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function b(t,e){let n;const[i,r,s]=function(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let a=0;a<o;a++){const o=e.matched[a];o&&(t.matched.find(t=>Fw(t,o))?i.push(o):n.push(o));const s=t.matched[a];s&&(e.matched.find(t=>Fw(t,s))||r.push(s))}return[n,i,r]}(t,e);n=gS(i.reverse(),"beforeRouteLeave",t,e);for(const o of i)o.leaveGuards.forEach(i=>{n.push(fS(i,t,e))});const l=x.bind(null,t,e);return n.push(l),N(n).then(()=>{n=[];for(const i of o.list())n.push(fS(i,t,e));return n.push(l),N(n)}).then(()=>{n=gS(r,"beforeRouteUpdate",t,e);for(const i of r)i.updateGuards.forEach(i=>{n.push(fS(i,t,e))});return n.push(l),N(n)}).then(()=>{n=[];for(const i of s)if(i.beforeEnter)if(yw(i.beforeEnter))for(const r of i.beforeEnter)n.push(fS(r,t,e));else n.push(fS(i.beforeEnter,t,e));return n.push(l),N(n)}).then(()=>(t.matched.forEach(t=>t.enterCallbacks={}),n=gS(s,"beforeRouteEnter",t,e,_),n.push(l),N(n))).then(()=>{n=[];for(const i of a.list())n.push(fS(i,t,e));return n.push(l),N(n)}).catch(t=>rS(t,eS.NAVIGATION_CANCELLED)?t:Promise.reject(t))}function w(t,e,n){s.list().forEach(i=>_(()=>i(t,e,n)))}function S(t,e,n,i,o){const a=g(t,e);if(a)return a;const s=e===Hw,u=cw?history.state:{};n&&(i||s?r.replace(t.fullPath,pw({scroll:s&&u&&u.scroll},o)):r.push(t.fullPath,o)),l.value=t,k(t,e,n,s),D()}let M;function $(){M||(M=r.listen((t,e,n)=>{if(!P.listening)return;const i=p(t),o=m(i,P.currentRoute.value);if(o)return void v(pw(o,{replace:!0,force:!0}),i).catch(gw);u=i;const a=l.value;var s,d;cw&&(s=Jw(a.fullPath,n.delta),d=qw(),Qw.set(s,d)),b(i,a).catch(t=>rS(t,eS.NAVIGATION_ABORTED|eS.NAVIGATION_CANCELLED)?t:rS(t,eS.NAVIGATION_GUARD_REDIRECT)?(v(pw(f(t.to),{force:!0}),i).then(t=>{rS(t,eS.NAVIGATION_ABORTED|eS.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===jw.pop&&r.go(-1,!1)}).catch(gw),Promise.reject()):(n.delta&&r.go(-n.delta,!1),A(t,i,a))).then(t=>{(t=t||S(i,a,!1))&&(n.delta&&!rS(t,eS.NAVIGATION_CANCELLED)?r.go(-n.delta,!1):n.type===jw.pop&&rS(t,eS.NAVIGATION_ABORTED|eS.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),w(i,a,t)}).catch(gw)}))}let C,I=pS(),T=pS();function A(t,e,n){D(t);const i=T.list();return i.length?i.forEach(i=>i(t,e,n)):console.error(t),Promise.reject(t)}function D(t){return C||(C=!t,$(),I.list().forEach(([e,n])=>t?n(t):e()),I.reset()),t}function k(e,n,i,r){const{scrollBehavior:o}=t;if(!cw||!o)return Promise.resolve();const a=!i&&function(t){const e=Qw.get(t);return Qw.delete(t),e}(Jw(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return ja().then(()=>o(e,n,a)).then(t=>t&&Kw(t)).catch(t=>A(t,e,n))}const L=t=>r.go(t);let O;const E=new Set,P={currentRoute:l,listening:!0,addRoute:function(t,n){let i,r;return tS(t)?(i=e.getRecordMatcher(t),r=n):r=t,e.addRoute(r,i)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map(t=>t.record)},resolve:p,options:t,push:y,replace:function(t){return y(pw(f(t),{replace:!0}))},go:L,back:()=>L(-1),forward:()=>L(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:T.add,isReady:function(){return C&&l.value!==Hw?Promise.resolve():new Promise((t,e)=>{I.add([t,e])})},install(t){t.component("RouterLink",GS),t.component("RouterView",US),t.config.globalProperties.$router=P,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>ga(l)}),cw&&!O&&l.value===Hw&&(O=!0,y(r.location).catch(t=>{}));const e={};for(const i in Hw)Object.defineProperty(e,i,{get:()=>l.value[i],enumerable:!0});t.provide(dS,P),t.provide(cS,Ko(e)),t.provide(hS,l);const n=t.unmount;E.add(t),t.unmount=function(){E.delete(t),E.size<1&&(u=Hw,M&&M(),M=null,l.value=Hw,O=!1,C=!1),n()}}};function N(t){return t.reduce((t,e)=>t.then(()=>_(e)),Promise.resolve())}return P}let XS;const ZS=t=>XS=t,qS=Symbol();function KS(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var JS,QS;function tM(){const t=Br(!0),e=t.run(()=>da({}));let n=[],i=[];const r=aa({install(t){ZS(r),r._a=t,t.provide(qS,r),t.config.globalProperties.$pinia=r,i.forEach(t=>n.push(t)),i=[]},use(t){return this._a?n.push(t):i.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}(QS=JS||(JS={})).direct="direct",QS.patchObject="patch object",QS.patchFunction="patch function";const eM=()=>{};function nM(t,e,n,i=eM){t.push(e);const r=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&zr()&&Fr(r),r}function iM(t,...e){t.slice().forEach(t=>{t(...e)})}const rM=t=>t(),oM=Symbol(),aM=Symbol();function sM(t,e){t instanceof Map&&e instanceof Map?e.forEach((e,n)=>t.set(n,e)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],r=t[n];KS(r)&&KS(i)&&t.hasOwnProperty(n)&&!ua(i)&&!ea(i)?t[n]=sM(r,i):t[n]=i}return t}const lM=Symbol();function uM(t){return!KS(t)||!t.hasOwnProperty(lM)}const{assign:dM}=Object;function cM(t){return!(!ua(t)||!t.effect)}function hM(t,e,n={},i,r,o){let a;const s=dM({actions:{}},n),l={deep:!0};let u,d,c,h=[],p=[];const f=i.state.value[t];let g;function y(e){let n;u=d=!1,"function"==typeof e?(e(i.state.value[t]),n={type:JS.patchFunction,storeId:t,events:c}):(sM(i.state.value[t],e),n={type:JS.patchObject,payload:e,storeId:t,events:c});const r=g=Symbol();ja().then(()=>{g===r&&(u=!0)}),d=!0,iM(h,n,i.state.value[t])}o||f||(i.state.value[t]={});const m=o?function(){const{state:t}=n,e=t?t():{};this.$patch(t=>{dM(t,e)})}:eM;const v=(e,n="")=>{if(oM in e)return e[aM]=n,e;const r=function(){ZS(i);const n=Array.from(arguments),o=[],a=[];let s;iM(p,{args:n,name:r[aM],store:x,after:function(t){o.push(t)},onError:function(t){a.push(t)}});try{s=e.apply(this&&this.$id===t?this:x,n)}catch(l){throw iM(a,l),l}return s instanceof Promise?s.then(t=>(iM(o,t),t)).catch(t=>(iM(a,t),Promise.reject(t))):(iM(o,s),s)};return r[oM]=!0,r[aM]=n,r},x=qo({_p:i,$id:t,$onAction:nM.bind(null,p),$patch:y,$reset:m,$subscribe(e,n={}){const r=nM(h,e,n.detached,()=>o()),o=a.run(()=>fs(()=>i.state.value[t],i=>{("sync"===n.flush?d:u)&&e({storeId:t,type:JS.direct,events:c},i)},dM({},l,n)));return r},$dispose:function(){a.stop(),h=[],p=[],i._s.delete(t)}});i._s.set(t,x);const _=(i._a&&i._a.runWithContext||rM)(()=>i._e.run(()=>(a=Br()).run(()=>e({action:v}))));for(const b in _){const e=_[b];if(ua(e)&&!cM(e)||ea(e))o||(f&&uM(e)&&(ua(e)?e.value=f[b]:sM(e,f[b])),i.state.value[t][b]=e);else if("function"==typeof e){const t=v(e,b);_[b]=t,s.actions[b]=e}}return dM(x,_),dM(oa(x),_),Object.defineProperty(x,"$state",{get:()=>i.state.value[t],set:t=>{y(e=>{dM(e,t)})}}),i._p.forEach(t=>{dM(x,a.run(()=>t({store:x,app:i._a,pinia:i,options:s})))}),f&&o&&n.hydrate&&n.hydrate(x.$state,f),u=!0,d=!0,x}function pM(t,e,n){let i,r;const o="function"==typeof e;function a(t,n){const a=us();(t=t||(a?ls(qS,null):null))&&ZS(t),(t=XS)._s.has(i)||(o?hM(i,e,r,t):function(t,e,n){const{state:i,actions:r,getters:o}=e,a=n.state.value[t];let s;s=hM(t,function(){a||(n.state.value[t]=i?i():{});const e=ba(n.state.value[t]);return dM(e,r,Object.keys(o||{}).reduce((e,i)=>(e[i]=aa(Qd(()=>{ZS(n);const e=n._s.get(t);return o[i].call(e,e)})),e),{}))},e,n,0,!0)}(i,r,t));return t._s.get(i)}return"string"==typeof t?(i=t,r=o?n:e):(r=t,i=t.id),a.$id=i,a}function fM(t,e){return Array.isArray(e)?e.reduce((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e),{}):Object.keys(e).reduce((n,i)=>(n[i]=function(){const n=t(this.$pinia),r=e[i];return"function"==typeof r?r.call(this,n):n[r]},n),{})}function gM(t,e){return Array.isArray(e)?e.reduce((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e),{}):Object.keys(e).reduce((n,i)=>(n[i]=function(...n){return t(this.$pinia)[e[i]](...n)},n),{})}function yM(t,e){return Array.isArray(e)?e.reduce((e,n)=>(e[n]={get(){return t(this.$pinia)[n]},set(e){return t(this.$pinia)[n]=e}},e),{}):Object.keys(e).reduce((n,i)=>(n[i]={get(){return t(this.$pinia)[e[i]]},set(n){return t(this.$pinia)[e[i]]=n}},n),{})}var mM=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t};var vM=function(t){return function(e,n,i){for(var r=-1,o=Object(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}();var xM=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i},_M="object"==typeof gb&&gb&&gb.Object===Object&&gb,bM=_M,wM="object"==typeof self&&self&&self.Object===Object&&self,SM=bM||wM||Function("return this")(),MM=SM.Symbol,$M=MM,CM=Object.prototype,IM=CM.hasOwnProperty,TM=CM.toString,AM=$M?$M.toStringTag:void 0;var DM=function(t){var e=IM.call(t,AM),n=t[AM];try{t[AM]=void 0;var i=!0}catch(Qb){}var r=TM.call(t);return i&&(e?t[AM]=n:delete t[AM]),r},kM=Object.prototype.toString;var LM=DM,OM=function(t){return kM.call(t)},EM=MM?MM.toStringTag:void 0;var PM=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":EM&&EM in Object(t)?LM(t):OM(t)};var NM=function(t){return null!=t&&"object"==typeof t},RM=PM,BM=NM;var zM=function(t){return BM(t)&&"[object Arguments]"==RM(t)},FM=NM,VM=Object.prototype,GM=VM.hasOwnProperty,WM=VM.propertyIsEnumerable,HM=zM(function(){return arguments}())?zM:function(t){return FM(t)&&GM.call(t,"callee")&&!WM.call(t,"callee")},jM=Array.isArray;const UM=yb(jM);var YM,XM,ZM,qM,KM,JM,QM,t$,e$={exports:{}};YM=e$,ZM=SM,qM=function(){return!1},KM=(XM=e$.exports)&&!XM.nodeType&&XM,JM=KM&&YM&&!YM.nodeType&&YM,QM=JM&&JM.exports===KM?ZM.Buffer:void 0,t$=(QM?QM.isBuffer:void 0)||qM,YM.exports=t$;var n$=e$.exports,i$=/^(?:0|[1-9]\d*)$/;var r$=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&i$.test(t))&&t>-1&&t%1==0&&t<e};var o$=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},a$=PM,s$=o$,l$=NM,u$={};u$["[object Float32Array]"]=u$["[object Float64Array]"]=u$["[object Int8Array]"]=u$["[object Int16Array]"]=u$["[object Int32Array]"]=u$["[object Uint8Array]"]=u$["[object Uint8ClampedArray]"]=u$["[object Uint16Array]"]=u$["[object Uint32Array]"]=!0,u$["[object Arguments]"]=u$["[object Array]"]=u$["[object ArrayBuffer]"]=u$["[object Boolean]"]=u$["[object DataView]"]=u$["[object Date]"]=u$["[object Error]"]=u$["[object Function]"]=u$["[object Map]"]=u$["[object Number]"]=u$["[object Object]"]=u$["[object RegExp]"]=u$["[object Set]"]=u$["[object String]"]=u$["[object WeakMap]"]=!1;var d$=function(t){return l$(t)&&s$(t.length)&&!!u$[a$(t)]};var c$=function(t){return function(e){return t(e)}},h$={exports:{}};!function(t,e){var n=_M,i=e&&!e.nodeType&&e,r=i&&t&&!t.nodeType&&t,o=r&&r.exports===i&&n.process,a=function(){try{var t=r&&r.require&&r.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(Qb){}}();t.exports=a}(h$,h$.exports);var p$=h$.exports,f$=d$,g$=c$,y$=p$&&p$.isTypedArray,m$=y$?g$(y$):f$,v$=xM,x$=HM,_$=jM,b$=n$,w$=r$,S$=m$,M$=Object.prototype.hasOwnProperty;var $$=function(t,e){var n=_$(t),i=!n&&x$(t),r=!n&&!i&&b$(t),o=!n&&!i&&!r&&S$(t),a=n||i||r||o,s=a?v$(t.length,String):[],l=s.length;for(var u in t)!e&&!M$.call(t,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||w$(u,l))||s.push(u);return s},C$=Object.prototype;var I$=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||C$)};var T$=function(t,e){return function(n){return t(e(n))}},A$=T$(Object.keys,Object),D$=I$,k$=A$,L$=Object.prototype.hasOwnProperty;var O$=function(t){if(!D$(t))return k$(t);var e=[];for(var n in Object(t))L$.call(t,n)&&"constructor"!=n&&e.push(n);return e};var E$=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const P$=yb(E$);var N$=PM,R$=E$;var B$=function(t){if(!R$(t))return!1;var e=N$(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},z$=B$,F$=o$;var V$=function(t){return null!=t&&F$(t.length)&&!z$(t)},G$=$$,W$=O$,H$=V$;var j$=function(t){return H$(t)?G$(t):W$(t)},U$=vM,Y$=j$;var X$=V$;var Z$=function(t,e){return function(n,i){if(null==n)return n;if(!X$(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=Object(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}},q$=Z$(function(t,e){return t&&U$(t,e,Y$)});var K$=function(t){return t},J$=K$;var Q$=mM,tC=q$,eC=function(t){return"function"==typeof t?t:J$},nC=jM;const iC=yb(function(t,e){return(nC(t)?Q$:tC)(t,eC(e))});var rC=SM["__core-js_shared__"],oC=function(){var t=/[^.]+$/.exec(rC&&rC.keys&&rC.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var aC=function(t){return!!oC&&oC in t},sC=Function.prototype.toString;var lC=function(t){if(null!=t){try{return sC.call(t)}catch(Qb){}try{return t+""}catch(Qb){}}return""},uC=B$,dC=aC,cC=E$,hC=lC,pC=/^\[object .+?Constructor\]$/,fC=Function.prototype,gC=Object.prototype,yC=fC.toString,mC=gC.hasOwnProperty,vC=RegExp("^"+yC.call(mC).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var xC=function(t){return!(!cC(t)||dC(t))&&(uC(t)?vC:pC).test(hC(t))},_C=function(t,e){return null==t?void 0:t[e]};var bC=function(t,e){var n=_C(t,e);return xC(n)?n:void 0},wC=bC(SM,"DataView"),SC=bC(SM,"Map"),MC=wC,$C=SC,CC=bC(SM,"Promise"),IC=bC(SM,"Set"),TC=bC(SM,"WeakMap"),AC=PM,DC=lC,kC="[object Map]",LC="[object Promise]",OC="[object Set]",EC="[object WeakMap]",PC="[object DataView]",NC=DC(MC),RC=DC($C),BC=DC(CC),zC=DC(IC),FC=DC(TC),VC=AC;(MC&&VC(new MC(new ArrayBuffer(1)))!=PC||$C&&VC(new $C)!=kC||CC&&VC(CC.resolve())!=LC||IC&&VC(new IC)!=OC||TC&&VC(new TC)!=EC)&&(VC=function(t){var e=AC(t),n="[object Object]"==e?t.constructor:void 0,i=n?DC(n):"";if(i)switch(i){case NC:return PC;case RC:return kC;case BC:return LC;case zC:return OC;case FC:return EC}return e});var GC=VC,WC=O$,HC=GC,jC=HM,UC=jM,YC=V$,XC=n$,ZC=I$,qC=m$,KC=Object.prototype.hasOwnProperty;const JC=yb(function(t){if(null==t)return!0;if(YC(t)&&(UC(t)||"string"==typeof t||"function"==typeof t.splice||XC(t)||qC(t)||jC(t)))return!t.length;var e=HC(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(ZC(t))return!WC(t).length;for(var n in t)if(KC.call(t,n))return!1;return!0});function QC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function tI(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e);else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(d){u=!0,r=d}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return QC(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?QC(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const eI=Object.entries,nI=Object.setPrototypeOf,iI=Object.isFrozen,rI=Object.getPrototypeOf,oI=Object.getOwnPropertyDescriptor;let aI=Object.freeze,sI=Object.seal,lI=Object.create,uI="undefined"!=typeof Reflect&&Reflect,dI=uI.apply,cI=uI.construct;aI||(aI=function(t){return t}),sI||(sI=function(t){return t}),dI||(dI=function(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return t.apply(e,i)}),cI||(cI=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return new t(...n)});const hI=OI(Array.prototype.forEach),pI=OI(Array.prototype.lastIndexOf),fI=OI(Array.prototype.pop),gI=OI(Array.prototype.push),yI=OI(Array.prototype.splice),mI=Array.isArray,vI=OI(String.prototype.toLowerCase),xI=OI(String.prototype.toString),_I=OI(String.prototype.match),bI=OI(String.prototype.replace),wI=OI(String.prototype.indexOf),SI=OI(String.prototype.trim),MI=OI(Number.prototype.toString),$I=OI(Boolean.prototype.toString),CI="undefined"==typeof BigInt?null:OI(BigInt.prototype.toString),II="undefined"==typeof Symbol?null:OI(Symbol.prototype.toString),TI=OI(Object.prototype.hasOwnProperty),AI=OI(Object.prototype.toString),DI=OI(RegExp.prototype.test),kI=(LI=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return cI(LI,e)});var LI;function OI(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return dI(t,e,i)}}function EI(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vI;if(nI&&nI(t,null),!mI(e))return t;let i=e.length;for(;i--;){let r=e[i];if("string"==typeof r){const t=n(r);t!==r&&(iI(e)||(e[i]=t),r=t)}t[r]=!0}return t}function PI(t){for(let e=0;e<t.length;e++){TI(t,e)||(t[e]=null)}return t}function NI(t){const e=lI(null);for(const i of eI(t)){var n=tI(i,2);const r=n[0],o=n[1];TI(t,r)&&(mI(o)?e[r]=PI(o):o&&"object"==typeof o&&o.constructor===Object?e[r]=NI(o):e[r]=o)}return e}function RI(t,e){for(;null!==t;){const n=oI(t,e);if(n){if(n.get)return OI(n.get);if("function"==typeof n.value)return OI(n.value)}t=rI(t)}return function(){return null}}const BI=aI(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),zI=aI(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),FI=aI(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),VI=aI(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),GI=aI(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),WI=aI(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),HI=aI(["#text"]),jI=aI(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),UI=aI(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),YI=aI(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),XI=aI(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ZI=sI(/{{[\w\W]*|^[\w\W]*}}/g),qI=sI(/<%[\w\W]*|^[\w\W]*%>/g),KI=sI(/\${[\w\W]*/g),JI=sI(/^data-[\-\w.\u00B7-\uFFFF]+$/),QI=sI(/^aria-[\-\w]+$/),tT=sI(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),eT=sI(/^(?:\w+script|data):/i),nT=sI(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),iT=sI(/^html$/i),rT=sI(/^[a-z][.\w]*(-[.\w]+)+$/i),oT=sI(/<[/\w!]/g),aT=sI(/<[/\w]/g),sT=sI(/<\/no(script|embed|frames)/i),lT=sI(/\/>/i),uT=1,dT=3,cT=7,hT=8,pT=9,fT=11,gT=function(t,e,n,i){return TI(t,e)&&mI(t[e])?EI(i.base?NI(i.base):{},t[e],i.transform):n};var yT=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=e=>t(e);if(n.version="3.4.11",n.removed=[],!e||!e.document||e.document.nodeType!==pT||!e.Element)return n.isSupported=!1,n;let i=e.document;const r=i,o=r.currentScript;e.DocumentFragment;const a=e.HTMLTemplateElement,s=e.Node,l=e.Element,u=e.NodeFilter,d=e.NamedNodeMap;void 0===d&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const c=e.DOMParser,h=e.trustedTypes,p=l.prototype,f=RI(p,"cloneNode"),g=RI(p,"remove"),y=RI(p,"nextSibling"),m=RI(p,"childNodes"),v=RI(p,"parentNode"),x=RI(p,"shadowRoot"),_=RI(p,"attributes"),b=s&&s.prototype?RI(s.prototype,"nodeType"):null,w=s&&s.prototype?RI(s.prototype,"nodeName"):null;if("function"==typeof a){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let S,M,$="",C=!1,I=0;const T=function(){if(I>0)throw kI('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},A=function(t){T(),I++;try{return S.createHTML(t)}finally{I--}},D=function(){return C||(M=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(o){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(h,o),C=!0),M},k=i,L=k.implementation,O=k.createNodeIterator,E=k.createDocumentFragment,P=k.getElementsByTagName,N=r.importNode;let R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof eI&&"function"==typeof v&&L&&void 0!==L.createHTMLDocument;const B=ZI,z=qI,F=KI,V=JI,G=QI,W=eT,H=nT,j=rT;let U=tT,Y=null;const X=EI({},[...BI,...zI,...FI,...GI,...HI]);let Z=null;const q=EI({},[...jI,...UI,...YI,...XI]);let K=Object.seal(lI(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),J=null,Q=null;const tt=Object.seal(lI(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let et=!0,nt=!0,it=!1,rt=!0,ot=!1,at=!0,st=!1,lt=!1,ut=null,dt=null,ct=!1,ht=!1,pt=!1,ft=!1,gt=!0,yt=!1;const mt="user-content-";let vt=!0,xt=!1,_t={},bt=null;const wt=EI({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let St=null;const Mt=EI({},["audio","video","img","source","image","track"]);let $t=null;const Ct=EI({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),It="http://www.w3.org/1998/Math/MathML",Tt="http://www.w3.org/2000/svg",At="http://www.w3.org/1999/xhtml";let Dt=At,kt=!1,Lt=null;const Ot=EI({},[It,Tt,At],xI),Et=aI(["mi","mo","mn","ms","mtext"]);let Pt=EI({},Et);const Nt=aI(["annotation-xml"]);let Rt=EI({},Nt);const Bt=EI({},["title","style","font","a","script"]);let zt=null;const Ft=["application/xhtml+xml","text/html"];let Vt=null,Gt=null;const Wt=i.createElement("form"),Ht=function(t){return t instanceof RegExp||t instanceof Function},jt=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Gt&&Gt===t)return;t&&"object"==typeof t||(t={}),t=NI(t),zt=-1===Ft.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Vt="application/xhtml+xml"===zt?xI:vI,Y=gT(t,"ALLOWED_TAGS",X,{transform:Vt}),Z=gT(t,"ALLOWED_ATTR",q,{transform:Vt}),Lt=gT(t,"ALLOWED_NAMESPACES",Ot,{transform:xI}),$t=gT(t,"ADD_URI_SAFE_ATTR",Ct,{transform:Vt,base:Ct}),St=gT(t,"ADD_DATA_URI_TAGS",Mt,{transform:Vt,base:Mt}),bt=gT(t,"FORBID_CONTENTS",wt,{transform:Vt}),J=gT(t,"FORBID_TAGS",NI({}),{transform:Vt}),Q=gT(t,"FORBID_ATTR",NI({}),{transform:Vt}),_t=!!TI(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?NI(t.USE_PROFILES):t.USE_PROFILES),et=!1!==t.ALLOW_ARIA_ATTR,nt=!1!==t.ALLOW_DATA_ATTR,it=t.ALLOW_UNKNOWN_PROTOCOLS||!1,rt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ot=t.SAFE_FOR_TEMPLATES||!1,at=!1!==t.SAFE_FOR_XML,st=t.WHOLE_DOCUMENT||!1,ht=t.RETURN_DOM||!1,pt=t.RETURN_DOM_FRAGMENT||!1,ft=t.RETURN_TRUSTED_TYPE||!1,ct=t.FORCE_BODY||!1,gt=!1!==t.SANITIZE_DOM,yt=t.SANITIZE_NAMED_PROPS||!1,vt=!1!==t.KEEP_CONTENT,xt=t.IN_PLACE||!1,U=function(t){try{return DI(t,""),!0}catch(e){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:tT,Dt="string"==typeof t.NAMESPACE?t.NAMESPACE:At,Pt=TI(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?NI(t.MATHML_TEXT_INTEGRATION_POINTS):EI({},Et),Rt=TI(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?NI(t.HTML_INTEGRATION_POINTS):EI({},Nt);const e=TI(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?NI(t.CUSTOM_ELEMENT_HANDLING):lI(null);if(K=lI(null),TI(e,"tagNameCheck")&&Ht(e.tagNameCheck)&&(K.tagNameCheck=e.tagNameCheck),TI(e,"attributeNameCheck")&&Ht(e.attributeNameCheck)&&(K.attributeNameCheck=e.attributeNameCheck),TI(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(K.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),sI(K),ot&&(nt=!1),pt&&(ht=!0),_t&&(Y=EI({},HI),Z=lI(null),!0===_t.html&&(EI(Y,BI),EI(Z,jI)),!0===_t.svg&&(EI(Y,zI),EI(Z,UI),EI(Z,XI)),!0===_t.svgFilters&&(EI(Y,FI),EI(Z,UI),EI(Z,XI)),!0===_t.mathMl&&(EI(Y,GI),EI(Z,YI),EI(Z,XI))),tt.tagCheck=null,tt.attributeCheck=null,TI(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?tt.tagCheck=t.ADD_TAGS:mI(t.ADD_TAGS)&&(Y===X&&(Y=NI(Y)),EI(Y,t.ADD_TAGS,Vt))),TI(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?tt.attributeCheck=t.ADD_ATTR:mI(t.ADD_ATTR)&&(Z===q&&(Z=NI(Z)),EI(Z,t.ADD_ATTR,Vt))),TI(t,"ADD_URI_SAFE_ATTR")&&mI(t.ADD_URI_SAFE_ATTR)&&EI($t,t.ADD_URI_SAFE_ATTR,Vt),TI(t,"FORBID_CONTENTS")&&mI(t.FORBID_CONTENTS)&&(bt===wt&&(bt=NI(bt)),EI(bt,t.FORBID_CONTENTS,Vt)),TI(t,"ADD_FORBID_CONTENTS")&&mI(t.ADD_FORBID_CONTENTS)&&(bt===wt&&(bt=NI(bt)),EI(bt,t.ADD_FORBID_CONTENTS,Vt)),vt&&(Y["#text"]=!0),st&&EI(Y,["html","head","body"]),Y.table&&(EI(Y,["tbody"]),delete J.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw kI('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw kI('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=S;S=t.TRUSTED_TYPES_POLICY;try{$=A("")}catch(n){throw S=e,n}}else null===t.TRUSTED_TYPES_POLICY?(S=void 0,$=""):(void 0===S&&(S=D()),S&&"string"==typeof $&&($=A("")));aI&&aI(t),Gt=t},Ut=EI({},[...zI,...FI,...VI]),Yt=EI({},[...GI,...WI]),Xt=function(t){let e=v(t);e&&e.tagName||(e={namespaceURI:Dt,tagName:"template"});const n=vI(t.tagName),i=vI(e.tagName);return!!Lt[t.namespaceURI]&&(t.namespaceURI===Tt?function(t,e,n){return e.namespaceURI===At?"svg"===t:e.namespaceURI===It?"svg"===t&&("annotation-xml"===n||Pt[n]):Boolean(Ut[t])}(n,e,i):t.namespaceURI===It?function(t,e,n){return e.namespaceURI===At?"math"===t:e.namespaceURI===Tt?"math"===t&&Rt[n]:Boolean(Yt[t])}(n,e,i):t.namespaceURI===At?function(t,e,n){return!(e.namespaceURI===Tt&&!Rt[n])&&!(e.namespaceURI===It&&!Pt[n])&&!Yt[t]&&(Bt[t]||!Ut[t])}(n,e,i):!("application/xhtml+xml"!==zt||!Lt[t.namespaceURI]))},Zt=function(t){gI(n.removed,{element:t});try{v(t).removeChild(t)}catch(e){if(g(t),!v(t))throw kI("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},qt=function(t){const e=m(t);if(e){const t=[];hI(e,e=>{gI(t,e)}),hI(t,t=>{try{g(t)}catch(e){}})}const n=_(t);if(n)for(let r=n.length-1;r>=0;--r){const e=n[r],o=e&&e.name;if("string"==typeof o)try{t.removeAttribute(o)}catch(i){}}},Kt=function(t,e){try{gI(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(i){gI(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(ht||pt)try{Zt(e)}catch(i){}else try{e.setAttribute(t,"")}catch(i){}},Jt=function(t){const e=_(t);if(e)for(let i=e.length-1;i>=0;--i){const r=e[i],o=r&&r.name;if("string"==typeof o&&!Z[Vt(o)])try{t.removeAttribute(o)}catch(n){}}},Qt=function(t){let e=null,n=null;if(ct)t="<remove></remove>"+t;else{const e=_I(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===zt&&Dt===At&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=S?A(t):t;if(Dt===At)try{e=(new c).parseFromString(r,zt)}catch(a){}if(!e||!e.documentElement){e=L.createDocument(Dt,"template",null);try{e.documentElement.innerHTML=kt?$:r}catch(a){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),Dt===At?P.call(e,st?"html":"body")[0]:st?e.documentElement:o},te=function(t){return O.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ee=function(t){return t=bI(t,B," "),t=bI(t,z," "),t=bI(t,F," ")},ne=function(t){var e;t.normalize();const n=O.call(t.ownerDocument||t,t,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let i=n.nextNode();for(;i;)i.data=ee(i.data),i=n.nextNode();const r=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");r&&hI(r,t=>{re(t.content)&&ne(t.content)})},ie=function(t){const e=w?w(t):null;return"string"==typeof e&&("form"===Vt(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==_(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==b(t)||t.childNodes!==m(t)))},re=function(t){if(!b||"object"!=typeof t||null===t)return!1;try{return b(t)===fT}catch(e){return!1}},oe=function(t){if(!b||"object"!=typeof t||null===t)return!1;try{return"number"==typeof b(t)}catch(e){return!1}};function ae(t,e,i){0!==t.length&&hI(t,t=>{t.call(n,e,i,Gt)})}const se=function(t){if(ae(R.beforeSanitizeElements,t,null),ie(t))return Zt(t),!0;const e=Vt(w?w(t):t.nodeName);if(ae(R.uponSanitizeElement,t,{tagName:e,allowedTags:Y}),function(t,e){return!!(at&&t.hasChildNodes()&&!oe(t.firstElementChild)&&DI(oT,t.textContent)&&DI(oT,t.innerHTML))||!(!at||t.namespaceURI!==At||"style"!==e||!oe(t.firstElementChild))||t.nodeType===cT||!(!at||t.nodeType!==hT||!DI(aT,t.data))}(t,e))return Zt(t),!0;if(J[e]||!(tt.tagCheck instanceof Function&&tt.tagCheck(e))&&!Y[e])return function(t,e){if(!J[e]&&de(e)){if(K.tagNameCheck instanceof RegExp&&DI(K.tagNameCheck,e))return!1;if(K.tagNameCheck instanceof Function&&K.tagNameCheck(e))return!1}if(vt&&!bt[e]){const e=v(t),n=m(t);if(n&&e)for(let i=n.length-1;i>=0;--i){const r=xt?n[i]:f(n[i],!0);e.insertBefore(r,y(t))}}return Zt(t),!0}(t,e);if((b?b(t):t.nodeType)===uT&&!Xt(t))return Zt(t),!0;if(("noscript"===e||"noembed"===e||"noframes"===e)&&DI(sT,t.innerHTML))return Zt(t),!0;if(ot&&t.nodeType===dT){const e=ee(t.textContent);t.textContent!==e&&(gI(n.removed,{element:t.cloneNode()}),t.textContent=e)}return ae(R.afterSanitizeElements,t,null),!1},le=function(t,e,n){if(Q[e])return!1;if(gt&&("id"===e||"name"===e)&&(n in i||n in Wt))return!1;const r=Z[e]||tt.attributeCheck instanceof Function&&tt.attributeCheck(e,t);if(nt&&DI(V,e));else if(et&&DI(G,e));else if(r)if($t[e]);else if(DI(U,bI(n,H,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==wI(n,"data:")||!St[t]){if(it&&!DI(W,bI(n,H,"")));else if(n)return!1}else;else if(!(de(t)&&(K.tagNameCheck instanceof RegExp&&DI(K.tagNameCheck,t)||K.tagNameCheck instanceof Function&&K.tagNameCheck(t))&&(K.attributeNameCheck instanceof RegExp&&DI(K.attributeNameCheck,e)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(e,t))||"is"===e&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&DI(K.tagNameCheck,n)||K.tagNameCheck instanceof Function&&K.tagNameCheck(n))))return!1;return!0},ue=EI({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),de=function(t){return!ue[vI(t)]&&DI(j,t)},ce=function(t,e,n,i){if(S&&"object"==typeof h&&"function"==typeof h.getAttributeType&&!n)switch(h.getAttributeType(t,e)){case"TrustedHTML":return A(i);case"TrustedScriptURL":return function(t){T(),I++;try{return S.createScriptURL(t)}finally{I--}}(i)}return i},he=function(t,e,i,r){try{i?t.setAttributeNS(i,e,r):t.setAttribute(e,r),ie(t)?Zt(t):fI(n.removed)}catch(o){Kt(e,t)}},pe=function(t){ae(R.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||ie(t))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Z,forceKeepAttr:void 0};let i=e.length;const r=Vt(t.nodeName);for(;i--;){const o=e[i],a=o.name,s=o.namespaceURI,l=o.value,u=Vt(a),d=l;let c="value"===a?d:SI(d);n.attrName=u,n.attrValue=c,n.keepAttr=!0,n.forceKeepAttr=void 0,ae(R.uponSanitizeAttribute,t,n),c=n.attrValue,!yt||"id"!==u&&"name"!==u||0===wI(c,mt)||(Kt(a,t),c=mt+c),at&&DI(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,c)?Kt(a,t):"attributename"===u&&_I(c,"href")?Kt(a,t):n.forceKeepAttr||(n.keepAttr&&(rt||!DI(lT,c))?(ot&&(c=ee(c)),le(r,u,c)?(c=ce(r,u,s,c),c!==d&&he(t,a,s,c)):Kt(a,t)):Kt(a,t))}ae(R.afterSanitizeAttributes,t,null)},fe=function(t){let e=null;const n=te(t);for(ae(R.beforeSanitizeShadowDOM,t,null);e=n.nextNode();){ae(R.uponSanitizeShadowNode,e,null),se(e),pe(e),re(e.content)&&fe(e.content);if((b?b(e):e.nodeType)===uT){const t=x(e);re(t)&&(ge(t),fe(t))}}ae(R.afterSanitizeShadowDOM,t,null)},ge=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){fe(t.shadow);continue}const n=t.node,i=(b?b(n):n.nodeType)===uT,r=m(n);if(r)for(let o=r.length-1;o>=0;--o)e.push({node:r[o],shadow:null});if(i){const t=w?w(n):null;if("string"==typeof t&&"template"===Vt(t)){const t=n.content;re(t)&&e.push({node:t,shadow:null})}}if(i){const t=x(n);re(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,a=null,s=null;if(kt=!t,kt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!oe(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return MI(t);case"boolean":return $I(t);case"bigint":return CI?CI(t):"0";case"symbol":return II?II(t):"Symbol()";case"undefined":default:return AI(t);case"function":case"object":{if(null===t)return AI(t);const e=t,n=RI(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:AI(t)}return AI(t)}}}(t)))throw kI("dirty is not a string, aborting");if(!n.isSupported)return t;lt?(Y=ut,Z=dt):jt(e),(R.uponSanitizeElement.length>0||R.uponSanitizeAttribute.length>0)&&(Y=NI(Y)),R.uponSanitizeAttribute.length>0&&(Z=NI(Z)),n.removed=[];const l=xt&&"string"!=typeof t&&oe(t);if(l){const e=w?w(t):t.nodeName;if("string"==typeof e){const t=Vt(e);if(!Y[t]||J[t])throw kI("root node is forbidden and cannot be sanitized in-place")}if(ie(t))throw kI("root node is clobbered and cannot be sanitized in-place");try{ge(t)}catch(c){throw qt(t),c}}else if(oe(t))i=Qt("\x3c!----\x3e"),o=i.ownerDocument.importNode(t,!0),o.nodeType===uT&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o),ge(o);else{if(!ht&&!ot&&!st&&-1===t.indexOf("<"))return S&&ft?A(t):t;if(i=Qt(t),!i)return ht?null:ft?$:""}i&&ct&&Zt(i.firstChild);const u=te(l?t:i);try{for(;a=u.nextNode();)se(a),pe(a),re(a.content)&&fe(a.content)}catch(c){throw l&&qt(t),c}if(l)return hI(n.removed,t=>{t.element&&function(t){const e=[t];for(;e.length>0;){const t=e.pop();(b?b(t):t.nodeType)===uT&&Jt(t);const n=m(t);if(n)for(let i=n.length-1;i>=0;--i)e.push(n[i])}}(t.element)}),ot&&ne(t),t;if(ht){if(ot&&ne(i),pt)for(s=E.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Z.shadowroot||Z.shadowrootmode)&&(s=N.call(r,s,!0)),s}let d=st?i.outerHTML:i.innerHTML;return st&&Y["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&DI(iT,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),ot&&(d=ee(d)),S&&ft?A(d):d},n.setConfig=function(){jt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),lt=!0,ut=Y,dt=Z},n.clearConfig=function(){Gt=null,lt=!1,ut=null,dt=null,S=M,$=""},n.isValidAttribute=function(t,e,n){Gt||jt({});const i=Vt(t),r=Vt(e);return le(i,r,n)},n.addHook=function(t,e){"function"==typeof e&&TI(R,t)&&gI(R[t],e)},n.removeHook=function(t,e){if(TI(R,t)){if(void 0!==e){const n=pI(R[t],e);return-1===n?void 0:yI(R[t],n,1)[0]}return fI(R[t])}},n.removeHooks=function(t){TI(R,t)&&(R[t]=[])},n.removeAllHooks=function(){R={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();function mT(t){return{all:t=t||new Map,on:function(e,n){var i=t.get(e);i?i.push(n):t.set(e,[n])},off:function(e,n){var i=t.get(e);i&&(n?i.splice(i.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var i=t.get(e);i&&i.slice().map(function(t){t(n)}),(i=t.get("*"))&&i.slice().map(function(t){t(e,n)})}}}function vT(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function xT(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function _T(t,e){return function(n,i,r,o=10){const a=t[e];if(!xT(n))return;if(!vT(i))return;if("function"!=typeof r)return void console.error("The hook callback must be a function.");if("number"!=typeof o)return void console.error("If specified, the hook priority must be a number.");const s={callback:r,priority:o,namespace:i};if(a[n]){const t=a[n].handlers;let e;for(e=t.length;e>0&&!(o>=t[e-1].priority);e--);e===t.length?t[e]=s:t.splice(e,0,s),a.__current.forEach(t=>{t.name===n&&t.currentIndex>=e&&t.currentIndex++})}else a[n]={handlers:[s],runs:0};"hookAdded"!==n&&t.doAction("hookAdded",n,i,r,o)}}function bT(t,e,n=!1){return function(i,r){const o=t[e];if(!xT(i))return;if(!n&&!vT(r))return;if(!o[i])return 0;let a=0;if(n)a=o[i].handlers.length,o[i]={runs:o[i].runs,handlers:[]};else{const t=o[i].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===r&&(t.splice(e,1),a++,o.__current.forEach(t=>{t.name===i&&t.currentIndex>=e&&t.currentIndex--}))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,r),a}}function wT(t,e){return function(n,i){const r=t[e];return void 0!==i?n in r&&r[n].handlers.some(t=>t.namespace===i):n in r}}function ST(t,e,n=!1){return function(i,...r){const o=t[e];o[i]||(o[i]={handlers:[],runs:0}),o[i].runs++;const a=o[i].handlers;if(!a||!a.length)return n?r[0]:void 0;const s={name:i,currentIndex:0};for(o.__current.push(s);s.currentIndex<a.length;){const t=a[s.currentIndex].callback.apply(null,r);n&&(r[0]=t),s.currentIndex++}return o.__current.pop(),n?r[0]:void 0}}function MT(t,e){return function(){var n,i;const r=t[e];return null!==(i=null==(n=r.__current[r.__current.length-1])?void 0:n.name)&&void 0!==i?i:null}}function $T(t,e){return function(n){const i=t[e];return void 0===n?void 0!==i.__current[0]:!!i.__current[0]&&n===i.__current[0].name}}function CT(t,e){return function(n){const i=t[e];if(xT(n))return i[n]&&i[n].runs?i[n].runs:0}}class IT{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=_T(this,"actions"),this.addFilter=_T(this,"filters"),this.removeAction=bT(this,"actions"),this.removeFilter=bT(this,"filters"),this.hasAction=wT(this,"actions"),this.hasFilter=wT(this,"filters"),this.removeAllActions=bT(this,"actions",!0),this.removeAllFilters=bT(this,"filters",!0),this.doAction=ST(this,"actions"),this.applyFilters=ST(this,"filters",!0),this.currentAction=MT(this,"actions"),this.currentFilter=MT(this,"filters"),this.doingAction=$T(this,"actions"),this.doingFilter=$T(this,"filters"),this.didAction=CT(this,"actions"),this.didFilter=CT(this,"filters")}}const TT=new IT,{addAction:AT,addFilter:DT,removeAction:kT,removeFilter:LT,hasAction:OT,hasFilter:ET,removeAllActions:PT,removeAllFilters:NT,doAction:RT,applyFilters:BT,currentAction:zT,currentFilter:FT,doingAction:VT,doingFilter:GT,didAction:WT,didFilter:HT,actions:jT,filters:UT}=TT;var YT={exports:{}};YT.exports=function(t,e,n){t=t||{};var i=e.prototype,r={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,e,n,r){return i.fromToBase(t,e,n,r)}n.en.relativeTime=r,i.fromToBase=function(e,i,o,a,s){for(var l,u,d,c=o.$locale().relativeTime||r,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=h.length,f=0;f<p;f+=1){var g=h[f];g.d&&(l=a?n(e).diff(o,g.d,!0):o.diff(e,g.d,!0));var y=(t.rounding||Math.round)(Math.abs(l));if(d=l>0,y<=g.r||!g.r){y<=1&&f>0&&(g=h[f-1]);var m=c[g.l];s&&(y=s(""+y)),u="string"==typeof m?m.replace("%d",y):m(y,i,g.l,d);break}}if(i)return u;var v=d?c.future:c.past;return"function"==typeof v?v(u):v.replace("%s",u)},i.to=function(t,e){return o(t,e,this,!0)},i.from=function(t,e){return o(t,e,this)};var a=function(t){return t.$u?n.utc():n()};i.toNow=function(t){return this.to(a(this),t)},i.fromNow=function(t){return this.from(a(this),t)}};const XT=yb(YT.exports);var ZT={exports:{}};ZT.exports=function(){var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,r,o){var a=r.prototype;o.utc=function(t){return new r({date:t,utc:!0,args:arguments})},a.utc=function(e){var n=o(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var l=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(i,r){var o=this.$utils().u;if(o(i))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof i&&null===(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var r=(""+i[0]).match(n)||["-",0,0],o=r[0],a=60*+r[1]+ +r[2];return 0===a?0:"+"===o?a:-a}(i)))return this;var a=Math.abs(i)<=16?60*i:i;if(0===a)return this.utc(r);var s=this.clone();if(r)return s.$offset=a,s.$u=!1,s;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(a+l,t)).$offset=a,s.$x.$localOffset=l,s};var d=a.format;a.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,e)},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var c=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():c.call(this)};var h=a.diff;a.diff=function(t,e,n){if(t&&this.$u===t.$u)return h.call(this,t,e,n);var i=this.local(),r=o(t).local();return h.call(i,r,e,n)}}}();const qT=yb(ZT.exports);var KT={exports:{}};KT.exports=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,n,i){var r=n.prototype,o=r.format;i.en.formats=t,r.format=function(e){void 0===e&&(e="YYYY-MM-DDTHH:mm:ssZ");var n,i=this.$locale().formats,r=(n=void 0===i?{}:i,e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,i,r){var o=r&&r.toUpperCase();return i||n[r]||t[r]||n[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,n){return e||n.slice(1)})}));return o.call(this,r)}}}();const JT=yb(KT.exports);var QT={exports:{}};QT.exports=function(){function t(){return t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},t.apply(this,arguments)}return function(e,n,i){i.updateLocale=function(e,n){var r=i.Ls[e];if(r)return(n?Object.keys(n):[]).forEach(function(e){r[e]&&n[e]&&"object"==typeof r[e]&&"object"==typeof n[e]&&!Array.isArray(r[e])?r[e]=t({},r[e],n[e]):r[e]=n[e]}),r}}}();const tA=yb(QT.exports);var eA={exports:{}};eA.exports=function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,r){var o,a=function(t,n,i){void 0===i&&(i={});var r=new Date(t);return function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",r=t+"|"+i,o=e[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[r]=o),o}(n,i).formatToParts(r)},s=function(e,n){for(var i=a(e,n),o=[],s=0;s<i.length;s+=1){var l=i[s],u=l.type,d=l.value,c=t[u];c>=0&&(o[c]=parseInt(d,10))}var h=o[3],p=24===h?0:h,f=o[0]+"-"+o[1]+"-"+o[2]+" "+p+":"+o[4]+":"+o[5]+":000",g=+e;return(r.utc(f).valueOf()-(g-=g%1e3))/6e4},l=i.prototype;l.tz=function(t,e){void 0===t&&(t=o);var n,i=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:t}),l=Math.round((a-new Date(s))/1e3/60),u=15*-Math.round(a.getTimezoneOffset()/15)-l;if(Number(u)){if(n=r(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),e){var d=n.utcOffset();n=n.add(i-d,"minute")}}else n=this.utcOffset(0,e);return n.$x.$timezone=t,n},l.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return u.call(this,t,e);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,n){var i=n&&e,a=n||e||o,l=s(+r(),a);if("string"!=typeof t)return r(t).tz(a);var u=function(t,e,n){var i=t-60*e*1e3,r=s(i,n);if(e===r)return[i,e];var o=s(i-=60*(r-e)*1e3,n);return r===o?[i,r]:[t-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(t,i).valueOf(),l,a),d=u[0],c=u[1],h=r(d).utcOffset(c);return h.$x.$timezone=a,h},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){o=t}}}();const nA=yb(eA.exports);var iA=function(t,e){return(iA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function rA(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}iA(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var oA=function(){return function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}}(),aA=new(function(){return function(){this.browser=new oA,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}}());"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(aA.wxa=!0,aA.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?aA.worker=!0:!aA.hasGlobalWindow||"Deno"in window?(aA.node=!0,aA.svgSupported=!0):function(t,e){var n=e.browser,i=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);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,aA);var sA="sans-serif",lA="12px "+sA;var uA=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),dA={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,i){if(!t){var r=dA.createCanvas();t=r&&r.getContext("2d")}if(t)return e!==i&&(e=t.font=i||lA),t.measureText(n);n=n||"";var o=/((?:\d+)?\.?\d*)px/.exec(i=i||lA),a=o&&+o[1]||12,s=0;if(i.indexOf("mono")>=0)s=a*n.length;else for(var l=0;l<n.length;l++){var u=uA[n[l]];s+=null==u?a:u*a}return{width:s}}}(),loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}},cA=PA(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),hA=PA(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),pA=Object.prototype.toString,fA=Array.prototype,gA=fA.forEach,yA=fA.filter,mA=fA.slice,vA=fA.map,xA=function(){}.constructor,_A=xA?xA.prototype:null,bA="__proto__",wA=2311;function SA(){return wA++}function MA(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function $A(t){if(null==t||"object"!=typeof t)return t;var e=t,n=pA.call(t);if("[object Array]"===n){if(!aD(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=$A(t[i])}}else if(hA[n]){if(!aD(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=t[i]}}}else if(!cA[n]&&!aD(t)&&!XA(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==bA&&(e[a]=$A(t[a]));return e}function CA(t,e,n){if(!jA(e)||!jA(t))return n?$A(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==bA){var r=t[i],o=e[i];!jA(o)||!jA(r)||FA(o)||FA(r)||XA(o)||XA(r)||UA(o)||UA(r)||aD(o)||aD(r)?!n&&i in t||(t[i]=$A(e[i])):CA(r,o,n)}return t}function IA(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=CA(n,t[i],e);return n}function TA(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==bA&&(t[n]=e[n]);return t}function AA(t,e,n){for(var i=RA(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}function DA(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function kA(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else AA(t,e,n)}function LA(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function OA(t,e,n){if(t&&e)if(t.forEach&&t.forEach===gA)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function EA(t,e,n){if(!t)return[];if(!e)return tD(t);if(t.map&&t.map===vA)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function PA(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function NA(t,e,n){if(!t)return[];if(!e)return tD(t);if(t.filter&&t.filter===yA)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function RA(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var BA=_A&&VA(_A.bind)?_A.call.bind(_A.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(mA.call(arguments)))}};function zA(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(mA.call(arguments)))}}function FA(t){return Array.isArray?Array.isArray(t):"[object Array]"===pA.call(t)}function VA(t){return"function"==typeof t}function GA(t){return"string"==typeof t}function WA(t){return"[object String]"===pA.call(t)}function HA(t){return"number"==typeof t}function jA(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function UA(t){return!!cA[pA.call(t)]}function YA(t){return!!hA[pA.call(t)]}function XA(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function ZA(t){return null!=t.colorStops}function qA(t){return t!=t}function KA(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function JA(t,e){return null!=t?t:e}function QA(t,e,n){return null!=t?t:null!=e?e:n}function tD(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return mA.apply(t,e)}function eD(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 nD(t,e){if(!t)throw new Error(e)}function iD(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var rD="__ec_primitive__";function oD(t){t[rD]=!0}function aD(t){return t[rD]}var sD=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return RA(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),lD="function"==typeof Map;var uD=function(){function t(e){var n=FA(e);this.data=lD?new Map:new sD;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&OA(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return lD?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function dD(t){return new uD(t)}function cD(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function hD(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&TA(n,e),n}function pD(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function fD(t,e){return t.hasOwnProperty(e)}function gD(){}var yD=180/Math.PI;function mD(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function vD(t,e){return t[0]=e[0],t[1]=e[1],t}function xD(t){return[t[0],t[1]]}function _D(t,e,n){return t[0]=e,t[1]=n,t}function bD(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function wD(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function SD(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function MD(t){return Math.sqrt(function(t){return t[0]*t[0]+t[1]*t[1]}(t))}function $D(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function CD(t,e){var n=MD(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function ID(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var TD=ID;var AD=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function DD(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function kD(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function LD(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function OD(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var ED=function(){return function(t,e){this.target=t,this.topTarget=e&&e.topTarget}}(),PD=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){for(var e=t.target;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 ED(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new ED(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new ED(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new ED(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new ED(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new ED(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),ND=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!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===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.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 n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[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)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[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))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),RD=Math.log(2);function BD(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/RD);return t[n][l]}for(var u=i|1<<n,d=n+1;i&1<<d;)d++;for(var c=0,h=0,p=0;h<s;h++){var f=1<<h;f&r||(c+=(p%2?-1:1)*t[n][h]*BD(t,e-1,d,u,r|f,o),p++)}return o[a]=c,c}function zD(t,e){var n=[[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]]],i={},r=BD(n,8,0,0,0,i);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)*BD(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var FD="___zrEVENTSAVED",VD=[];function GD(t,e,n,i,r){if(e.getBoundingClientRect&&aA.domSupported&&!WD(e)){var o=e[FD]||(e[FD]={}),a=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),s=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var d=t[u].getBoundingClientRect(),c=2*u,h=d.left,p=d.top;a.push(h,p),l=l&&o&&h===o[c]&&p===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?zD(s,a):zD(a,s))}(a,o,r);if(s)return s(t,n,i),!0}return!1}function WD(t){return"CANVAS"===t.nodeName.toUpperCase()}var HD=/([&<>"'])/g,jD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function UD(t){return null==t?"":(t+"").replace(HD,function(t,e){return jD[e]})}var YD=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,XD=[],ZD=aA.browser.firefox&&+aA.browser.version.split(".")[0]<39;function qD(t,e,n,i){return n=n||{},i?KD(t,e,n):ZD&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):KD(t,e,n),n}function KD(t,e,n){if(aA.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(WD(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(GD(XD,t,i,r))return n.zrX=XD[0],void(n.zrY=XD[1])}n.zrX=n.zrY=0}function JD(t){return t||window.event}function QD(t,e,n){if(null!=(e=JD(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&qD(t,r,e,n)}else{qD(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&YD.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function tk(t,e,n,i){t.addEventListener(e,n,i)}function ek(t,e,n,i){t.removeEventListener(e,n,i)}var nk=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function ik(t){return 2===t.which||3===t.which}var rk=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=qD(n,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 ak)if(ak.hasOwnProperty(e)){var n=ak[e](this._track,t);if(n)return n}},t}();function ok(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var ak={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=ok(r)/ok(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function sk(){return[1,0,0,1,0,0]}function lk(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function uk(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 dk(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function ck(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function hk(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],d=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*d,t[1]=-r*d+s*c,t[2]=o*c+l*d,t[3]=-o*d+c*l,t[4]=c*(a-i[0])+d*(u-i[1])+i[0],t[5]=c*(u-i[1])-d*(a-i[0])+i[1],t}function pk(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function fk(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var gk=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,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},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,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+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,n){t.x=e,t.y=n},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,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),yk=Math.min,mk=Math.max,vk=new gk,xk=new gk,_k=new gk,bk=new gk,wk=new gk,Sk=new gk,Mk=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=yk(t.x,this.x),n=yk(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mk(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=mk(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return ck(r,r,[-e.x,-e.y]),pk(r,r,[n,i]),ck(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,d=e.y,c=e.y+e.height,h=!(o<l||u<r||s<d||c<a);if(n){var p=1/0,f=0,g=Math.abs(o-l),y=Math.abs(u-r),m=Math.abs(s-d),v=Math.abs(c-a),x=Math.min(g,y),_=Math.min(m,v);o<l||u<r?x>f&&(f=x,g<y?gk.set(Sk,-g,0):gk.set(Sk,y,0)):x<p&&(p=x,g<y?gk.set(wk,g,0):gk.set(wk,-y,0)),s<d||c<a?_>f&&(f=_,m<v?gk.set(Sk,0,-m):gk.set(Sk,0,v)):x<p&&(p=x,m<v?gk.set(wk,0,m):gk.set(wk,0,-v))}return n&&gk.copy(n,h?wk:Sk),h},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.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,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.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))}vk.x=_k.x=n.x,vk.y=bk.y=n.y,xk.x=bk.x=n.x+n.width,xk.y=_k.y=n.y+n.height,vk.transform(i),bk.transform(i),xk.transform(i),_k.transform(i),e.x=yk(vk.x,xk.x,_k.x,bk.x),e.y=yk(vk.y,xk.y,_k.y,bk.y);var l=mk(vk.x,xk.x,_k.x,bk.x),u=mk(vk.y,xk.y,_k.y,bk.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),$k="silent";function Ck(){nk(this.event)}var Ik=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return rA(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(ND),Tk=function(){return function(t,e){this.x=t,this.y=e}}(),Ak=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Dk=new Mk(0,0,0,0),kk=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Tk(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Ik,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new PD(a),a}return rA(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(OA(Ak,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,n=t.zrY,i=Ek(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Tk(e,n):this.findHover(e,n),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 Tk(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.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,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ck}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););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,n){var i=this.storage.getDisplayList(),r=new Tk(t,e);if(Ok(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Mk(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var d=i[u];d===n||d.ignore||d.ignoreCoarsePointer||d.parent&&d.parent.ignoreCoarsePointer||(Dk.copy(d.getBoundingRect()),d.transform&&Dk.applyTransform(d.transform),Dk.intersect(l)&&o.push(d))}if(o.length)for(var c=Math.PI/12,h=2*Math.PI,p=0;p<s;p+=4)for(var f=0;f<h;f+=c){if(Ok(o,r,t+p*Math.cos(f),e+p*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new rk);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Tk;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(ND);function Lk(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||$k}return!1}function Ok(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Lk(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==$k)){e.target=a;break}}}function Ek(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}OA(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){kk.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ek(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||TD(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});function Pk(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function Nk(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=i-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:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Rk(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var d=a+(l-a>>>1);o(t,e[n+d])>0?a=d+1:l=d}return l}function Bk(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var d=a+(l-a>>>1);o(t,e[n+d])<0?l=d:a=d+1}return l}function zk(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],d=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var h=Bk(t[d],t,l,u,0,e);l+=h,0!==(u-=h)&&0!==(c=Rk(t[l+u-1],t,d,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l<i;l++)a[l]=t[n+l];var u=0,d=o,c=n;if(t[c++]=t[d++],0===--s){for(l=0;l<i;l++)t[c+l]=a[u+l];return}if(1===i){for(l=0;l<s;l++)t[c+l]=t[d+l];return void(t[c+s]=a[u])}var h,p,f,g=r;for(;;){h=0,p=0,f=!1;do{if(e(t[d],a[u])<0){if(t[c++]=t[d++],p++,h=0,0===--s){f=!0;break}}else if(t[c++]=a[u++],h++,p=0,1===--i){f=!0;break}}while((h|p)<g);if(f)break;do{if(0!==(h=Bk(t[d],a,u,i,0,e))){for(l=0;l<h;l++)t[c+l]=a[u+l];if(c+=h,u+=h,(i-=h)<=1){f=!0;break}}if(t[c++]=t[d++],0===--s){f=!0;break}if(0!==(p=Rk(a[u],t,d,s,0,e))){for(l=0;l<p;l++)t[c+l]=t[d+l];if(c+=p,d+=p,0===(s-=p)){f=!0;break}}if(t[c++]=a[u++],1===--i){f=!0;break}g--}while(h>=7||p>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l<s;l++)t[c+l]=t[d+l];t[c+s]=a[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[c+l]=a[u+l]}}(l,u,d,c):function(n,i,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+i-1,d=s-1,c=o+s-1,h=0,p=0;if(t[c--]=t[u--],0===--i){for(h=c-(s-1),l=0;l<s;l++)t[h+l]=a[l];return}if(1===s){for(p=(c-=i)+1,h=(u-=i)+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];return void(t[c]=a[d])}var f=r;for(;;){var g=0,y=0,m=!1;do{if(e(a[d],t[u])<0){if(t[c--]=t[u--],g++,y=0,0===--i){m=!0;break}}else if(t[c--]=a[d--],y++,g=0,1===--s){m=!0;break}}while((g|y)<f);if(m)break;do{if(0!==(g=i-Bk(a[d],t,n,i,i-1,e))){for(i-=g,p=(c-=g)+1,h=(u-=g)+1,l=g-1;l>=0;l--)t[p+l]=t[h+l];if(0===i){m=!0;break}}if(t[c--]=a[d--],1===--s){m=!0;break}if(0!==(y=s-Rk(t[u],a,0,s,s-1,e))){for(s-=y,p=(c-=y)+1,h=(d-=y)+1,l=0;l<y;l++)t[p+l]=a[h+l];if(s<=1){m=!0;break}}if(t[c--]=t[u--],0===--i){m=!0;break}f--}while(g>=7||y>=7);if(m)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(p=(c-=i)+1,h=(u-=i)+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=a[d]}else{if(0===s)throw new Error;for(h=c-(s-1),l=0;l<s;l++)t[h+l]=a[l]}}(l,u,d,c))}return n=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[o]=t,i[o]=e,o+=1}}}function Fk(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<32)Nk(t,n,i,n+(o=Pk(t,n,i,e)),e);else{var a=zk(t,e),s=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Pk(t,n,i,e))<s){var l=r;l>s&&(l=s),Nk(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Vk=!1;function Gk(){Vk||(Vk=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Wk(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Hk,jk=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Wk}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Fk(n,Wk)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;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|=1),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Gk(),u.z=0),isNaN(u.z2)&&(Gk(),u.z2=0),isNaN(u.zlevel)&&(Gk(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},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,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=DA(this._roots,t);i>=0&&this._roots.splice(i,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}();Hk=aA.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Uk={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,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.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-Uk.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*Uk.bounceIn(2*t):.5*Uk.bounceOut(2*t-1)+.5}},Yk=Math.pow,Xk=Math.sqrt,Zk=1e-8,qk=1e-4,Kk=Xk(3),Jk=1/3,Qk=mD(),tL=mD(),eL=mD();function nL(t){return t>-1e-8&&t<Zk}function iL(t){return t>Zk||t<-1e-8}function rL(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function oL(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function aL(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,d=s*s-3*a*l,c=s*l-9*a*u,h=l*l-3*s*u,p=0;if(nL(d)&&nL(c)){if(nL(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[p++]=M)}else{var f=c*c-4*d*h;if(nL(f)){var g=c/d,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[p++]=M),y>=0&&y<=1&&(o[p++]=y)}else if(f>0){var m=Xk(f),v=d*s+1.5*a*(-c+m),x=d*s+1.5*a*(-c-m);(M=(-s-((v=v<0?-Yk(-v,Jk):Yk(v,Jk))+(x=x<0?-Yk(-x,Jk):Yk(x,Jk))))/(3*a))>=0&&M<=1&&(o[p++]=M)}else{var _=(2*d*s-3*a*c)/(2*Xk(d*d*d)),b=Math.acos(_)/3,w=Xk(d),S=Math.cos(b),M=(-s-2*w*S)/(3*a),$=(y=(-s+w*(S+Kk*Math.sin(b)))/(3*a),(-s+w*(S-Kk*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[p++]=M),y>=0&&y<=1&&(o[p++]=y),$>=0&&$<=1&&(o[p++]=$)}}return p}function sL(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(nL(a)){if(iL(o))(d=-s/o)>=0&&d<=1&&(r[l++]=d)}else{var u=o*o-4*a*s;if(nL(u))r[0]=-o/(2*a);else if(u>0){var d,c=Xk(u),h=(-o-c)/(2*a);(d=(-o+c)/(2*a))>=0&&d<=1&&(r[l++]=d),h>=0&&h<=1&&(r[l++]=h)}}return l}function lL(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,d=(l-s)*r+s,c=(d-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=d,o[6]=l,o[7]=i}function uL(t,e,n,i,r,o,a,s,l,u,d){var c,h,p,f,g,y=.005,m=1/0;Qk[0]=l,Qk[1]=u;for(var v=0;v<1;v+=.05)tL[0]=rL(t,n,r,a,v),tL[1]=rL(e,i,o,s,v),(f=AD(Qk,tL))<m&&(c=v,m=f);m=1/0;for(var x=0;x<32&&!(y<qk);x++)h=c-y,p=c+y,tL[0]=rL(t,n,r,a,h),tL[1]=rL(e,i,o,s,h),f=AD(tL,Qk),h>=0&&f<m?(c=h,m=f):(eL[0]=rL(t,n,r,a,p),eL[1]=rL(e,i,o,s,p),g=AD(eL,Qk),p<=1&&g<m?(c=p,m=g):y*=.5);return d&&(d[0]=rL(t,n,r,a,c),d[1]=rL(e,i,o,s,c)),Xk(m)}function dL(t,e,n,i,r,o,a,s,l){for(var u=t,d=e,c=0,h=1/l,p=1;p<=l;p++){var f=p*h,g=rL(t,n,r,a,f),y=rL(e,i,o,s,f),m=g-u,v=y-d;c+=Math.sqrt(m*m+v*v),u=g,d=y}return c}function cL(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function hL(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function pL(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function fL(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function gL(t,e,n,i,r,o,a,s,l){var u,d=.005,c=1/0;Qk[0]=a,Qk[1]=s;for(var h=0;h<1;h+=.05){tL[0]=cL(t,n,r,h),tL[1]=cL(e,i,o,h),(y=AD(Qk,tL))<c&&(u=h,c=y)}c=1/0;for(var p=0;p<32&&!(d<qk);p++){var f=u-d,g=u+d;tL[0]=cL(t,n,r,f),tL[1]=cL(e,i,o,f);var y=AD(tL,Qk);if(f>=0&&y<c)u=f,c=y;else{eL[0]=cL(t,n,r,g),eL[1]=cL(e,i,o,g);var m=AD(eL,Qk);g<=1&&m<c?(u=g,c=m):d*=.5}}return l&&(l[0]=cL(t,n,r,u),l[1]=cL(e,i,o,u)),Xk(c)}function yL(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,d=1/a,c=1;c<=a;c++){var h=c*d,p=cL(t,n,r,h),f=cL(e,i,o,h),g=p-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=p,l=f}return u}var mL=/cubic-bezier\(([0-9,\.e ]+)\)/;function vL(t){var e=t&&mL.exec(t);if(e){var n=e[1].split(","),i=+iD(n[0]),r=+iD(n[1]),o=+iD(n[2]),a=+iD(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:aL(0,i,o,1,t,s)&&rL(0,r,a,1,s[0])}}}var xL=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||gD,this.ondestroy=t.ondestroy||gD,this.onrestart=t.onrestart||gD,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 n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;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=i%n;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=VA(t)?t:Uk[t]||vL(t)},t}(),_L=function(){return function(t){this.value=t}}(),bL=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new _L(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,n=t.next;e?e.next=n:this.head=n,n?n.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}(),wL=function(){function t(t){this._list=new bL,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new _L(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),SL={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 ML(t){return(t=Math.round(t))<0?0:t>255?255:t}function $L(t){return t<0?0:t>1?1:t}function CL(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?ML(parseFloat(e)/100*255):ML(parseInt(e,10))}function IL(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?$L(parseFloat(e)/100):$L(parseFloat(e))}function TL(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function AL(t,e,n){return t+(e-t)*n}function DL(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function kL(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var LL=new wL(20),OL=null;function EL(t,e){OL&&kL(OL,e),OL=LL.put(t,OL||e.slice())}function PL(t,e){if(t){e=e||[];var n=LL.get(t);if(n)return kL(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in SL)return kL(e,SL[i]),EL(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(DL(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),EL(t,e),e):void DL(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(DL(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),EL(t,e),e):void DL(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),d=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?DL(e,+u[0],+u[1],+u[2],1):DL(e,0,0,0,1);d=IL(u.pop());case"rgb":return u.length>=3?(DL(e,CL(u[0]),CL(u[1]),CL(u[2]),3===u.length?d:IL(u[3])),EL(t,e),e):void DL(e,0,0,0,1);case"hsla":return 4!==u.length?void DL(e,0,0,0,1):(u[3]=IL(u[3]),NL(u,e),EL(t,e),e);case"hsl":return 3!==u.length?void DL(e,0,0,0,1):(NL(u,e),EL(t,e),e);default:return}}DL(e,0,0,0,1)}}function NL(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=IL(t[1]),r=IL(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return DL(e=e||[],ML(255*TL(a,o,n+1/3)),ML(255*TL(a,o,n)),ML(255*TL(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function RL(t,e){var n=PL(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return VL(n,4===n.length?"rgba":"rgb")}}function BL(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=ML(AL(a[0],s[0],l)),n[1]=ML(AL(a[1],s[1],l)),n[2]=ML(AL(a[2],s[2],l)),n[3]=$L(AL(a[3],s[3],l)),n}}function zL(t,e,n,i){var r=PL(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var d=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,h=((s-o)/6+l/2)/l;i===s?e=h-c:r===s?e=1/3+d-h:o===s&&(e=2/3+c-d),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=IL(n)),null!=i&&(r[2]=IL(i)),VL(NL(r),"rgba")}function FL(t,e){var n=PL(t);if(n&&null!=e)return n[3]=$L(e),VL(n,"rgba")}function VL(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function GL(t,e){var n=PL(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var WL=new wL(100);function HL(t){if(GA(t)){var e=WL.get(t);return e||(e=RL(t,-.1),WL.put(t,e)),e}if(ZA(t)){var n=TA({},t);return n.colorStops=EA(t.colorStops,function(t){return{offset:t.offset,color:RL(t.color,-.1)}}),n}return t}var jL=Math.round;function UL(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=PL(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var YL=1e-4;function XL(t){return t<YL&&t>-1e-4}function ZL(t){return jL(1e3*t)/1e3}function qL(t){return jL(1e4*t)/1e4}var KL={left:"start",right:"end",center:"middle",middle:"middle"};function JL(t){return t&&!!t.image}function QL(t){return JL(t)||function(t){return t&&!!t.svgElement}(t)}function tO(t){return"linear"===t.type}function eO(t){return"radial"===t.type}function nO(t){return t&&("linear"===t.type||"radial"===t.type)}function iO(t){return"url(#"+t+")"}function rO(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function oO(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*yD,r=JA(t.scaleX,1),o=JA(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+jL(a*yD)+"deg, "+jL(s*yD)+"deg)"),l.join(" ")}var aO=aA.hasGlobalWindow&&VA(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},sO=Array.prototype.slice;function lO(t,e,n){return(e-t)*n+t}function uO(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=lO(e[o],n[o],i);return t}function dO(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function cO(t,e,n,i){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]+n[a][s]*i}return t}function hO(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function pO(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:sO.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function fO(t){if(LA(t)){var e=t.length;if(LA(t[0])){for(var n=[],i=0;i<e;i++)n.push(sO.call(t[i]));return n}return sO.call(t)}return t}function gO(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 yO(t){return 4===t||5===t}function mO(t){return 1===t||2===t}var vO=[0,0,0,0],xO=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,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(LA(e)){var l=function(t){return LA(t&&t[0])?2:1}(e);a=l,(1===l&&!HA(e[0])||2===l&&!HA(e[0][0]))&&(o=!0)}else if(HA(e)&&!qA(e))a=0;else if(GA(e))if(isNaN(+e)){var u=PL(e);u&&(s=u,a=3)}else a=0;else if(ZA(e)){var d=TA({},s);d.colorStops=EA(e.colorStops,function(t){return{offset:t.offset,color:PL(t.color)}}),tO(e)?a=4:eO(e)&&(a=5),s=d}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=VA(n)?n:Uk[n]||vL(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=mO(i),l=yO(i),u=0;u<r;u++){var d=n[u],c=d.value,h=o.value;d.percent=d.time/t,a||(s&&u!==r-1?pO(c,h,i):l&&hO(c.colorStops,h.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-p:3===i?n[u].additiveValue=dO([],n[u].value,p,-1):mO(i)&&(n[u].additiveValue=1===i?dO([],n[u].value,p,-1):cO([],n[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,d=this.propName,c=3===s,h=this._lastFr,p=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=p(h+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=p(n,u-2)}else{for(n=h;n<u&&!(l[n].percent>e);n++);n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?vO:t[d];if(!mO(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[d]=g<1?i.rawValue:r.rawValue;else if(mO(s))1===s?uO(y,i[a],r[a],g):function(t,e,n,i){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]=lO(e[a][s],n[a][s],i)}}(y,i[a],r[a],g);else if(yO(s)){var m=i[a],v=r[a],x=4===s;t[d]={type:x?"linear":"radial",x:lO(m.x,v.x,g),y:lO(m.y,v.y,g),colorStops:EA(m.colorStops,function(t,e){var n=v.colorStops[e];return{offset:lO(t.offset,n.offset,g),color:gO(uO([],t.color,n.color,g))}}),global:v.global},x?(t[d].x2=lO(m.x2,v.x2,g),t[d].y2=lO(m.y2,v.y2,g)):t[d].r=lO(m.r,v.r,g)}else if(c)uO(y,i[a],r[a],g),o||(t[d]=gO(y));else{var _=lO(i[a],r[a],g);o?this._additiveValue=_:t[d]=_}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(PL(t[n],vO),dO(vO,vO,i,1),t[n]=gO(vO)):1===e?dO(t[n],t[n],i,1):2===e&&cO(t[n],t[n],i,1)},t}(),_O=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?MA("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}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,n){return this.whenWithKeys(t,e,RA(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new xO(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var d=u.keyframes,c=d[d.length-1];l=c&&c.value,3===u.valType&&l&&(l=gO(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,fO(l),i),this._trackKeys.push(a)}s.addKeyframe(t,fO(e[a]),i)}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,n=0;n<e;n++)t[n].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 n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=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(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var d=l[u-1];d&&(e._target[a.propName]=d.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var c=new xL({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[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=c,this.animation&&this.animation.addClip(c),t&&c.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 EA(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[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<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=fO(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||RA(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function bO(){return(new Date).getTime()}var wO,SO,MO=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return rA(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,n=t.next;e?e.next=n:this._head=n,n?n.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){for(var e=bO()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,Hk(function e(){t._running&&(Hk(e),!t._paused&&t.update())})},e.prototype.start=function(){this._running||(this._time=bO(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=bO(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=bO()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;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 n=new _O(t,e.loop);return this.addAnimator(n),n},e}(ND),$O=aA.domSupported,CO=(SO={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:wO=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:EA(wO,function(t){var e=t.replace("mouse","pointer");return SO.hasOwnProperty(e)?e:t})}),IO=["mousemove","mouseup"],TO=["pointermove","pointerup"],AO=!1;function DO(t){var e=t.pointerType;return"pen"===e||"touch"===e}function kO(t){t&&(t.zrByTouch=!0)}function LO(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var OO=function(){return function(t,e){this.stopPropagation=gD,this.stopImmediatePropagation=gD,this.preventDefault=gD,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}}(),EO={mousedown:function(t){t=QD(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=QD(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=QD(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){LO(this,(t=QD(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){AO=!0,t=QD(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){AO||(t=QD(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){kO(t=QD(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),EO.mousemove.call(this,t),EO.mousedown.call(this,t)},touchmove:function(t){kO(t=QD(this.dom,t)),this.handler.processGesture(t,"change"),EO.mousemove.call(this,t)},touchend:function(t){kO(t=QD(this.dom,t)),this.handler.processGesture(t,"end"),EO.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&EO.click.call(this,t)},pointerdown:function(t){EO.mousedown.call(this,t)},pointermove:function(t){DO(t)||EO.mousemove.call(this,t)},pointerup:function(t){EO.mouseup.call(this,t)},pointerout:function(t){DO(t)||EO.mouseout.call(this,t)}};OA(["click","dblclick","contextmenu"],function(t){EO[t]=function(e){e=QD(this.dom,e),this.trigger(t,e)}});var PO={pointermove:function(t){DO(t)||PO.mousemove.call(this,t)},pointerup:function(t){PO.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 NO(t,e){var n=e.domHandlers;aA.pointerEventsSupported?OA(CO.pointer,function(i){BO(e,i,function(e){n[i].call(t,e)})}):(aA.touchEventsSupported&&OA(CO.touch,function(i){BO(e,i,function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}(e)})}),OA(CO.mouse,function(i){BO(e,i,function(r){r=JD(r),e.touching||n[i].call(t,r)})}))}function RO(t,e){function n(n){BO(e,n,function(i){i=JD(i),LO(t,i.target)||(i=function(t,e){return QD(t.dom,new OO(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))},{capture:!0})}aA.pointerEventsSupported?OA(TO,n):aA.touchEventsSupported||OA(IO,n)}function BO(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,tk(t.domTarget,e,n,i)}function zO(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&ek(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var FO=function(){return function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}}(),VO=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new FO(e,EO),$O&&(i._globalHandlerScope=new FO(document,PO)),NO(i,i._localHandlerScope),i}return rA(e,t),e.prototype.dispose=function(){zO(this._localHandlerScope),$O&&zO(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,$O&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?RO(this,e):zO(e)}},e}(ND),GO=1;aA.hasGlobalWindow&&(GO=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var WO=GO,HO="#333",jO="#ccc",UO=lk,YO=5e-5;function XO(t){return t>YO||t<-5e-5}var ZO=[],qO=[],KO=[1,0,0,1,0,0],JO=Math.abs,QO=function(){function t(){}var e;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 XO(this.rotation)||XO(this.x)||XO(this.y)||XO(this.scaleX-1)||XO(this.scaleY-1)||XO(this.skewX)||XO(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):UO(n),t&&(e?dk(n,t,n):uk(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(UO(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(ZO);var n=ZO[0]<0?-1:1,i=ZO[1]<0?-1:1,r=((ZO[0]-n)*e+n)/ZO[0]||0,o=((ZO[1]-i)*e+i)/ZO[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],fk(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;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],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],dk(qO,t.invTransform,e),e=qO);var n=this.originX,i=this.originY;(n||i)&&(KO[4]=n,KO[5]=i,dk(qO,e,KO),qO[4]-=n,qO[5]-=i,e=qO),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 n=[t,e],i=this.invTransform;return i&&kD(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&kD(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&JO(t[0]-1)>1e-10&&JO(t[3]-1)>1e-10?Math.sqrt(JO(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){eE(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,d=t.y,c=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var p=n+a,f=i+s;e[4]=-p*r-c*f*o,e[5]=-f*o-h*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=h*r,e[2]=c*o,l&&hk(e,e,l),e[4]+=n+u,e[5]+=i+d,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),tE=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function eE(t,e){for(var n=0;n<tE.length;n++){var i=tE[n];t[i]=e[i]}}var nE={};function iE(t,e){var n=nE[e=e||lA];n||(n=nE[e]=new wL(500));var i=n.get(t);return null==i&&(i=dA.measureText(t,e).width,n.put(t,i)),i}function rE(t,e,n,i){var r=iE(t,e),o=lE(e),a=aE(0,r,n),s=sE(0,o,i);return new Mk(a,s,r,o)}function oE(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return rE(r[0],e,n,i);for(var o=new Mk(0,0,0,0),a=0;a<r.length;a++){var s=rE(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function aE(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function sE(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function lE(t){return iE("国",t)}function uE(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function dE(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,d="left",c="top";if(i instanceof Array)l+=uE(i[0],n.width),u+=uE(i[1],n.height),d=null,c=null;else switch(i){case"left":l-=r,u+=s,d="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,d="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,d="center";break;case"inside":l+=a/2,u+=s,d="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,d="right",c="middle";break;case"insideTop":l+=a/2,u+=r,d="center";break;case"insideBottom":l+=a/2,u+=o-r,d="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,d="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,d="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=d,t.verticalAlign=c,t}var cE="__zr_normal__",hE=tE.concat(["ignore"]),pE=PA(tE,function(t,e){return t[e]=!0,t},{ignore:!1}),fE={},gE=new Mk(0,0,0,0),yE=function(){function t(t){this.id=SA(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[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 n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=gE;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(fE,n,u):dE(fE,n,u),r.x=fE.x,r.y=fE.y,o=fE.align,a=fE.verticalAlign;var d=n.origin;if(d&&null!=n.rotation){var c=void 0,h=void 0;"center"===d?(c=.5*u.width,h=.5*u.height):(c=uE(d[0],u.width),h=uE(d[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+h+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,v=void 0;f&&this.canBeInsideText()?(y=n.insideFill,m=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=m&&"auto"!==m||(m=this.getInsideTextStroke(y),v=!0)):(y=n.outsideFill,m=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=m&&"auto"!==m||(m=this.getOutsideStroke(y),v=!0)),(y=y||"#000")===g.fill&&m===g.stroke&&v===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=m,g.autoStroke=v,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,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()?jO:HO},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&PL(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,VL(n,"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||{},TA(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(jA(t))for(var n=RA(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==cE)){var o=i.targetName,a=o?e[o]:e;i.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,hE)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];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(cE,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===cE;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(DA(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,d=this._textGuide;return u&&u.useState(t,e,n,l),d&&d.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}MA("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],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&&i.push(u)}var d=i[o-1],c=!!(d&&d.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},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=DA(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=DA(i,t),o=DA(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];TA(n,r),r.textConfig&&TA(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=TA({},i?this.textConfig:n.textConfig),TA(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<hE.length;u++){var d=hE[u],c=r&&pE[d];e&&null!=e[d]?c?(l=!0,s[d]=e[d]):this[d]=e[d]:a&&null!=n[d]&&(c?(l=!0,s[d]=n[d]):this[d]=n[d])}if(!r)for(u=0;u<this.animators.length;u++){var h=this.animators[u],p=h.targetName;h.getLoop()||h.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,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 QO,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),TA(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|=1;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,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);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 n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,r=new _O(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=DA(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){mE(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){mE(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=mE(this,e,n,i),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;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=1,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function mE(t,e,n,i,r){var o=[];_E(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,d=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},c=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during(function(t,e){n.during(e)});for(var h=0;h<o.length;h++){var p=o[h];d&&p.done(d),c&&p.aborted(c),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function vE(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function xE(t,e,n){if(LA(e[n]))if(LA(t[n])||(t[n]=[]),YA(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),vE(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(LA(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?vE(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else vE(o,r,a);o.length=r.length}else t[n]=e[n]}function _E(t,e,n,i,r,o,a,s){for(var l=RA(i),u=r.duration,d=r.delay,c=r.additive,h=r.setToFinal,p=!jA(o),f=t.animators,g=[],y=0;y<l.length;y++){var m=l[y],v=i[m];if(null!=v&&null!=n[m]&&(p||o[m]))if(!jA(v)||LA(v)||ZA(v))g.push(m);else{if(e){s||(n[m]=v,t.updateDuringAnimation(e));continue}_E(t,m,n[m],v,r,o&&o[m],a,s)}else s||(n[m]=v,t.updateDuringAnimation(e),g.push(m))}var x=g.length;if(!c&&x)for(var _=0;_<f.length;_++){if((w=f[_]).targetName===e)if(w.stopTracks(g)){var b=DA(f,w);f.splice(b,1)}}if(r.force||(g=NA(g,function(t){return e=i[t],r=n[t],!(e===r||LA(e)&&LA(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r}),x=g.length),x>0||r.force&&!a.length){var w,S=void 0,M=void 0,$=void 0;if(s){M={},h&&(S={});for(_=0;_<x;_++){M[m=g[_]]=n[m],h?S[m]=i[m]:n[m]=i[m]}}else if(h){$={};for(_=0;_<x;_++){$[m=g[_]]=fO(n[m]),xE(n,i,m)}}(w=new _O(n,!1,!1,c?NA(f,function(t){return t.targetName===e}):null)).targetName=e,r.scope&&(w.scope=r.scope),h&&S&&w.whenWithKeys(0,S,g),$&&w.whenWithKeys(0,$,g),w.whenWithKeys(null==u?500:u,s?M:i,g).delay(d||0),t.addAnimator(w,e),a.push(w)}}kA(yE,ND),kA(yE,QO);var bE=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return rA(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,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},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 n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=DA(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.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,n=this._children,i=DA(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Mk(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Mk.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(yE);bE.prototype.type="group";var wE={},SE={};var ME,$E=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new jk,o=n.renderer||"canvas";wE[o]||(o=RA(wE)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new wE[o](e,r,n,t),s=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var l,u=aA.node||aA.worker||s?null:new VO(a.getViewportRoot(),a.root),d=n.useCoarsePointer;(null==d||"auto"===d?aA.touchEventsSupported:!!d)&&(l=JA(n.pointerSize,44)),this.handler=new kk(r,a,u,a.root,l),this.animation=new MO({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return GL(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=GL(e[r].color,1);return(n/=i)<.4}return!1}(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){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=bO();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=bO();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):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._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof bE&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete SE[t])},t}();function CE(t,e){var n=new $E(SA(),t,e);return SE[n.id]=n,n}var IE=1e-4;function TE(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)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 AE(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return GA(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function DE(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function kE(t){return t.sort(function(t,e){return t-e}),t}function LE(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function OE(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function EE(t,e){var n=Math.max(LE(t),LE(e)),i=t+e;return n>20?i:DE(i,n)}var PE=9007199254740991;function NE(t){var e=2*Math.PI;return(t%e+e)%e}function RE(t){return t>-1e-4&&t<IE}var BE=/^(?:(\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 zE(t){if(t instanceof Date)return t;if(GA(t)){var e=BE.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(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 FE(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 VE(t,e){var n=FE(t),i=Math.pow(10,n),r=t/i;return t=(r<1.5?1:r<2.5?2:r<4?3:r<7?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function GE(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function WE(t){t.sort(function(t,e){return s(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!==1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]===(n?-1:1)||!n&&s(t,e,1))}}function HE(t){var e=parseFloat(t);return e==t&&(0!==e||!GA(t)||t.indexOf("x")<=0)?e:NaN}function jE(t){return!isNaN(HE(t))}function UE(){return Math.round(9*Math.random())}function YE(t,e){return 0===e?t:YE(e,t%e)}function XE(t,e){return null==t?e:null==e?t:t*e/YE(t,e)}function ZE(t){throw new Error(t)}function qE(t,e,n){return(e-t)*n+t}var KE="series\0",JE="\0_ec_\0";function QE(t){return t instanceof Array?t:null==t?[]:[t]}function tP(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var eP=["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 nP(t){return!jA(t)||FA(t)||t instanceof Date?t:t.value}function iP(t){return jA(t)&&!(t instanceof Array)}function rP(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=dD();OA(e,function(t,n){jA(t)||(e[n]=null)});var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||uP(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){OA(i,function(r,o){if(r&&null!=r.id){var a=aP(r.id),s=n.get(a);if(null!=s){var l=t[s];nD(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}})}(u,t,a,e),i&&function(t,e){OA(e,function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!uP(n)&&!uP(o)&&oP("name",o,n))return t[r].newOption=n,void(e[i]=null)}})}(u,e),i||r?function(t,e,n){OA(e,function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||uP(i.existing)||i.existing&&null!=e.id&&!oP("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}})}(u,e,r):o&&function(t,e){OA(e,function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}(u,e),s=u,l=dD(),OA(s,function(t){var e=t.existing;e&&l.set(e.id,t)}),OA(s,function(t){var e=t.newOption;nD(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})}),OA(s,function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(jA(i)){if(r.name=null!=i.name?aP(i.name):n?n.name:KE+e,n)r.id=aP(n.id);else if(null!=i.id)r.id=aP(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}}),u}function oP(t,e,n){var i=sP(e[t],null),r=sP(n[t],null);return null!=i&&null!=r&&i===r}function aP(t){return sP(t,"")}function sP(t,e){return null==t?e:GA(t)?t:HA(t)||WA(t)?t+"":e}function lP(t){var e=t.name;return!(!e||!e.indexOf(KE))}function uP(t){return t&&null!=t.id&&0===aP(t.id).indexOf(JE)}function dP(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?FA(e.dataIndex)?EA(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?FA(e.name)?EA(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function cP(){var t="__ec_inner_"+hP++;return function(e){return e[t]||(e[t]={})}}var hP=UE();function pP(t,e,n){var i=fP(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=mP(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function fP(t,e){var n;if(GA(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=dD(),o={},a=!1;return OA(n,function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&DA(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t}),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var gP={useDefault:!0,enableAll:!1,enableNone:!1},yP={useDefault:!1,enableAll:!0,enableNone:!0};function mP(t,e,n,i){i=i||gP;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(nD(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(nD(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function vP(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function xP(t,e){var n=dD(),i=[];return OA(t,function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)}),{keys:i,buckets:n}}function _P(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(HA(i))return DE(f=qE(n||0,i,r),o?Math.max(LE(n||0),LE(i)):e);if(GA(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),d=0;d<u;++d){var c=t.getDimensionInfo(d);if(c&&"ordinal"===c.type)a[d]=(r<1&&s?s:l)[d];else{var h=s&&s[d]?s[d]:0,p=l[d],f=qE(h,p,r);a[d]=DE(f,o?Math.max(LE(h),LE(p)):e)}}return a}var bP="___EC__COMPONENT__CONTAINER___",wP="___EC__EXTENDED_CLASS___";function SP(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function MP(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return VA(n=i)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return rA(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}(e,this)),TA(e.prototype,t),e[wP]=!0,e.extend=this.extend,e.superCall=IP,e.superApply=TP,e.superClass=i,e}}function $P(t,e){t.extend=e.extend}var CP=Math.round(10*Math.random());function IP(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function TP(t,e,n){return this.superClass.prototype[e].apply(t,n)}function AP(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){nD(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=SP(i);if(r.sub){if(r.sub!==bP){var o=function(t){var n=e[t.main];n&&n[bP]||((n=e[t.main]={})[bP]=!0);return n}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[bP]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=SP(t),i=[],r=e[n.main];return r&&r[bP]?OA(r,function(t,e){e!==bP&&i.push(t)}):i.push(r),i},t.hasClass=function(t){var n=SP(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return OA(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=SP(t),i=e[n.main];return i&&i[bP]}}function DP(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&DA(i,s)>=0||r&&DA(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var kP=DP([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),LP=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return kP(this,t,e)},t}(),OP=new wL(50);function EP(t){if("string"==typeof t){var e=OP.get(t);return e&&e.image}return t}function PP(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=OP.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!RP(e=o.image)&&o.pending.push(a):((e=dA.loadImage(t,NP,NP)).__zrImageSrc=t,OP.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function NP(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function RP(t){return t&&t.width&&t.height}var BP=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function zP(t,e,n,i,r,o){if(!n)return t.text="",void(t.isTruncated=!1);var a=(e+"").split("\n");o=FP(n,i,r,o);for(var s=!1,l={},u=0,d=a.length;u<d;u++)VP(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function FP(t,e,n,i){var r=TA({},i=i||{});r.font=e,n=JA(n,"..."),r.maxIterations=JA(i.maxIterations,2);var o=r.minChar=JA(i.minChar,0);r.cnCharWidth=iE("国",e);var a=r.ascCharWidth=iE("a",e);r.placeholder=JA(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=iE(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function VP(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=iE(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?GP(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;a=iE(e=e.substr(0,l),r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function GP(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var WP=function(){return function(){}}(),HP=function(){return function(t){this.tokens=[],t&&(this.tokens=t)}}(),jP=function(){return function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}}();function UP(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,d=l.font||n.font,c=!1;if(i){var h=l.padding,p=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var f=uE(l.width,i.width)+p;u.length>0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=ZP(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y<o.length;y++){var m=o[y],v=new WP;if(v.styleName=r,v.text=m,v.isLineHolder=!m&&!s,"number"==typeof l.width?v.width=l.width:v.width=a?a[y]:iE(m,d),y||c)u.push(new HP([v]));else{var x=(u[u.length-1]||(u[0]=new HP)).tokens,_=x.length;1===_&&x[0].isLineHolder?x[0]=v:(m||!_||s)&&x.push(v)}}}var YP=PA(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function XP(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!YP[t]}function ZP(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,d=0,c=0;c<t.length;c++){var h=t.charAt(c);if("\n"!==h){var p=iE(h,e),f=!i&&!XP(h);(o.length?d+p>n:r+d+p>n)?d?(s||l)&&(f?(s||(s=l,l="",d=u=0),o.push(s),a.push(d-u),l+=h,s="",d=u+=p):(l&&(s+=l,l="",u=0),o.push(s),a.push(d),s=h,d=p)):f?(o.push(l),a.push(u),l=h,u=p):(o.push(h),a.push(p)):(d+=p,f?(l+=h,u+=p):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,d+=u),o.push(s),a.push(d),s="",l="",u=0,d=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(d)),1===o.length&&(d+=r),{accumWidth:d,lines:o,linesWidths:a}}var qP="__zr_style_"+Math.round(10*Math.random()),KP={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},JP={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};KP[qP]=!0;var QP=["z","z2","invisible"],tN=["invisible"],eN=function(t){function e(e){return t.call(this,e)||this}var n;return rA(e,t),e.prototype._init=function(e){for(var n=RA(e),i=0;i<n.length;i++){var r=n[i];"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,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){nN.copy(t.getBoundingRect()),t.transform&&nN.applyTransform(t.transform);return iN.width=e,iN.height=n,!nN.intersect(iN)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;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 n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Mk(0,0,0,0)),e?Mk.applyTransform(t,n,e):t.copy(n),(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 Mk(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,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:TA(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return hD(KP,t)},e.prototype.useStyle=function(t){t[qP]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[qP]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,QP)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var d=RA(u),c=0;c<d.length;c++){(p=d[c])in s&&(s[p]=s[p],this.style[p]=u[p])}var h=RA(s);for(c=0;c<h.length;c++){var p=h[c];this.style[p]=this.style[p]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var f=this.__inHover?tN:QP;for(c=0;c<f.length;c++){p=f[c];n&&null!=n[p]?this[p]=n[p]:l&&null!=i[p]&&(this[p]=i[p])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return TA(t,e),t},e.prototype.getAnimationStyleProps=function(){return JP},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=3)),e}(yE),nN=new Mk(0,0,0,0),iN=new Mk(0,0,0,0);var rN=Math.min,oN=Math.max,aN=Math.sin,sN=Math.cos,lN=2*Math.PI,uN=mD(),dN=mD(),cN=mD();function hN(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=rN(r,i[0]),o=oN(o,i[0]),a=rN(a,i[1]),s=oN(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function pN(t,e,n,i,r,o){r[0]=rN(t,n),r[1]=rN(e,i),o[0]=oN(t,n),o[1]=oN(e,i)}var fN=[],gN=[];function yN(t,e,n,i,r,o,a,s,l,u){var d=sL,c=rL,h=d(t,n,r,a,fN);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<h;p++){var f=c(t,n,r,a,fN[p]);l[0]=rN(f,l[0]),u[0]=oN(f,u[0])}h=d(e,i,o,s,gN);for(p=0;p<h;p++){var g=c(e,i,o,s,gN[p]);l[1]=rN(g,l[1]),u[1]=oN(g,u[1])}l[0]=rN(t,l[0]),u[0]=oN(t,u[0]),l[0]=rN(a,l[0]),u[0]=oN(a,u[0]),l[1]=rN(e,l[1]),u[1]=oN(e,u[1]),l[1]=rN(s,l[1]),u[1]=oN(s,u[1])}function mN(t,e,n,i,r,o,a,s){var l=pL,u=cL,d=oN(rN(l(t,n,r),1),0),c=oN(rN(l(e,i,o),1),0),h=u(t,n,r,d),p=u(e,i,o,c);a[0]=rN(t,r,h),a[1]=rN(e,o,p),s[0]=oN(t,r,h),s[1]=oN(e,o,p)}function vN(t,e,n,i,r,o,a,s,l){var u=LD,d=OD,c=Math.abs(r-o);if(c%lN<1e-4&&c>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(uN[0]=sN(r)*n+t,uN[1]=aN(r)*i+e,dN[0]=sN(o)*n+t,dN[1]=aN(o)*i+e,u(s,uN,dN),d(l,uN,dN),(r%=lN)<0&&(r+=lN),(o%=lN)<0&&(o+=lN),r>o&&!a?o+=lN:r<o&&a&&(r+=lN),a){var h=o;o=r,r=h}for(var p=0;p<o;p+=Math.PI/2)p>r&&(cN[0]=sN(p)*n+t,cN[1]=aN(p)*i+e,u(s,cN,s),d(l,cN,l))}var xN={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_N=[],bN=[],wN=[],SN=[],MN=[],$N=[],CN=Math.min,IN=Math.max,TN=Math.cos,AN=Math.sin,DN=Math.abs,kN=Math.PI,LN=2*kN,ON="undefined"!=typeof Float32Array,EN=[];function PN(t){return Math.round(t/kN*1e8)/1e8%2*kN}function NN(t,e){var n=PN(t[0]);n<0&&(n+=LN);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=LN?r=n+LN:e&&n-r>=LN?r=n-LN:!e&&n>r?r=n+(LN-PN(n-r)):e&&n<r&&(r=n-(LN-PN(r-n))),t[0]=n,t[1]=r}var RN=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=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=DN(n/WO/t)||0,this._uy=DN(n/WO/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(xN.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 n=DN(t-this._xi),i=DN(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(xN.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(xN.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(xN.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),EN[0]=i,EN[1]=r,NN(EN,o),i=EN[0];var a=(r=EN[1])-i;return this.addData(xN.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=TN(r)*n+t,this._yi=AN(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(xN.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(xN.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,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||!ON||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();ON&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,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 d=0;d<arguments.length;d++)u[this._len++]=arguments[d]}},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,ON&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){wN[0]=wN[1]=MN[0]=MN[1]=Number.MAX_VALUE,SN[0]=SN[1]=$N[0]=$N[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case xN.M:n=r=e[t++],i=o=e[t++],MN[0]=r,MN[1]=o,$N[0]=r,$N[1]=o;break;case xN.L:pN(n,i,e[t],e[t+1],MN,$N),n=e[t++],i=e[t++];break;case xN.C:yN(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],MN,$N),n=e[t++],i=e[t++];break;case xN.Q:mN(n,i,e[t++],e[t++],e[t],e[t+1],MN,$N),n=e[t++],i=e[t++];break;case xN.A:var l=e[t++],u=e[t++],d=e[t++],c=e[t++],h=e[t++],p=e[t++]+h;t+=1;var f=!e[t++];s&&(r=TN(h)*d+l,o=AN(h)*c+u),vN(l,u,d,c,h,p,f,MN,$N),n=TN(p)*d+l,i=AN(p)*c+u;break;case xN.R:pN(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],MN,$N);break;case xN.Z:n=r,i=o}LD(wN,wN,MN),OD(SN,SN,$N)}return 0===t&&(wN[0]=wN[1]=SN[0]=SN[1]=0),new Mk(wN[0],wN[1],SN[0]-wN[0],SN[1]-wN[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,d=0,c=0;c<e;){var h=t[c++],p=1===c;p&&(a=r=t[c],s=o=t[c+1]);var f=-1;switch(h){case xN.M:r=a=t[c++],o=s=t[c++];break;case xN.L:var g=t[c++],y=(x=t[c++])-o;(DN(A=g-r)>n||DN(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case xN.C:var m=t[c++],v=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=dL(r,o,m,v,g,x,_,b,10),r=_,o=b;break;case xN.Q:f=yL(r,o,m=t[c++],v=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case xN.A:var w=t[c++],S=t[c++],M=t[c++],$=t[c++],C=t[c++],I=t[c++],T=I+C;c+=1,p&&(a=TN(C)*M+w,s=AN(C)*$+S),f=IN(M,$)*CN(LN,Math.abs(I)),r=TN(T)*M+w,o=AN(T)*$+S;break;case xN.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case xN.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[d++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,d,c,h=this.data,p=this._ux,f=this._uy,g=this._len,y=e<1,m=0,v=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_<g;){var b=h[_++],w=1===_;switch(w&&(n=r=h[_],i=o=h[_+1]),b!==xN.L&&x>0&&(t.lineTo(d,c),x=0),b){case xN.M:n=r=h[_++],i=o=h[_++],t.moveTo(r,o);break;case xN.L:a=h[_++],s=h[_++];var S=DN(a-r),M=DN(s-o);if(S>p||M>f){if(y){if(m+(X=l[v++])>u){var $=(u-m)/X;t.lineTo(r*(1-$)+a*$,o*(1-$)+s*$);break t}m+=X}t.lineTo(a,s),r=a,o=s,x=0}else{var C=S*S+M*M;C>x&&(d=a,c=s,x=C)}break;case xN.C:var I=h[_++],T=h[_++],A=h[_++],D=h[_++],k=h[_++],L=h[_++];if(y){if(m+(X=l[v++])>u){lL(r,I,A,k,$=(u-m)/X,_N),lL(o,T,D,L,$,bN),t.bezierCurveTo(_N[1],bN[1],_N[2],bN[2],_N[3],bN[3]);break t}m+=X}t.bezierCurveTo(I,T,A,D,k,L),r=k,o=L;break;case xN.Q:I=h[_++],T=h[_++],A=h[_++],D=h[_++];if(y){if(m+(X=l[v++])>u){fL(r,I,A,$=(u-m)/X,_N),fL(o,T,D,$,bN),t.quadraticCurveTo(_N[1],bN[1],_N[2],bN[2]);break t}m+=X}t.quadraticCurveTo(I,T,A,D),r=A,o=D;break;case xN.A:var O=h[_++],E=h[_++],P=h[_++],N=h[_++],R=h[_++],B=h[_++],z=h[_++],F=!h[_++],V=P>N?P:N,G=DN(P-N)>.001,W=R+B,H=!1;if(y)m+(X=l[v++])>u&&(W=R+B*(u-m)/X,H=!0),m+=X;if(G&&t.ellipse?t.ellipse(O,E,P,N,z,R,W,F):t.arc(O,E,V,R,W,F),H)break t;w&&(n=TN(R)*P+O,i=AN(R)*N+E),r=TN(W)*P+O,o=AN(W)*N+E;break;case xN.R:n=r=h[_],i=o=h[_+1],a=h[_++],s=h[_++];var j=h[_++],U=h[_++];if(y){if(m+(X=l[v++])>u){var Y=u-m;t.moveTo(a,s),t.lineTo(a+CN(Y,j),s),(Y-=j)>0&&t.lineTo(a+j,s+CN(Y,U)),(Y-=U)>0&&t.lineTo(a+IN(j-Y,0),s+U),(Y-=j)>0&&t.lineTo(a,s+IN(U-Y,0));break t}m+=X}t.rect(a,s,j,U);break;case xN.Z:if(y){var X;if(m+(X=l[v++])>u){$=(u-m)/X;t.lineTo(r*(1-$)+n*$,o*(1-$)+i*$);break t}m+=X}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=xN,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function BN(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function zN(t,e,n,i,r,o,a,s,l,u,d){if(0===l)return!1;var c=l;return!(d>e+c&&d>i+c&&d>o+c&&d>s+c||d<e-c&&d<i-c&&d<o-c&&d<s-c||u>t+c&&u>n+c&&u>r+c&&u>a+c||u<t-c&&u<n-c&&u<r-c&&u<a-c)&&uL(t,e,n,i,r,o,a,s,u,d,null)<=c/2}function FN(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&gL(t,e,n,i,r,o,s,l,null)<=u/2}var VN=2*Math.PI;function GN(t){return(t%=VN)<0&&(t+=VN),t}var WN=2*Math.PI;function HN(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var d=Math.sqrt(s*s+l*l);if(d-u>n||d+u<n)return!1;if(Math.abs(i-r)%WN<1e-4)return!0;if(o){var c=i;i=GN(r),r=GN(c)}else i=GN(i),r=GN(r);i>r&&(r+=WN);var h=Math.atan2(l,s);return h<0&&(h+=WN),h>=i&&h<=r||h+WN>=i&&h+WN<=r}function jN(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var UN=RN.CMD,YN=2*Math.PI;var XN=[-1,-1,-1],ZN=[-1,-1];function qN(){var t=ZN[0];ZN[0]=ZN[1],ZN[1]=t}function KN(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var d=aL(e,i,o,s,u,XN);if(0===d)return 0;for(var c=0,h=-1,p=void 0,f=void 0,g=0;g<d;g++){var y=XN[g],m=0===y||1===y?.5:1;rL(t,n,r,a,y)<l||(h<0&&(h=sL(e,i,o,s,ZN),ZN[1]<ZN[0]&&h>1&&qN(),p=rL(e,i,o,s,ZN[0]),h>1&&(f=rL(e,i,o,s,ZN[1]))),2===h?y<ZN[0]?c+=p<e?m:-m:y<ZN[1]?c+=f<p?m:-m:c+=s<f?m:-m:y<ZN[0]?c+=p<e?m:-m:c+=s<p?m:-m)}return c}function JN(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(nL(o))iL(a)&&(d=-s/a)>=0&&d<=1&&(r[l++]=d);else{var u=a*a-4*o*s;if(nL(u))(d=-a/(2*o))>=0&&d<=1&&(r[l++]=d);else if(u>0){var d,c=Xk(u),h=(-a-c)/(2*o);(d=(-a+c)/(2*o))>=0&&d<=1&&(r[l++]=d),h>=0&&h<=1&&(r[l++]=h)}}return l}(e,i,o,s,XN);if(0===l)return 0;var u=pL(e,i,o);if(u>=0&&u<=1){for(var d=0,c=cL(e,i,o,u),h=0;h<l;h++){var p=0===XN[h]||1===XN[h]?.5:1;cL(t,n,r,XN[h])<a||(XN[h]<u?d+=c<e?p:-p:d+=o<c?p:-p)}return d}p=0===XN[0]||1===XN[0]?.5:1;return cL(t,n,r,XN[0])<a?0:o<e?p:-p}function QN(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);XN[0]=-l,XN[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=YN-1e-4){i=0,r=YN;var d=o?1:-1;return a>=XN[0]+t&&a<=XN[1]+t?d:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=YN,r+=YN);for(var h=0,p=0;p<2;p++){var f=XN[p];if(f+t>a){var g=Math.atan2(s,f);d=o?1:-1;g<0&&(g=YN+g),(g>=i&&g<=r||g+YN>=i&&g+YN<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(d=-d),h+=d)}}return h}function tR(t,e,n,i,r){for(var o,a,s,l,u=t.data,d=t.len(),c=0,h=0,p=0,f=0,g=0,y=0;y<d;){var m=u[y++],v=1===y;switch(m===UN.M&&y>1&&(n||(c+=jN(h,p,f,g,i,r))),v&&(f=h=u[y],g=p=u[y+1]),m){case UN.M:h=f=u[y++],p=g=u[y++];break;case UN.L:if(n){if(BN(h,p,u[y],u[y+1],e,i,r))return!0}else c+=jN(h,p,u[y],u[y+1],i,r)||0;h=u[y++],p=u[y++];break;case UN.C:if(n){if(zN(h,p,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=KN(h,p,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;h=u[y++],p=u[y++];break;case UN.Q:if(n){if(FN(h,p,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=JN(h,p,u[y++],u[y++],u[y],u[y+1],i,r)||0;h=u[y++],p=u[y++];break;case UN.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var $=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,v?(f=o,g=a):c+=jN(h,p,o,a,i,r);var C=(i-x)*w/b+x;if(n){if(HN(x,_,w,S,S+M,$,e,C,r))return!0}else c+=QN(x,_,w,S,S+M,$,C,r);h=Math.cos(S+M)*b+x,p=Math.sin(S+M)*w+_;break;case UN.R:if(f=h=u[y++],g=p=u[y++],o=f+u[y++],a=g+u[y++],n){if(BN(f,g,o,g,e,i,r)||BN(o,g,o,a,e,i,r)||BN(o,a,f,a,e,i,r)||BN(f,a,f,g,e,i,r))return!0}else c+=jN(o,g,o,a,i,r),c+=jN(f,a,f,g,i,r);break;case UN.Z:if(n){if(BN(h,p,f,g,e,i,r))return!0}else c+=jN(h,p,f,g,i,r);h=f,p=g}}return n||(s=p,l=g,Math.abs(s-l)<1e-4)||(c+=jN(h,p,f,g,i,r)||0),0!==c}var eR=AA({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},KP),nR={style:AA({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},JP.style)},iR=tE.concat(["invisible","culling","z","z2","zlevel","parent"]),rR=function(t){function e(e){return t.call(this,e)||this}var n;return rA(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<iR.length;++s)r[iR[s]]=this[iR[s]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=RA(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?TA(this.style,a):this.useStyle(a):"shape"===o?TA(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(GA(t)){var e=GL(t,0);return e>.5?HO:e>.2?"#eee":jO}if(t)return jO}return HO},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(GA(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===GL(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},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 RN(!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.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(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||n){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 n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.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)),function(t,e,n,i){return tR(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return tR(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,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,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:TA(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return hD(eR,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=TA({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=TA({},i.shape),TA(s,n.shape)):(s=TA({},r?this.shape:i.shape),TA(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=TA({},this.shape);for(var u={},d=RA(s),c=0;c<d.length;c++){var h=d[c];"object"==typeof s[h]?this.shape[h]=s[h]:u[h]=s[h]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return nR},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return rA(n,e),n.prototype.getDefaultStyle=function(){return $A(t.style)},n.prototype.getDefaultShape=function(){return $A(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),e}(eN),oR=AA({strokeFirst:!0,font:lA,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},eR),aR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(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.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return hD(oR,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 n=oE(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(eN);aR.prototype.type="tspan";var sR=AA({x:0,y:0},KP),lR={style:AA({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},JP.style)};var uR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.createStyle=function(t){return hD(sR,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return lR},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Mk(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(eN);uR.prototype.type="image";var dR=Math.round;function cR(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(dR(2*i)===dR(2*r)&&(t.x1=t.x2=pR(i,s,!0)),dR(2*o)===dR(2*a)&&(t.y1=t.y2=pR(o,s,!0)),t):t}}function hR(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=pR(i,s,!0),t.y=pR(r,s,!0),t.width=Math.max(pR(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(pR(r+a,s,!1)-t.y,0===a?0:1),t):t}}function pR(t,e,n){if(!e)return t;var i=dR(2*t);return(i+dR(e))%2==0?i/2:(i+(n?1:-1))/2}var fR=function(){return function(){this.x=0,this.y=0,this.width=0,this.height=0}}(),gR={},yR=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new fR},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=hR(gR,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,d=e.height,c=e.r;u<0&&(s+=u,u=-u),d<0&&(l+=d,d=-d),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>d&&(i*=d/(a=i+r),r*=d/a),n+o>d&&(n*=d/(a=n+o),o*=d/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+d-r),0!==r&&t.arc(s+u-r,l+d-r,r,0,Math.PI/2),t.lineTo(s+o,l+d),0!==o&&t.arc(s+o,l+d-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(rR);yR.prototype.type="rect";var mR={fill:"#000"},vR={style:AA({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},JP.style)},xR=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=mR,n.attr(e),n}return rA(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 n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.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 n=this.innerTransformable;return n?n.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(){var t;this._childCursor=0,CR(t=this.style),OA(t.rich,CR),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 n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Mk(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||mR},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return TA(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=RA(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},TA(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return vR},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||lA,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=lE(o),l=JA(e.lineHeight,s),u=!!e.backgroundColor,d="truncate"===e.lineOverflow,c=!1,h=e.width,p=(n=null==h||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?ZP(t,e.font,h,"breakAll"===i,0).lines:[]).length*l,f=JA(e.height,p);if(p>f&&d){var g=Math.floor(f/l);c=c||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=h)for(var y=FP(h,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;v<n.length;v++)VP(m,n[v],y),n[v]=m.textLine,c=c||m.isTruncated;var x=f,_=0;for(v=0;v<n.length;v++)_=Math.max(iE(n[v],o),_);null==h&&(h=_);var b=_;return r&&(x+=r[0]+r[2],b+=r[1]+r[3],h+=r[1]+r[3]),u&&(b=h),{lines:n,height:f,outerWidth:b,outerHeight:x,lineHeight:l,calculatedLineHeight:s,contentWidth:_,contentHeight:p,width:h,isTruncated:c}}(DR(t),t),r=kR(t),o=!!t.backgroundColor,a=i.outerHeight,s=i.outerWidth,l=i.contentWidth,u=i.lines,d=i.lineHeight,c=this._defaultStyle;this.isTruncated=!!i.isTruncated;var h=t.x||0,p=t.y||0,f=t.align||c.align||"left",g=t.verticalAlign||c.verticalAlign||"top",y=h,m=sE(p,i.contentHeight,g);if(r||n){var v=aE(h,s,f),x=sE(p,a,g);r&&this._renderBackground(t,t,v,x,s,a)}m+=d/2,n&&(y=AR(h,f,n),"top"===g?m+=n[0]:"bottom"===g&&(m-=n[2]));for(var _=0,b=!1,w=(TR("fill"in t?t.fill:(b=!0,c.fill))),S=(IR("stroke"in t?t.stroke:o||c.autoStroke&&!b?null:(_=2,c.stroke))),M=t.textShadowBlur>0,$=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,I=0;I<u.length;I++){var T=this._getOrCreateChild(aR),A=T.createStyle();T.useStyle(A),A.text=u[I],A.x=y,A.y=m,A.textAlign=f,A.textBaseline="middle",A.opacity=t.opacity,A.strokeFirst=!0,M&&(A.shadowBlur=t.textShadowBlur||0,A.shadowColor=t.textShadowColor||"transparent",A.shadowOffsetX=t.textShadowOffsetX||0,A.shadowOffsetY=t.textShadowOffsetY||0),A.stroke=S,A.fill=w,S&&(A.lineWidth=t.lineWidth||_,A.lineDash=t.lineDash,A.lineDashOffset=t.lineDashOffset||0),A.font=e,MR(A,t),m+=d,$&&T.setBoundingRect(new Mk(aE(A.x,l,A.textAlign),sE(A.y,C,A.textBaseline),l,C))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new jP;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=BP.lastIndex=0;null!=(i=BP.exec(t));){var u=i.index;u>l&&UP(n,t.substring(l,u),e,s),UP(n,i[2],e,s,i[1]),l=BP.lastIndex}l<t.length&&UP(n,t.substring(l,t.length),e,s);var d=[],c=0,h=0,p=e.padding,f="truncate"===a,g="truncate"===e.lineOverflow,y={};function m(t,e,n){t.width=e,t.lineHeight=n,c+=n,h=Math.max(h,e)}t:for(var v=0;v<n.lines.length;v++){for(var x=n.lines[v],_=0,b=0,w=0;w<x.tokens.length;w++){var S=(E=x.tokens[w]).styleName&&e.rich[E.styleName]||{},M=E.textPadding=S.padding,$=M?M[1]+M[3]:0,C=E.font=S.font||e.font;E.contentHeight=lE(C);var I=JA(S.height,E.contentHeight);if(E.innerHeight=I,M&&(I+=M[0]+M[2]),E.height=I,E.lineHeight=QA(S.lineHeight,e.lineHeight,I),E.align=S&&S.align||e.align,E.verticalAlign=S&&S.verticalAlign||"middle",g&&null!=o&&c+E.lineHeight>o){var T=n.lines.length;w>0?(x.tokens=x.tokens.slice(0,w),m(x,b,_),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v),n.isTruncated=n.isTruncated||n.lines.length<T;break t}var A=S.width,D=null==A||"auto"===A;if("string"==typeof A&&"%"===A.charAt(A.length-1))E.percentWidth=A,d.push(E),E.contentWidth=iE(E.text,C);else{if(D){var k=S.backgroundColor,L=k&&k.image;L&&RP(L=EP(L))&&(E.width=Math.max(E.width,L.width*I/L.height))}var O=f&&null!=r?r-b:null;null!=O&&O<E.width?!D||O<$?(E.text="",E.width=E.contentWidth=0):(zP(y,E.text,O-$,C,e.ellipsis,{minChar:e.truncateMinChar}),E.text=y.text,n.isTruncated=n.isTruncated||y.isTruncated,E.width=E.contentWidth=iE(E.text,C)):E.contentWidth=iE(E.text,C)}E.width+=$,b+=E.width,S&&(_=Math.max(_,E.lineHeight))}m(x,b,_)}for(n.outerWidth=n.width=JA(r,h),n.outerHeight=n.height=JA(o,c),n.contentHeight=c,n.contentWidth=h,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]),v=0;v<d.length;v++){var E,P=(E=d[v]).percentWidth;E.width=parseInt(P,10)/100*n.width}return n}(DR(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,d=t.verticalAlign||l.verticalAlign;this.isTruncated=!!e.isTruncated;var c=aE(a,i,u),h=sE(s,r,d),p=c,f=h;o&&(p+=o[3],f+=o[0]);var g=p+n;kR(t)&&this._renderBackground(t,t,c,h,i,r);for(var y=!!t.backgroundColor,m=0;m<e.lines.length;m++){for(var v=e.lines[m],x=v.tokens,_=x.length,b=v.lineHeight,w=v.width,S=0,M=p,$=g,C=_-1,I=void 0;S<_&&(!(I=x[S]).align||"left"===I.align);)this._placeToken(I,t,b,f,M,"left",y),w-=I.width,M+=I.width,S++;for(;C>=0&&"right"===(I=x[C]).align;)this._placeToken(I,t,b,f,$,"right",y),w-=I.width,$-=I.width,C--;for(M+=(n-(M-p)-(g-$)-w)/2;S<=C;)I=x[S],this._placeToken(I,t,b,f,M+I.width/2,"center",y),M+=I.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&kR(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var d=!!s.backgroundColor,c=t.textPadding;c&&(r=AR(r,o,c),u-=t.height/2-c[0]-t.innerHeight/2);var h=this._getOrCreateChild(aR),p=h.createStyle();h.useStyle(p);var f=this._defaultStyle,g=!1,y=0,m=TR("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,f.fill)),v=IR("stroke"in s?s.stroke:"stroke"in e?e.stroke:d||a||f.autoStroke&&!g?null:(y=2,f.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=r,p.y=u,x&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=o,p.textBaseline="middle",p.font=t.font||lA,p.opacity=QA(s.opacity,e.opacity,1),MR(p,s),v&&(p.lineWidth=QA(s.lineWidth,e.lineWidth,y),p.lineDash=JA(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=v),m&&(p.fill=m);var _=t.contentWidth,b=t.contentHeight;h.setBoundingRect(new Mk(aE(p.x,_,p.textAlign),sE(p.y,b,p.textBaseline),_,b))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,d=t.borderWidth,c=t.borderColor,h=u&&u.image,p=u&&!h,f=t.borderRadius,g=this;if(p||t.lineHeight||d&&c){(a=this._getOrCreateChild(yR)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(p)(l=a.style).fill=u||null,l.fillOpacity=JA(t.fillOpacity,1);else if(h){(s=this._getOrCreateChild(uR)).onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=n,m.y=i,m.width=r,m.height=o}d&&c&&((l=a.style).lineWidth=d,l.stroke=c,l.strokeOpacity=JA(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var v=(a||s).style;v.shadowBlur=t.shadowBlur||0,v.shadowColor=t.shadowColor||"transparent",v.shadowOffsetX=t.shadowOffsetX||0,v.shadowOffsetY=t.shadowOffsetY||0,v.opacity=QA(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return $R(t)&&(e=[t.fontStyle,t.fontWeight,SR(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&iD(e)||t.textFont||t.font},e}(eN),_R={left:!0,right:1,center:1},bR={top:1,bottom:1,middle:1},wR=["fontStyle","fontWeight","fontSize","fontFamily"];function SR(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function MR(t,e){for(var n=0;n<wR.length;n++){var i=wR[n],r=e[i];null!=r&&(t[i]=r)}}function $R(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function CR(t){if(t){t.font=xR.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||_R[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||bR[n]?n:"top",t.padding&&(t.padding=eD(t.padding))}}function IR(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function TR(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function AR(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function DR(t){var e=t.text;return null!=e&&(e+=""),e}function kR(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var LR=cP(),OR=function(t,e,n,i){if(i){var r=LR(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse(function(i){var r=LR(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"})}},ER=1,PR={},NR=cP(),RR=cP(),BR=["emphasis","blur","select"],zR=["normal","emphasis","blur","select"],FR=10,VR="highlight",GR="downplay",WR="select",HR="unselect",jR="toggleSelect";function UR(t){return null!=t&&"none"!==t}function YR(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function XR(t){YR(t,"emphasis",2)}function ZR(t){2===t.hoverState&&YR(t,"normal",0)}function qR(t){YR(t,"blur",1)}function KR(t){1===t.hoverState&&YR(t,"normal",0)}function JR(t){t.selected=!0}function QR(t){t.selected=!1}function tB(t,e,n){e(t,n)}function eB(t,e,n){tB(t,e,n),t.isGroup&&t.traverse(function(t){tB(t,e,n)})}function nB(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function iB(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&DA(n,"select")>=0,o=!1;if(t instanceof rR){var a=NR(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(UR(s)||UR(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=TA({},i),(u=TA({},u)).fill=s):!UR(u.fill)&&UR(s)?(o=!0,i=TA({},i),(u=TA({},u)).fill=HL(s)):!UR(u.stroke)&&UR(l)&&(o||(i=TA({},i),u=TA({},u)),u.stroke=HL(l)),i.style=u}}if(i&&null==i.z2){o||(i=TA({},i));var d=t.z2EmphasisLift;i.z2=t.z2+(null!=d?d:FR)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=DA(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=TA({},n),a=TA({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=TA({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:9)}return n}(this,0,n)}return n}function rB(t){t.stateProxy=iB;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=iB),n&&(n.stateProxy=iB)}function oB(t,e){!pB(t,e)&&!t.__highByOuter&&eB(t,XR)}function aB(t,e){!pB(t,e)&&!t.__highByOuter&&eB(t,ZR)}function sB(t,e){t.__highByOuter|=1<<(e||0),eB(t,XR)}function lB(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&eB(t,ZR)}function uB(t){eB(t,qR)}function dB(t){eB(t,KR)}function cB(t){eB(t,JR)}function hB(t){eB(t,QR)}function pB(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function fB(t){var e=t.getModel(),n=[],i=[];e.eachComponent(function(e,r){var o=RR(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse(function(t){KR(t)}),a&&n.push(r)),o.isBlured=!1}),OA(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function gB(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&dB(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries(function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&r&&"self"===e||qR(t)}),LA(e))o(t.getData(),e);else if(jA(e))for(var d=RA(e),c=0;c<d.length;c++)o(t.getData(d[c]),e[d[c]]);l.push(t),RR(t).isBlured=!0}}),r.eachComponent(function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}})}}function yB(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){RR(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){qR(t)})}}}function mB(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===LR(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function vB(t){OA(t.getAllData(),function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?cB(e):hB(e)})})}function xB(t){var e=[];return t.eachSeries(function(t){OA(t.getAllData(),function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function _B(t,e,n){CB(t,!0),eB(t,rB),wB(t,e,n)}function bB(t,e,n,i){i?function(t){CB(t,!1)}(t):_B(t,e,n)}function wB(t,e,n){var i=LR(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var SB=["emphasis","blur","select"],MB={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function $B(t,e,n,i){n=n||"itemStyle";for(var r=0;r<SB.length;r++){var o=SB[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[MB[n]]()}}function CB(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function IB(t){return!(!t||!t.__highDownDispatcher)}function TB(t){var e=t.type;return e===WR||e===HR||e===jR}function AB(t){var e=t.type;return e===VR||e===GR}var DB=RN.CMD,kB=[[],[],[]],LB=Math.sqrt,OB=Math.atan2;function EB(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),d=DB.M,c=DB.C,h=DB.L,p=DB.R,f=DB.A,g=DB.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case d:case h:i=1;break;case c:i=3;break;case g:i=2;break;case f:var y=e[4],m=e[5],v=LB(e[0]*e[0]+e[1]*e[1]),x=LB(e[2]*e[2]+e[3]*e[3]),_=OB(-e[1]/x,e[0]/v);l[r]*=v,l[r++]+=y,l[r]*=x,l[r++]+=m,l[r++]*=v,l[r++]*=x,l[r++]+=_,l[r++]+=_,o=r+=2;break;case p:s[0]=l[r++],s[1]=l[r++],kD(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],kD(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var b=kB[a];b[0]=l[r++],b[1]=l[r++],kD(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var PB=Math.sqrt,NB=Math.sin,RB=Math.cos,BB=Math.PI;function zB(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function FB(t,e){return(t[0]*e[0]+t[1]*e[1])/(zB(t)*zB(e))}function VB(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(FB(t,e))}function GB(t,e,n,i,r,o,a,s,l,u,d){var c=l*(BB/180),h=RB(c)*(t-n)/2+NB(c)*(e-i)/2,p=-1*NB(c)*(t-n)/2+RB(c)*(e-i)/2,f=h*h/(a*a)+p*p/(s*s);f>1&&(a*=PB(f),s*=PB(f));var g=(r===o?-1:1)*PB((a*a*(s*s)-a*a*(p*p)-s*s*(h*h))/(a*a*(p*p)+s*s*(h*h)))||0,y=g*a*p/s,m=g*-s*h/a,v=(t+n)/2+RB(c)*y-NB(c)*m,x=(e+i)/2+NB(c)*y+RB(c)*m,_=VB([1,0],[(h-y)/a,(p-m)/s]),b=[(h-y)/a,(p-m)/s],w=[(-1*h-y)/a,(-1*p-m)/s],S=VB(b,w);if(FB(b,w)<=-1&&(S=BB),FB(b,w)>=1&&(S=0),S<0){var M=Math.round(S/BB*1e6)/1e6;S=2*BB+M%2*BB}d.addData(u,v,x,a,s,_,S,c,o)}var WB=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,HB=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var jB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.applyTransform=function(t){},e}(rR);function UB(t){return null!=t.setData}function YB(t,e){var n=function(t){var e=new RN;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=RN.CMD,l=t.match(WB);if(!l)return e;for(var u=0;u<l.length;u++){for(var d=l[u],c=d.charAt(0),h=void 0,p=d.match(HB)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);for(var y=0;y<f;){var m=void 0,v=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=i,$=r,C=void 0,I=void 0;switch(c){case"l":i+=p[y++],r+=p[y++],h=s.L,e.addData(h,i,r);break;case"L":i=p[y++],r=p[y++],h=s.L,e.addData(h,i,r);break;case"m":i+=p[y++],r+=p[y++],h=s.M,e.addData(h,i,r),o=i,a=r,c="l";break;case"M":i=p[y++],r=p[y++],h=s.M,e.addData(h,i,r),o=i,a=r,c="L";break;case"h":i+=p[y++],h=s.L,e.addData(h,i,r);break;case"H":i=p[y++],h=s.L,e.addData(h,i,r);break;case"v":r+=p[y++],h=s.L,e.addData(h,i,r);break;case"V":r=p[y++],h=s.L,e.addData(h,i,r);break;case"C":h=s.C,e.addData(h,p[y++],p[y++],p[y++],p[y++],p[y++],p[y++]),i=p[y-2],r=p[y-1];break;case"c":h=s.C,e.addData(h,p[y++]+i,p[y++]+r,p[y++]+i,p[y++]+r,p[y++]+i,p[y++]+r),i+=p[y-2],r+=p[y-1];break;case"S":m=i,v=r,C=e.len(),I=e.data,n===s.C&&(m+=i-I[C-4],v+=r-I[C-3]),h=s.C,M=p[y++],$=p[y++],i=p[y++],r=p[y++],e.addData(h,m,v,M,$,i,r);break;case"s":m=i,v=r,C=e.len(),I=e.data,n===s.C&&(m+=i-I[C-4],v+=r-I[C-3]),h=s.C,M=i+p[y++],$=r+p[y++],i+=p[y++],r+=p[y++],e.addData(h,m,v,M,$,i,r);break;case"Q":M=p[y++],$=p[y++],i=p[y++],r=p[y++],h=s.Q,e.addData(h,M,$,i,r);break;case"q":M=p[y++]+i,$=p[y++]+r,i+=p[y++],r+=p[y++],h=s.Q,e.addData(h,M,$,i,r);break;case"T":m=i,v=r,C=e.len(),I=e.data,n===s.Q&&(m+=i-I[C-4],v+=r-I[C-3]),i=p[y++],r=p[y++],h=s.Q,e.addData(h,m,v,i,r);break;case"t":m=i,v=r,C=e.len(),I=e.data,n===s.Q&&(m+=i-I[C-4],v+=r-I[C-3]),i+=p[y++],r+=p[y++],h=s.Q,e.addData(h,m,v,i,r);break;case"A":x=p[y++],_=p[y++],b=p[y++],w=p[y++],S=p[y++],GB(M=i,$=r,i=p[y++],r=p[y++],w,S,x,_,b,h=s.A,e);break;case"a":x=p[y++],_=p[y++],b=p[y++],w=p[y++],S=p[y++],GB(M=i,$=r,i+=p[y++],r+=p[y++],w,S,x,_,b,h=s.A,e)}}"z"!==c&&"Z"!==c||(h=s.Z,e.addData(h),i=o,r=a),n=h}return e.toStatic(),e}(t),i=TA({},e);return i.buildPath=function(t){if(UB(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){EB(n,t),this.dirtyShape()},i}function XB(t,e){return new jB(YB(t,e))}function ZB(t,e){e=e||{};var n=new rR;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?EB(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var qB=function(){return function(){this.cx=0,this.cy=0,this.r=0}}(),KB=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new qB},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}(rR);KB.prototype.type="circle";var JB=function(){return function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}}(),QB=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new JB},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(rR);QB.prototype.type="ellipse";var tz=Math.PI,ez=2*tz,nz=Math.sin,iz=Math.cos,rz=Math.acos,oz=Math.atan2,az=Math.abs,sz=Math.sqrt,lz=Math.max,uz=Math.min,dz=1e-4;function cz(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/sz(s*s+l*l),d=u*l,c=-u*s,h=t+d,p=e+c,f=n+d,g=i+c,y=(h+f)/2,m=(p+g)/2,v=f-h,x=g-p,_=v*v+x*x,b=r-o,w=h*g-f*p,S=(x<0?-1:1)*sz(lz(0,b*b*_-w*w)),M=(w*x-v*S)/_,$=(-w*v-x*S)/_,C=(w*x+v*S)/_,I=(-w*v+x*S)/_,T=M-y,A=$-m,D=C-y,k=I-m;return T*T+A*A>D*D+k*k&&(M=C,$=I),{cx:M,cy:$,x0:-d,y0:-c,x1:M*(r/b-1),y1:$*(r/b-1)}}function hz(t,e){var n,i=lz(e.r,0),r=lz(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,d=e.cy,c=!!e.clockwise,h=az(l-s),p=h>ez&&h%ez;if(p>dz&&(h=p),i>dz)if(h>ez-dz)t.moveTo(u+i*iz(s),d+i*nz(s)),t.arc(u,d,i,s,l,!c),r>dz&&(t.moveTo(u+r*iz(l),d+r*nz(l)),t.arc(u,d,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,m=void 0,v=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,$=void 0,C=void 0,I=void 0,T=void 0,A=void 0,D=i*iz(s),k=i*nz(s),L=r*iz(l),O=r*nz(l),E=h>dz;if(E){var P=e.cornerRadius;P&&(f=(n=function(t){var e;if(FA(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(P))[0],g=n[1],y=n[2],m=n[3]);var N=az(i-r)/2;if(v=uz(N,y),x=uz(N,m),_=uz(N,f),b=uz(N,g),M=w=lz(v,x),$=S=lz(_,b),(w>dz||S>dz)&&(C=i*iz(l),I=i*nz(l),T=r*iz(s),A=r*nz(s),h<tz)){var R=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,d=a-r,c=s-o,h=c*l-d*u;if(!(h*h<dz))return[t+(h=(d*(e-o)-c*(t-r))/h)*l,e+h*u]}(D,k,T,A,C,I,L,O);if(R){var B=D-R[0],z=k-R[1],F=C-R[0],V=I-R[1],G=1/nz(rz((B*F+z*V)/(sz(B*B+z*z)*sz(F*F+V*V)))/2),W=sz(R[0]*R[0]+R[1]*R[1]);M=uz(w,(i-W)/(G+1)),$=uz(S,(r-W)/(G-1))}}}if(E)if(M>dz){var H=uz(y,M),j=uz(m,M),U=cz(T,A,D,k,i,H,c),Y=cz(C,I,L,O,i,j,c);t.moveTo(u+U.cx+U.x0,d+U.cy+U.y0),M<w&&H===j?t.arc(u+U.cx,d+U.cy,M,oz(U.y0,U.x0),oz(Y.y0,Y.x0),!c):(H>0&&t.arc(u+U.cx,d+U.cy,H,oz(U.y0,U.x0),oz(U.y1,U.x1),!c),t.arc(u,d,i,oz(U.cy+U.y1,U.cx+U.x1),oz(Y.cy+Y.y1,Y.cx+Y.x1),!c),j>0&&t.arc(u+Y.cx,d+Y.cy,j,oz(Y.y1,Y.x1),oz(Y.y0,Y.x0),!c))}else t.moveTo(u+D,d+k),t.arc(u,d,i,s,l,!c);else t.moveTo(u+D,d+k);if(r>dz&&E)if($>dz){H=uz(f,$),U=cz(L,O,C,I,r,-(j=uz(g,$)),c),Y=cz(D,k,T,A,r,-H,c);t.lineTo(u+U.cx+U.x0,d+U.cy+U.y0),$<S&&H===j?t.arc(u+U.cx,d+U.cy,$,oz(U.y0,U.x0),oz(Y.y0,Y.x0),!c):(j>0&&t.arc(u+U.cx,d+U.cy,j,oz(U.y0,U.x0),oz(U.y1,U.x1),!c),t.arc(u,d,r,oz(U.cy+U.y1,U.cx+U.x1),oz(Y.cy+Y.y1,Y.cx+Y.x1),c),H>0&&t.arc(u+Y.cx,d+Y.cy,H,oz(Y.y1,Y.x1),oz(Y.y0,Y.x0),!c))}else t.lineTo(u+L,d+O),t.arc(u,d,r,l,s,c);else t.lineTo(u+L,d+O)}else t.moveTo(u,d);t.closePath()}}}var pz=function(){return function(){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}}(),fz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new pz},e.prototype.buildPath=function(t,e){hz(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(rR);fz.prototype.type="sector";var gz=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),yz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new gz},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(rR);function mz(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],d=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,p=t.length;h<p;h++)LD(a,a,t[h]),OD(s,s,t[h]);LD(a,a,i[0]),OD(s,s,i[1])}for(h=0,p=t.length;h<p;h++){var f=t[h];if(n)r=t[h?h-1:p-1],o=t[(h+1)%p];else{if(0===h||h===p-1){l.push(xD(t[h]));continue}r=t[h-1],o=t[h+1]}SD(u,o,r),$D(u,u,e);var g=ID(f,r),y=ID(f,o),m=g+y;0!==m&&(g/=m,y/=m),$D(d,u,-g),$D(c,u,y);var v=bD([],f,d),x=bD([],f,c);i&&(OD(v,v,a),LD(v,v,s),OD(x,x,a),LD(x,x,s)),l.push(v),l.push(x)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],d=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],d[0],d[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var c=r.length;s<c;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}yz.prototype.type="ring";var vz=function(){return function(){this.points=null,this.smooth=0,this.smoothConstraint=null}}(),xz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new vz},e.prototype.buildPath=function(t,e){mz(t,e,!0)},e}(rR);xz.prototype.type="polygon";var _z=function(){return function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}}(),bz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new _z},e.prototype.buildPath=function(t,e){mz(t,e,!1)},e}(rR);bz.prototype.type="polyline";var wz={},Sz=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}(),Mz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Sz},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=cR(wz,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(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}(rR);Mz.prototype.type="line";var $z=[],Cz=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}}();function Iz(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?oL:rL)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?oL:rL)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?hL:cL)(t.x1,t.cpx1,t.x2,e),(n?hL:cL)(t.y1,t.cpy1,t.y2,e)]}var Tz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Cz},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,i),null==l||null==u?(d<1&&(fL(n,a,r,d,$z),a=$z[1],r=$z[2],fL(i,s,o,d,$z),s=$z[1],o=$z[2]),t.quadraticCurveTo(a,s,r,o)):(d<1&&(lL(n,a,l,r,d,$z),a=$z[1],l=$z[2],r=$z[3],lL(i,s,u,o,d,$z),s=$z[1],u=$z[2],o=$z[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return Iz(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=Iz(this.shape,t,!0);return CD(e,e)},e}(rR);Tz.prototype.type="bezier-curve";var Az=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Dz=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Az},e.prototype.buildPath=function(t,e){var n=e.cx,i=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+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(rR);Dz.prototype.type="arc";var kz=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return rA(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].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),rR.prototype.getBoundingRect.call(this)},e}(rR),Lz=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Oz=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return rA(e,t),e}(Lz),Ez=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return rA(e,t),e}(Lz),Pz=[0,0],Nz=[0,0],Rz=new gk,Bz=new gk,zz=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new gk;for(n=0;n<2;n++)this._axes[n]=new gk;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);gk.sub(i[0],n[1],n[0]),gk.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Rz.set(1/0,1/0),Bz.set(0,0),!this._intersectCheckOneSide(this,t,Rz,Bz,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Rz,Bz,i,-1)&&(n=!1,i)||i||gk.copy(e,n?Rz:Bz),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Pz),this._getProjMinMaxOnAxis(s,e._corners,Nz),Pz[1]<Nz[0]||Pz[0]>Nz[1]){if(a=!1,r)return a;var u=Math.abs(Nz[0]-Pz[1]),d=Math.abs(Pz[0]-Nz[1]);Math.min(u,d)>i.len()&&(u<d?gk.scale(i,l,-u*o):gk.scale(i,l,d*o))}else if(n){u=Math.abs(Nz[0]-Pz[1]),d=Math.abs(Pz[0]-Nz[1]);Math.min(u,d)<n.len()&&(u<d?gk.scale(n,l,u*o):gk.scale(n,l,-d*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),Fz=[],Vz=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 rA(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 n=0;n<t.length;n++)this.addDisplayable(t[n],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++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Mk(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Fz)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(eN),Gz=cP();function Wz(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,d=void 0;return i?(l=JA(i.duration,200),u=JA(i.easing,"cubicOut"),d=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),d=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(d=o.delay)),VA(d)&&(d=d(n,r)),VA(l)&&(l=l(n)),{duration:l||0,delay:d,easing:u}}return null}function Hz(t,e,n,i,r,o,a){var s,l=!1;VA(r)?(a=o,o=r,r=null):jA(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var d=Wz(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(d&&d.duration>0){var c={duration:d.duration,delay:d.delay||0,easing:d.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function jz(t,e,n,i,r,o){Hz("update",t,e,n,i,r,o)}function Uz(t,e,n,i,r,o){Hz("enter",t,e,n,i,r,o)}function Yz(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function Xz(t,e,n,i,r,o){Yz(t)||Hz("leave",t,e,n,i,r,o)}function Zz(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),Xz(t,{style:{opacity:0}},e,n,i)}function qz(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||Zz(t,e,n,i)}):Zz(t,e,n,i)}function Kz(t){Gz(t).oldStyle=t.style}var Jz=Math.max,Qz=Math.min,tF={};var eF=function(t,e){var n=YB(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return rA(e,t),e}(jB)};function nF(t,e){tF[t]=e}function iF(t){if(tF.hasOwnProperty(t))return tF[t]}function rF(t,e,n,i){var r=XB(t,e);return n&&("center"===i&&(n=aF(n,r.getBoundingRect())),lF(r,n)),r}function oF(t,e,n){var i=new uR({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(aF(e,r))}}});return i}function aF(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var sF=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new rR(e);return a.createPathProxy(),a.buildPath=function(t){if(UB(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function lF(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function uF(t,e){return cR(t,t,{lineWidth:e}),t}var dF=pR;function cF(t,e){for(var n=lk([]);t&&t!==e;)dk(n,t.getLocalTransform(),n),t=t.parent;return n}function hF(t,e,n){return e&&!LA(e)&&(e=QO.getLocalTransform(e)),n&&(e=fk([],e)),kD([],t,e)}function pF(t,e,n){var i=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?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=hF(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function fF(t){return!t.isGroup}function gF(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){fF(t)&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(fF(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),jz(t,i,n,LR(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=TA({},t.shape)),e}}function yF(t,e){return EA(t,function(t){var n=t[0];n=Jz(n,e.x),n=Qz(n,e.x+e.width);var i=t[1];return i=Jz(i,e.y),[n,i=Qz(i,e.y+e.height)]})}function mF(t,e,n){var i=TA({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),AA(r,n),new uR(i)):rF(t.replace("path://",""),i,n,"center")}function vF(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(xF(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function xF(t,e,n,i,r,o,a,s){var l,u=n-t,d=i-e,c=a-r,h=s-o,p=_F(c,h,u,d);if((l=p)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=_F(f,g,u,d)/p;if(y<0||y>1)return!1;var m=_F(f,g,c,h)/p;return!(m<0||m>1)}function _F(t,e,n,i){return t*i-n*e}function bF(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=GA(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&OA(RA(l),function(t){fD(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=LR(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:AA({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function wF(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function SF(t,e){if(t)if(FA(t))for(var n=0;n<t.length;n++)wF(t[n],e);else wF(t,e)}nF("circle",KB),nF("ellipse",QB),nF("sector",fz),nF("ring",yz),nF("polygon",xz),nF("polyline",bz),nF("rect",yR),nF("line",Mz),nF("bezierCurve",Tz),nF("arc",Dz);const MF=Object.freeze(Object.defineProperty({__proto__:null,Arc:Dz,BezierCurve:Tz,BoundingRect:Mk,Circle:KB,CompoundPath:kz,Ellipse:QB,Group:bE,Image:uR,IncrementalDisplayable:Vz,Line:Mz,LinearGradient:Oz,OrientedBoundingRect:zz,Path:rR,Point:gk,Polygon:xz,Polyline:bz,RadialGradient:Ez,Rect:yR,Ring:yz,Sector:fz,Text:xR,applyTransform:hF,clipPointsByRect:yF,clipRectByRect:function(t,e){var n=Jz(t.x,e.x),i=Qz(t.x+t.width,e.x+e.width),r=Jz(t.y,e.y),o=Qz(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:mF,extendPath:function(t,e){return eF(t,e)},extendShape:function(t){return rR.extend(t)},getShapeClass:iF,getTransform:cF,groupTransition:gF,initProps:Uz,isElementRemoved:Yz,lineLineIntersect:xF,linePolygonIntersect:vF,makeImage:oF,makePath:rF,mergePath:sF,registerShape:nF,removeElement:Xz,removeElementWithFadeOut:qz,resizePath:lF,setTooltipConfig:bF,subPixelOptimize:dF,subPixelOptimizeLine:uF,subPixelOptimizeRect:function(t){return hR(t.shape,t.shape,t.style),t},transformDirection:pF,traverseElements:SF,updateProps:jz},Symbol.toStringTag,{value:"Module"}));var $F={};function CF(t,e){for(var n=0;n<BR.length;n++){var i=BR[n],r=e[i],o=t.ensureState(i);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 IF(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=VA(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},u=0;u<BR.length;u++){var d=BR[u],c=e[d];l[d]=JA(r?r.getFormattedLabel(o,d,null,a,c&&c.get("formatter")):null,i)}return l}function TF(t,e,n,i){n=n||$F;for(var r=t instanceof xR,o=!1,a=0;a<zR.length;a++){if((h=e[zR[a]])&&h.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new xR,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=IF(n,e),u=e.normal,d=!!u.getShallow("show"),c=DF(u,i&&i.normal,n,!1,!r);c.text=l.normal,r||t.setTextConfig(kF(u,n,!1));for(a=0;a<BR.length;a++){var h,p=BR[a];if(h=e[p]){var f=s.ensureState(p),g=!!JA(h.getShallow("show"),d);if(g!==d&&(f.ignore=!g),f.style=DF(h,i&&i[p],n,!0,!r),f.style.text=l[p],!r)t.ensureState(p).textConfig=kF(h,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(c.x=s.style.x),null!=s.style.y&&(c.y=s.style.y),s.ignore=!d,s.useStyle(c),s.dirty(),n.enableTextSetter&&(RF(s).setLabelText=function(t){var i=IF(n,e,t);CF(s,i)})}else s&&(s.ignore=!0);t.dirty()}function AF(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<BR.length;i++){var r=BR[i];n[r]=t.getModel([r,e])}return n}function DF(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||$F;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||$F).rich;if(n){e=e||{};for(var i=RA(n),r=0;r<i.length;r++){e[i[r]]=1}}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var d=e.getModel(["rich",u]);PF(o[u]={},d,s,n,i,r,!1,!0)}o&&(t.rich=o);var c=e.get("overflow");c&&(t.overflow=c);var h=e.get("minMargin");null!=h&&(t.margin=h);PF(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&TA(o,e),o}function kF(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=JA(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),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}var LF=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],OF=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],EF=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function PF(t,e,n,i,r,o,a,s){n=!r&&n||$F;var l=i&&i.inheritColor,u=e.getShallow("color"),d=e.getShallow("textBorderColor"),c=JA(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==d&&"auto"!==d||(d=l||null),o||(u=u||n.color,d=d||n.textBorderColor),null!=u&&(t.fill=u),null!=d&&(t.stroke=d);var h=JA(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=h&&(t.lineWidth=h);var p=JA(e.getShallow("textBorderType"),n.textBorderType);null!=p&&(t.lineDash=p);var f=JA(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),r||null!=c||s||(c=i&&i.defaultOpacity),null!=c&&(t.opacity=c),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var g=0;g<LF.length;g++){var y=LF[g];null!=(v=JA(e.getShallow(y),n[y]))&&(t[y]=v)}for(g=0;g<OF.length;g++){y=OF[g];null!=(v=e.getShallow(y))&&(t[y]=v)}if(null==t.verticalAlign){var m=e.getShallow("baseline");null!=m&&(t.verticalAlign=m)}if(!a||!i.disableBox){for(g=0;g<EF.length;g++){var v;y=EF[g];null!=(v=e.getShallow(y))&&(t[y]=v)}var x=e.getShallow("borderType");null!=x&&(t.borderDash=x),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function NF(t,e){var n=e&&e.getModel("textStyle");return iD([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var RF=cP();function BF(t,e,n,i){if(t){var r=RF(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function zF(t,e,n,i,r){var o=RF(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=JA(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?Uz:jz)(t,{percent:1},i,e,null,function(i){var u=_P(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:u;var d=IF({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);CF(t,d)})}}var FF,VF,GF=["textStyle","color"],WF=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],HF=new xR,jF=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(GF):null)},t.prototype.getFont=function(){return NF({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")},n=0;n<WF.length;n++)e[WF[n]]=this.getShallow(WF[n]);return HF.useStyle(e),HF.update(),HF.getBoundingRect()},t}(),UF=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],YF=DP(UF),XF=function(){function t(){}return t.prototype.getLineStyle=function(t){return YF(this,t)},t}(),ZF=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],qF=DP(ZF),KF=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return qF(this,t,e)},t}(),JF=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){},t.prototype.mergeOption=function(t,e){CA(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 n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)($A(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(!aA.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 n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();MP(JF),FF=JF,VF=["__\0is_clz",CP++].join("_"),FF.prototype[VF]=!0,FF.isInstance=function(t){return!(!t||!t[VF])},kA(JF,XF),kA(JF,KF),kA(JF,LP),kA(JF,jF);var QF=Math.round(10*Math.random());function tV(t){return[t||"",QF++].join("_")}function eV(t,e){return CA(CA({},t,!0),e,!0)}var nV="ZH",iV="EN",rV=iV,oV={},aV={},sV=aA.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||rV).toUpperCase().indexOf(nV)>-1?nV:rV;function lV(t,e){t=t.toUpperCase(),aV[t]=new JF(e),oV[t]=e}function uV(t){return aV[t]}lV(iV,{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",custom:"Custom chart",chart:"Chart"}},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:". "}}}}),lV(nV,{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:"旭日图",custom:"自定义图表",chart:"图表"}},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:""}}}});var dV=1e3,cV=6e4,hV=36e5,pV=864e5,fV=31536e6,gV={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}"},yV="{yyyy}-{MM}-{dd}",mV={year:"{yyyy}",month:"{yyyy}-{MM}",day:yV,hour:yV+" "+gV.hour,minute:yV+" "+gV.minute,second:yV+" "+gV.second,millisecond:gV.none},vV=["year","month","day","hour","minute","second","millisecond"],xV=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function _V(t,e){return"0000".substr(0,e-(t+="").length)+t}function bV(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 wV(t){return t===bV(t)}function SV(t,e,n,i){var r=zE(t),o=r[CV(n)](),a=r[IV(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[TV(n)](),u=r["get"+(n?"UTC":"")+"Day"](),d=r[AV(n)](),c=(d-1)%12+1,h=r[DV(n)](),p=r[kV(n)](),f=r[LV(n)](),g=d>=12?"pm":"am",y=g.toUpperCase(),m=(i instanceof JF?i:uV(i||sV)||aV[rV]).getModel("time"),v=m.get("month"),x=m.get("monthAbbr"),_=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,_V(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,_V(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,_V(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,_V(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,_V(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,_V(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,_V(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,_V(f,3)).replace(/{S}/g,f+"")}function MV(t,e){var n=zE(t),i=n[IV(e)]()+1,r=n[TV(e)](),o=n[AV(e)](),a=n[DV(e)](),s=n[kV(e)](),l=0===n[LV(e)](),u=l&&0===s,d=u&&0===a,c=d&&0===o,h=c&&1===r;return h&&1===i?"year":h?"month":c?"day":d?"hour":u?"minute":l?"second":"millisecond"}function $V(t,e,n){var i=HA(t)?zE(t):t;switch(e=e||MV(t,n)){case"year":return i[CV(n)]();case"half-year":return i[IV(n)]()>=6?1:0;case"quarter":return Math.floor((i[IV(n)]()+1)/4);case"month":return i[IV(n)]();case"day":return i[TV(n)]();case"half-day":return i[AV(n)]()/24;case"hour":return i[AV(n)]();case"minute":return i[DV(n)]();case"second":return i[kV(n)]();case"millisecond":return i[LV(n)]()}}function CV(t){return t?"getUTCFullYear":"getFullYear"}function IV(t){return t?"getUTCMonth":"getMonth"}function TV(t){return t?"getUTCDate":"getDate"}function AV(t){return t?"getUTCHours":"getHours"}function DV(t){return t?"getUTCMinutes":"getMinutes"}function kV(t){return t?"getUTCSeconds":"getSeconds"}function LV(t){return t?"getUTCMilliseconds":"getMilliseconds"}function OV(t){return t?"setUTCFullYear":"setFullYear"}function EV(t){return t?"setUTCMonth":"setMonth"}function PV(t){return t?"setUTCDate":"setDate"}function NV(t){return t?"setUTCHours":"setHours"}function RV(t){return t?"setUTCMinutes":"setMinutes"}function BV(t){return t?"setUTCSeconds":"setSeconds"}function zV(t){return t?"setUTCMilliseconds":"setMilliseconds"}function FV(t){if(!jE(t))return GA(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function VV(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 GV=eD;function WV(t,e,n){function i(t){return t&&iD(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?zE(t):t;if(!isNaN(+s))return SV(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return WA(t)?i(t):HA(t)&&r(t)?t+"":"-";var l=HE(t);return r(l)?FV(l):WA(t)?i(t):"boolean"==typeof t?t+"":"-"}var HV=["a","b","c","d","e","f","g"],jV=function(t,e){return"{"+t+(null==e?"":e)+"}"};function UV(t,e,n){FA(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=HV[o];t=t.replace(jV(a),jV(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(jV(HV[l],s),n?UD(u):u)}return t}function YV(t,e){return e=e||"transparent",GA(t)?t:jA(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function XV(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var ZV=OA,qV=["left","right","top","bottom","width","height"],KV=[["width","left","right"],["height","top","bottom"]];function JV(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var d,c,h=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=h.width+(f?-f.x+h.x:0);(d=o+g)>i||l.newline?(o=0,d=g,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var y=h.height+(f?-f.y+h.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=d+n:a=c+n)})}var QV=JV;function tG(t,e,n){n=GV(n||0);var i=e.width,r=e.height,o=AE(t.left,i),a=AE(t.top,r),s=AE(t.right,i),l=AE(t.bottom,r),u=AE(t.width,i),d=AE(t.height,r),c=n[2]+n[0],h=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-h-o),isNaN(d)&&(d=r-l-c-a),null!=p&&(isNaN(u)&&isNaN(d)&&(p>i/r?u=.8*i:d=.8*r),isNaN(u)&&(u=p*d),isNaN(d)&&(d=u/p)),isNaN(o)&&(o=i-s-u-h),isNaN(a)&&(a=r-l-d-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-h}switch(t.top||t.bottom){case"middle":case"center":a=r/2-d/2-n[0];break;case"bottom":a=r-d-c}o=o||0,a=a||0,isNaN(u)&&(u=i-h-o-(s||0)),isNaN(d)&&(d=r-c-a-(l||0));var f=new Mk(o+n[3],a+n[0],u,d);return f.margin=n,f}function eG(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Mk(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var d=t.getLocalTransform();(a=a.clone()).applyTransform(d)}var c=tG(AA({width:a.width,height:a.height},e),n,i),h=s?c.x-a.x:0,p=l?c.y-a.y:0;return"raw"===u?(o.x=h,o.y=p):(o.x+=h,o.y+=p),o===t&&t.markRedraw(),!0}function nG(t){var e=t.layoutMode||t.constructor.layoutMode;return jA(e)?e:e?{type:e}:null}function iG(t,e,n){var i=n&&n.ignoreSize;!FA(i)&&(i=[i,i]);var r=a(KV[0],0),o=a(KV[1],1);function a(n,r){var o={},a=0,u={},d=0;if(ZV(n,function(e){u[e]=t[e]}),ZV(n,function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&d++}),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==d&&a){if(a>=2)return o;for(var c=0;c<n.length;c++){var h=n[c];if(!s(o,h)&&s(t,h)){o[h]=t[h];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){ZV(t,function(t){e[t]=n[t]})}u(KV[0],t,r),u(KV[1],t,o)}function rG(t){return oG({},t)}function oG(t,e){return e&&t&&ZV(qV,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}zA(JV,"vertical"),zA(JV,"horizontal");var aG=cP(),sG=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=tV("ec_cpt_model"),r}var n;return rA(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=nG(this),i=n?rG(t):{};CA(t,e.getTheme().get(this.mainType)),CA(t,this.getDefaultOption()),n&&iG(t,i,n)},e.prototype.mergeOption=function(t,e){CA(this.option,t,!0);var n=nG(this);n&&iG(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[wP])}(t))return t.defaultOption;var e=aG(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=CA(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return mP(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!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=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(JF);$P(sG,JF),AP(sG),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=SP(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=SP(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(sG),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return OA(t,function(o){var a=n(i,o),s=function(t,e){var n=[];return OA(t,function(t){DA(e,t)>=0&&n.push(t)}),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),OA(s,function(t){DA(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);DA(e.successor,t)<0&&e.successor.push(o)})}),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(OA(t,function(t){u[t]=!0});l.length;){var d=l.pop(),c=s[d],h=!!u[d];h&&(r.call(o,d,c.originalDeps.slice()),delete u[d]),OA(c.successor,h?f:p)}OA(u,function(){throw new Error("")})}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}(sG,function(t){var e=[];OA(sG.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=EA(e,function(t){return SP(t).main}),"dataset"!==t&&DA(e,"dataset")<=0&&e.unshift("dataset");return e});var lG="";"undefined"!=typeof navigator&&(lG=navigator.platform||"");var uG="rgba(0, 0, 0, 0.2)";const dG={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:uG,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:uG,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:uG,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:uG,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:uG,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:uG,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:lG.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};var cG=dD(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),hG="original",pG="arrayRows",fG="objectRows",gG="keyedColumns",yG="typedArray",mG="unknown",vG="column",xG="row",_G=1,bG=2,wG=3,SG=cP();function MG(t,e,n){var i={},r=CG(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,d=SG(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;OA(t=t.slice(),function(e,n){var r=jA(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]});var h=d.get(c)||d.set(c,{categoryWayDim:a,valueWayDim:0});function p(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function f(t){var e=t.dimsDef;return e?e.length:1}return OA(t,function(t,e){var n=t.name,r=f(t);if(null==o){var a=h.valueWayDim;p(i[n],a,r),p(l,a,r),h.valueWayDim+=r}else if(o===e)p(i[n],0,r),p(s,0,r);else{a=h.categoryWayDim;p(i[n],a,r),p(l,a,r),h.categoryWayDim+=r}}),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function $G(t,e,n){var i={};if(!CG(t))return i;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==fG&&o!==gG||OA(a,function(t,e){"name"===(jA(t)?t.name:t)&&(r=e)});var s=function(){for(var t={},i={},s=[],l=0,u=Math.min(5,n);l<u;l++){var d=TG(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(d);var c=d===wG;if(c&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!c&&s[t.n]===wG)&&(t.n=l),h(t)&&s[t.n]!==wG)return t;c||(d===bG&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function h(t){return null!=t.v&&null!=t.n}return h(t)?t:h(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function CG(t){if(!t.get("data",!0))return mP(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},gP).models[0]}function IG(t,e){return TG(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function TG(t,e,n,i,r,o){var a,s,l;if(YA(t))return wG;if(i){var u=i[o];jA(u)?(s=u.name,l=u.type):GA(u)&&(s=u)}if(null!=l)return"ordinal"===l?_G:wG;if(e===pG){var d=t;if(n===xG){for(var c=d[o],h=0;h<(c||[]).length&&h<5;h++)if(null!=(a=v(c[r+h])))return a}else for(h=0;h<d.length&&h<5;h++){var p=d[r+h];if(p&&null!=(a=v(p[o])))return a}}else if(e===fG){var f=t;if(!s)return wG;for(h=0;h<f.length&&h<5;h++){if((y=f[h])&&null!=(a=v(y[s])))return a}}else if(e===gG){if(!s)return wG;if(!(c=t[s])||YA(c))return wG;for(h=0;h<c.length&&h<5;h++)if(null!=(a=v(c[h])))return a}else if(e===hG){var g=t;for(h=0;h<g.length&&h<5;h++){var y,m=nP(y=g[h]);if(!FA(m))return wG;if(null!=(a=v(m[o])))return a}}function v(t){var e=GA(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?bG:wG:e&&"-"!==t?_G:void 0}return wG}var AG=dD();var DG,kG,LG,OG=cP(),EG=cP(),PG=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=QE(this.get("color",!0)),r=this.get("colorLayer",!0);return RG(this,OG,i,r,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=OG)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}();function NG(t,e,n,i){var r=QE(t.get(["aria","decal","decals"]));return RG(t,EG,r,null,e,n,i)}function RG(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var d=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((d=d||n)&&d.length){var c=d[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%d.length,c}}var BG="\0_ec_inner",zG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new JF(i),this._locale=new JF(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=GG(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,GG(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):LG(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&OA(a,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=dD(),s=e&&e.replaceMergeMainTypeMap;SG(this).datasetMap=dD(),OA(t,function(t,e){null!=t&&(sG.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?$A(t):CA(n[e],t,!0))}),s&&s.each(function(t,e){sG.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))}),sG.topologicalTravel(o,sG.getAllClassMainTypes(),function(e){var o=function(t,e,n){var i=AG.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,QE(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=rP(a,o,l);(function(t,e,n){OA(t,function(t){var i=t.newOption;jA(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))})})(u,e,sG),n[e]=null,i.set(e,null),r.set(e,0);var d,c=[],h=[],p=0;OA(u,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=sG.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(d)return;d=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=TA({componentIndex:n},t.keyInfo);TA(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),h.push(i),p++):(c.push(void 0),h.push(void 0))},this),n[e]=c,i.set(e,h),r.set(e,p),"series"===e&&DG(this)},this),this._seriesIndices||DG(this)},e.prototype.getOption=function(){var t=$A(this.option);return OA(t,function(e,n){if(sG.hasClass(n)){for(var i=QE(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!uP(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[BG],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 n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],OA(QE(i),function(t){a[t]&&n.push(a[t])})):n=null!=r?FG("id",r,a):null!=o?FG("name",o,a):NA(a,function(t){return!!t}),VG(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",r=s+"Name",!(e=a)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:s,index:e[n],id:e[i],name:e[r]}),u=l?this.queryComponents(l):NA(this._componentsMap.get(s),function(t){return!!t});return o=VG(u,t),t.filter?NA(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(VA(t)){var r=e,o=t;i.each(function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}})}else for(var a=GA(t)?i.get(t):jA(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=sP(t,null);return NA(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 NA(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return NA(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){kG(this),OA(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){OA(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){kG(this),OA(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return OA(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return kG(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){kG(this);var n=[];OA(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=dD(n)},e.prototype.restoreData=function(t){DG(this);var e=this._componentsMap,n=[];e.each(function(t,e){sG.hasClass(e)&&n.push(e)}),sG.topologicalTravel(n,sG.getAllClassMainTypes(),function(n){OA(e.get(n),function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()})})},e.internalField=(DG=function(t){var e=t._seriesIndices=[];OA(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=dD(e)},kG=function(t){},void(LG=function(t,e){t.option={},t.option[BG]=1,t._componentsMap=dD({series:[]}),t._componentsCount=dD();var n,i,r,o=e.aria;jA(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,OA(i,function(t,e){"colorLayer"===e&&r||sG.hasClass(e)||("object"==typeof t?n[e]=n[e]?CA(n[e],t,!1):$A(t):null==n[e]&&(n[e]=t))}),CA(e,dG,!1),t._mergeOption(e,null)})),e}(JF);function FG(t,e,n){if(FA(e)){var i=dD();return OA(e,function(t){null!=t&&(null!=sP(t,null)&&i.set(t,!0))}),NA(n,function(e){return e&&i.get(e[t])})}var r=sP(e,null);return NA(n,function(e){return e&&null!=r&&e[t]===r})}function VG(t,e){return e.hasOwnProperty("subType")?NA(t,function(t){return t&&t.subType===e.subType}):t}function GG(t){var e=dD();return t&&OA(QE(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}kA(zG,PG);var WG=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],HG=function(){return function(t){OA(WG,function(e){this[e]=BA(t[e],t)},this)}}(),jG={},UG=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];OA(jG,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){OA(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){jG[t]=e},t.get=function(t){return jG[t]},t}(),YG=/^(min|max)?(.+)$/,XG=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(OA(QE(t.series),function(t){t&&t.data&&YA(t.data)&&oD(t.data)}),OA(QE(t.dataset),function(t){t&&t.source&&YA(t.source)&&oD(t.source)})),t=$A(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,d=!!t.media,c=!!(l||s||a&&a.timeline);a?(r=a).timeline||(r.timeline=s):((c||d)&&(t.options=t.media=null),r=t);d&&FA(u)&&OA(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))});function h(t){OA(e,function(e){e(t,n)})}return h(r),OA(l,function(t){return h(t)}),OA(o,function(t){return h(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.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=[],$A(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=$A(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,d=o.length;u<d;u++)ZG(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=EA(s,function(t){return $A(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}();function ZG(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return OA(t,function(t,e){var n=e.match(YG);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}}),r}var qG=OA,KG=jA,JG=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function QG(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=JG.length;n<i;n++){var r=JG[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?CA(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?CA(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function tW(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,AA(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function eW(t){tW(t,"itemStyle"),tW(t,"lineStyle"),tW(t,"areaStyle"),tW(t,"label"),tW(t,"labelLine"),tW(t,"upperLabel"),tW(t,"edgeLabel")}function nW(t,e){var n=KG(t)&&t[e],i=KG(n)&&n.textStyle;if(i)for(var r=0,o=eP.length;r<o;r++){var a=eP[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function iW(t){t&&(eW(t),nW(t,"label"),t.emphasis&&nW(t.emphasis,"label"))}function rW(t){return FA(t)?t:t?[t]:[]}function oW(t){return(FA(t)?t[0]:t)||{}}function aW(t,e){qG(rW(t.series),function(t){KG(t)&&function(t){if(KG(t)){QG(t),eW(t),nW(t,"label"),nW(t,"upperLabel"),nW(t,"edgeLabel"),t.emphasis&&(nW(t.emphasis,"label"),nW(t.emphasis,"upperLabel"),nW(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(QG(e),iW(e));var n=t.markLine;n&&(QG(n),iW(n));var i=t.markArea;i&&iW(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!YA(o))for(var a=0;a<o.length;a++)iW(o[a]);OA(t.categories,function(t){eW(t)})}if(r&&!YA(r))for(a=0;a<r.length;a++)iW(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)iW(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)FA(l[a])?(iW(l[a][0]),iW(l[a][1])):iW(l[a])}"gauge"===t.type?(nW(t,"axisLabel"),nW(t,"title"),nW(t,"detail")):"treemap"===t.type?(tW(t.breadcrumb,"itemStyle"),OA(t.levels,function(t){eW(t)})):"tree"===t.type&&eW(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),qG(n,function(e){qG(rW(t[e]),function(t){t&&(nW(t,"axisLabel"),nW(t.axisPointer,"label"))})}),qG(rW(t.parallel),function(t){var e=t&&t.parallelAxisDefault;nW(e,"axisLabel"),nW(e&&e.axisPointer,"label")}),qG(rW(t.calendar),function(t){tW(t,"itemStyle"),nW(t,"dayLabel"),nW(t,"monthLabel"),nW(t,"yearLabel")}),qG(rW(t.radar),function(t){nW(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)}),qG(rW(t.geo),function(t){KG(t)&&(iW(t),qG(rW(t.regions),function(t){iW(t)}))}),qG(rW(t.timeline),function(t){iW(t),tW(t,"label"),tW(t,"itemStyle"),tW(t,"controlStyle",!0);var e=t.data;FA(e)&&OA(e,function(t){jA(t)&&(tW(t,"label"),tW(t,"itemStyle"))})}),qG(rW(t.toolbox),function(t){tW(t,"iconStyle"),qG(t.feature,function(t){tW(t,"iconStyle")})}),nW(oW(t.axisPointer),"label"),nW(oW(t.tooltip).axisPointer,"label")}function sW(t){t&&OA(lW,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var lW=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],uW=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],dW=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function cW(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<dW.length;n++){var i=dW[n][1],r=dW[n][0];null!=e[i]&&(e[r]=e[i])}}function hW(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function pW(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function fW(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&fW(t[n].children,e)}function gW(t,e){aW(t,e),t.series=QE(t.series),OA(t.series,function(t){if(jA(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),hW(t.label),(r=t.data)&&!YA(r))for(var n=0;n<r.length;n++)hW(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=i&&function(t,e,n){for(var i,r=e.split(","),o=t,a=0;a<r.length-1;a++)null==o[i=r[a]]&&(o[i]={}),o=o[i];null==o[r[a]]&&(o[r[a]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){var r;if(cW(t),cW(t.backgroundStyle),cW(t.emphasis),(r=t.data)&&!YA(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(cW(r[n]),cW(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),pW(t),fW(t.data,pW)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&AA(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),sW(t)}}),t.dataRange&&(t.visualMap=t.dataRange),OA(uW,function(e){var n=t[e];n&&(FA(n)||(n=[n]),OA(n,function(t){sW(t)}))})}function yW(t){OA(t,function(e,n){var i=[],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,d){var c,h,p=a.get(e.stackedDimension,d);if(isNaN(p))return r;s?h=a.getRawIndex(d):c=a.get(e.stackedByDimension,d);for(var f=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(h=y.data.rawIndexOf(y.stackedByDimension,c)),h>=0){var m=y.data.getByRawIndex(y.stackResultDimension,h);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&p>=0&&m>0||"samesign"===l&&p<=0&&m<0){p=EE(p,m),f=m;break}}}return i[0]=p,i[1]=f,i})})}var mW,vW,xW,_W,bW,wW=function(){return function(t){this.data=t.data||(t.sourceFormat===gG?{}:[]),this.sourceFormat=t.sourceFormat||mG,this.seriesLayoutBy=t.seriesLayoutBy||vG,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&IG(this,n)===_G&&(i.type="ordinal")}}}();function SW(t){return t instanceof wW}function MW(t,e,n){n=n||CW(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:IW(r),startIndex:a,dimensionsDetectedCount:o};if(e===pG){var s=t;"auto"===i||null==i?TW(function(t){null!=t&&"-"!==t&&(GA(t)?null==a&&(a=1):a=0)},n,s,10):a=HA(i)?i:i?1:0,r||1!==a||(r=[],TW(function(t,e){r[e]=null!=t?t+"":""},n,s,1/0)),o=r?r.length:n===xG?s.length:s[0]?s[0].length:null}else if(e===fG)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return RA(e)}(t));else if(e===gG)r||(r=[],OA(t,function(t,e){r.push(e)}));else if(e===hG){var l=nP(t[0]);o=FA(l)&&l.length||1}return{startIndex:a,dimensionsDefine:IW(r),dimensionsDetectedCount:o}}(t,n,i,e.sourceHeader,e.dimensions);return new wW({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:$A(e)})}function $W(t){return new wW({data:t,sourceFormat:YA(t)?yG:hG})}function CW(t){var e=mG;if(YA(t))e=yG;else if(FA(t)){0===t.length&&(e=pG);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(FA(r)||YA(r)){e=pG;break}if(jA(r)){e=fG;break}}}}else if(jA(t))for(var o in t)if(fD(t,o)&&LA(t[o])){e=gG;break}return e}function IW(t){if(t){var e=dD();return EA(t,function(t,n){var i={name:(t=jA(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i})}}function TW(t,e,n,i){if(e===xG)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function AW(t){var e=t.sourceFormat;return e===fG||e===gG}var DW=function(){function t(t,e){var n=SW(t)?t:$W(t);this._source=n;var i=this._data=n.data;n.sourceFormat===yG&&(this._offset=0,this._dimSize=e,this._data=i),bW(this,i,n)}var e;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=((e=t.prototype).pure=!1,void(e.persistent=!0)),t.internalField=function(){var t;bW=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine;if(TA(t,_W[FW(a,s)]),a===yG)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=OW(a,s);t.getItem=BA(d,null,r,l,u);var c=NW(a,s);t.count=BA(c,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],d=e-t,c=n[a],h=0;h<d;h++){var p=r[h*o+a];c[t+h]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},i=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={})[pG+"_"+vG]={pure:!0,appendData:r},t[pG+"_"+xG]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[fG]={pure:!0,appendData:r},t[gG]={pure:!0,appendData:function(t){var e=this._data;OA(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[hG]={appendData:r},t[yG]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},_W=t}(),t}(),kW=function(t,e,n,i){return t[i]},LW=((mW={})[pG+"_"+vG]=function(t,e,n,i){return t[i+e]},mW[pG+"_"+xG]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},mW[fG]=kW,mW[gG]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},mW[hG]=kW,mW);function OW(t,e){return LW[FW(t,e)]}var EW=function(t,e,n){return t.length},PW=((vW={})[pG+"_"+vG]=function(t,e,n){return Math.max(0,t.length-e)},vW[pG+"_"+xG]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},vW[fG]=EW,vW[gG]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},vW[hG]=EW,vW);function NW(t,e){return PW[FW(t,e)]}var RW=function(t,e,n){return t[e]},BW=((xW={})[pG]=RW,xW[fG]=function(t,e,n){return t[n]},xW[gG]=RW,xW[hG]=function(t,e,n){var i=nP(t);return i instanceof Array?i[e]:i},xW[yG]=RW,xW);function zW(t){return BW[t]}function FW(t,e){return t===pG?t+"_"+e:t}function VW(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return zW(o)(i,a,s)}var l=i;return o===hG&&(l=nP(i)),l}}}var GW=/\{@(.+?)\}/g,WW=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,d=this.mainType,c="series"===d,h=n.userOutput&&n.userOutput.get();return{componentType:d,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);(o&&(s.value=o.interpolatedValue),null!=i&&FA(s.value)&&(s.value=s.value[i]),r)||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return VA(r)?(s.status=e,s.dimensionIndex=i,r(s)):GA(r)?UV(r,s).replace(GW,function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=VW(a,t,r);if(o&&FA(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return VW(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function HW(t){var e,n;return jA(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function jW(t){return new UW(t)}var UW=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,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=d(this._modBy),s=this._modDataCount||0,l=d(t&&t.modBy),u=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||h<p)){var f=this._progress;if(FA(f))for(var g=0;g<f.length;g++)this._doProgress(f[g],h,p,l,u);else this._doProgress(f,h,p,l,u)}this._dueIndex=p;var y=null!=this._settedOutputEnd?this._settedOutputEnd:p;this._outputDueEnd=y}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,n,i,r){YW.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:YW.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),FA(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},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}(),YW=function(){var t,e,n,i,r,o={reset:function(l,u,d,c){e=l,t=u,n=d,i=c,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();function XW(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||HA(t)||null==t||"-"===t||(t=+zE(t)),null==t||""===t?NaN:Number(t))}var ZW=dD({number:function(t){return parseFloat(t)},time:function(t){return+zE(t)},trim:function(t){return GA(t)?iD(t):t}});function qW(t){return ZW.get(t)}var KW={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}},JW=function(){function t(t,e){if(!HA(e)){ZE("")}this._opFn=KW[t],this._rvalFloat=HE(e)}return t.prototype.evaluate=function(t){return HA(t)?this._opFn(t,this._rvalFloat):this._opFn(HE(t),this._rvalFloat)},t}(),QW=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=HA(t)?t:HE(t),i=HA(e)?e:HE(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=GA(t),s=GA(e);a&&(n=s?t:0),s&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),tH=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=HE(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=HE(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function eH(t,e){return"eq"===t||"ne"===t?new tH("eq"===t,e):fD(KW,t)?new JW(t,e):null}var nH=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 XW(t,e)},t}();function iH(t){if(!uH(t.sourceFormat)){ZE("")}return t.data}function rH(t){var e=t.sourceFormat,n=t.data;if(!uH(e)){ZE("")}if(e===pG){for(var i=[],r=0,o=n.length;r<o;r++)i.push(n[r].slice());return i}if(e===fG){for(i=[],r=0,o=n.length;r<o;r++)i.push(TA({},n[r]));return i}}function oH(t,e,n){if(null!=n)return HA(n)||!isNaN(n)&&!fD(e,n)?t[n]:fD(e,n)?e[n]:void 0}function aH(t){return $A(t)}var sH=dD();function lH(t,e,n,i){e.length||ZE(""),jA(t)||ZE("");var r=t.type,o=sH.get(r);o||ZE("");var a=EA(e,function(t){return function(t,e){var n=new nH,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==vG&&ZE("");var a=[],s={},l=t.dimensionsDefine;if(l)OA(l,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};a.push(i),null!=n&&(fD(s,n)&&ZE(""),s[n]=i)});else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var d=OW(r,vG);e.__isBuiltIn&&(n.getRawDataItem=function(t){return d(i,o,a,t)},n.getRawData=BA(iH,null,t)),n.cloneRawData=BA(rH,null,t);var c=NW(r,vG);n.count=BA(c,null,i,o,a);var h=zW(r);n.retrieveValue=function(t,e){var n=d(i,o,a,t);return p(n,e)};var p=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=a[e];return n?h(t,e,n.name):void 0}};return n.getDimensionInfo=BA(oH,null,a,s),n.cloneAllDimensionInfo=BA(aH,null,a),n}(t,o)});return EA(QE(o.transform({upstream:a[0],upstreamList:a,config:$A(t.config)})),function(t,n){var i;jA(t)||ZE(""),t.data||ZE(""),uH(CW(t.data))||ZE("");var r=e[0];if(r&&0===n&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),i={seriesLayoutBy:vG,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else i={seriesLayoutBy:vG,sourceHeader:0,dimensions:t.dimensions};return MW(t.data,i,null)})}function uH(t){return t===pG||t===fG}var dH,cH="undefined",hH=typeof Uint32Array===cH?Array:Uint32Array,pH=typeof Uint16Array===cH?Array:Uint16Array,fH=typeof Int32Array===cH?Array:Int32Array,gH=typeof Float64Array===cH?Array:Float64Array,yH={float:gH,int:fH,ordinal:Array,number:Array,time:gH};function mH(t){return t>65535?hH:pH}function vH(){return[1/0,-1/0]}function xH(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function _H(t,e,n,i,r){var o=yH[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var bH=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=dD()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=dH[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],AW(i),this._dimensions=EA(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 n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new yH[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){_H(n,l,(p=i[l]).type,s,!0)}for(var u=[],d=a;d<s;d++)for(var c=d-a,h=0;h<r;h++){var p=i[h],f=dH.arrayRows.call(this,t[c]||u,p.property,c,h);n[h][d]=f;var g=o[h];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,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=EA(o,function(t){return t.property}),u=0;u<a;u++){var d=o[u];s[u]||(s[u]=vH()),_H(r,u,d.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var c=[],h=t;h<e;h++){c=i.getItem(h,c);for(var p=0;p<a;p++){var f=r[p],g=this._dimValueGetter(c,l[p],h,p);f[h]=g;var y=s[p];g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.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 n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/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,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var d=e-i[this.getRawIndex(l)],c=Math.abs(d);c<=n&&((c<o||c===o&&d>=0&&a<0)&&(o=c,a=d,s=0),d===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=mH(this._rawCount))(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 n=this.clone(),i=n.count(),r=new(mH(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,d=0;d<i;d++){var c=void 0,h=n.getRawIndex(d);if(0===a)c=e(d);else if(1===a){c=e(u[l][h],d)}else{for(var p=0;p<a;p++)o[p]=u[t[p]][h];o[p]=d,c=e.apply(null,o)}c&&(r[s++]=h)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=RA(t),r=i.length;if(!r)return this;var o=e.count(),a=new(mH(e._rawCount))(o),s=0,l=i[0],u=t[l][0],d=t[l][1],c=e._chunks,h=!1;if(!e._indices){var p=0;if(1===r){for(var f=c[i[0]],g=0;g<n;g++){((x=f[g])>=u&&x<=d||isNaN(x))&&(a[s++]=p),p++}h=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],m=t[i[1]][0],v=t[i[1]][1];for(g=0;g<n;g++){var x=f[g],_=y[g];(x>=u&&x<=d||isNaN(x))&&(_>=m&&_<=v||isNaN(_))&&(a[s++]=p),p++}h=!0}}if(!h)if(1===r)for(g=0;g<o;g++){var b=e.getRawIndex(g);((x=c[i[0]][b])>=u&&x<=d||isNaN(x))&&(a[s++]=b)}else for(g=0;g<o;g++){for(var w=!0,S=(b=e.getRawIndex(g),0);S<r;S++){var M=i[S];((x=c[M][b])<t[M][0]||x>t[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=vH();for(var d=0;d<a;d++){for(var c=t.getRawIndex(d),h=0;h<o;h++)s[h]=i[e[h]][c];s[o]=d;var p=n&&n.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],y=l[f],m=i[f];m&&(m[c]=g),g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),d=this.getRawIndex(0),c=new(mH(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=d;for(var h=1;h<s-1;h+=u){for(var p=Math.min(h+u,s-1),f=Math.min(h+2*u,s),g=(f+p)/2,y=0,m=p;m<f;m++){var v=a[$=this.getRawIndex(m)];isNaN(v)||(y+=v)}y/=f-p;var x=h,_=Math.min(h+u,s),b=h-1,w=a[d];n=-1,r=x;var S=-1,M=0;for(m=x;m<_;m++){var $;v=a[$=this.getRawIndex(m)];isNaN(v)?(M++,S<0&&(S=$)):(i=Math.abs((b-g)*(v-w)-(b-m)*(y-w)))>n&&(n=i,r=$)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,d=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(mH(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var d=u,c=o[this.getRawIndex(d)],h=u,p=o[this.getRawIndex(h)],f=r;u+r>a&&(f=a-u);for(var g=0;g<f;g++){var y=o[this.getRawIndex(u+g)];y<c&&(c=y,d=u+g),y>p&&(p=y,h=u+g)}var m=this.getRawIndex(d),v=this.getRawIndex(h);d<h?(s[l++]=m,s[l++]=v):(s[l++]=v,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),d=r._rawExtent[t]=[1/0,-1/0],c=new(mH(this._rawCount))(Math.ceil(u/s)),h=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 y=n(a),m=this.getRawIndex(Math.min(p+i(a,y)||0,u-1));l[m]=y,y<d[0]&&(d[0]=y),y>d[1]&&(d[1]=y),c[h++]=m}return r._count=h,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,r=this._chunks,o=e&&PA(e,function(t,e){return t[e]=!0,t},{});if(o)for(var a=0;a<r.length;a++)i._chunks[a]=o[a]?xH(r[a]):r[a];else i._chunks=r;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=$A(this._extent),t._rawExtent=$A(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}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,n,i){return XW(t[i],this._dimensions[i])}dH={arrayRows:t,objectRows:function(t,e,n,i){return XW(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return XW(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),wH=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,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(MH(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=YA(a=o.get("data",!0))?yG:hG,e=[];var d=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},h=JA(d.seriesLayoutBy,c.seriesLayoutBy)||null,p=JA(d.sourceHeader,c.sourceHeader),f=JA(d.dimensions,c.dimensions);t=h!==c.seriesLayoutBy||!!p!=!!c.sourceHeader||f?[MW(a,{seriesLayoutBy:h,sourceHeader:p,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[MW(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&$H("")}var o,a=[],s=[];return OA(t,function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||$H(""),a.push(e),s.push(t._getVersionSign())}),i?e=function(t,e){var n=QE(t),i=n.length;i||ZE("");for(var r=0,o=i;r<o;r++)e=lH(n[r],e),r!==o-1&&(e.length=Math.max(e.length,1));return e}(i,a,n.componentIndex):null!=r&&(e=[(o=a[0],new wW({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:$A(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[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,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];MH(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new bH).initData(new DW(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(MH(t)){var e=CG(t);return e?[e.getSourceManager()]:[]}return EA(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?mP(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},gP).models:[]}(t),function(t){return t.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(MH(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function SH(t){t.option.transform&&oD(t.option.transform)}function MH(t){return"series"===t.mainType}function $H(t){throw new Error(t)}function CH(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+UD(e+"")+"px"}function IH(t,e){var n=t.color||"#6e7079",i=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:"+UD(i+"")+"px;color:"+UD(n)+";font-weight:"+UD(r+""),valueStyle:"font-size:"+UD(a+"")+"px;color:"+UD(o)+";font-weight:"+UD(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var TH=[0,10,20,30],AH=["","\n","\n\n","\n\n\n"];function DH(t,e){return e.type=t,e}function kH(t){return"section"===t.type}function LH(t){return kH(t)?EH:PH}function OH(t){if(kH(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return OA(t.blocks,function(t){var n=OH(t);n>=e&&(e=n+ +(i&&(!n||kH(t)&&!t.noHeader)))}),e}return 0}function EH(t,e,n,i){var r,o=e.noHeader,a=(r=OH(e),{html:TH[r],richText:AH[r]}),s=[],l=e.blocks||[];nD(!l||FA(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var d={valueAsc:"asc",valueDesc:"desc"};if(fD(d,u)){var c=new QW(d[u],null);l.sort(function(t,e){return c.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===u&&l.reverse()}OA(l,function(n,r){var o=e.valueFormatter,l=LH(n)(o?TA(TA({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)});var h="richText"===t.renderMode?s.join(a.richText):RH(i,s.join(""),o?n:a.html);if(o)return h;var p=WV(e.header,"ordinal",t.useUTC),f=IH(i,t.renderMode).nameStyle,g=CH(i);return"richText"===t.renderMode?BH(t,p,f)+a.richText+h:RH(i,'<div style="'+f+";"+g+';">'+UD(p)+"</div>"+h,n)}function PH(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return EA(t=FA(t)?t:[t],function(t,e){return WV(t,FA(p)?p[e]:p,u)})};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),h=o?"":WV(l,"ordinal",u),p=e.valueType,f=a?[]:d(e.value,e.dataIndex),g=!s||!o,y=!s&&o,m=IH(i,r),v=m.nameStyle,x=m.valueStyle;return"richText"===r?(s?"":c)+(o?"":BH(t,h,v))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(FA(e)?e.join(" "):e,o)}(t,f,g,y,x)):RH(i,(s?"":c)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+UD(t)+"</span>"}(h,!s,v))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=FA(t)?t:[t],'<span style="'+o+";"+i+'">'+EA(t,function(t){return UD(t)}).join("&nbsp;&nbsp;")+"</span>"}(f,g,y,x)),n)}}function NH(t,e,n,i,r,o){if(t)return LH(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function RH(t,e,n){return'<div style="'+("margin: "+n+"px 0 0")+";"+CH(t)+';">'+e+'<div style="clear:both"></div></div>'}function BH(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function zH(t,e){return YV(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function FH(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var VH=function(){function t(){this.richTextStyles={},this._nextStyleNameId=UE()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=GA(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"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:'+UD(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+UD(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return GA(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};FA(e)?OA(e,function(t){return TA(n,t)}):TA(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function GH(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),d=u.length,c=o.getRawValue(a),h=FA(c),p=zH(o,a);if(d>1||h&&!d){var f=function(t,e,n,i,r){var o=e.getData(),a=PA(t,function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),s=[],l=[],u=[];function d(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(DH("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?OA(i,function(t){d(VW(o,n,t),t)}):OA(t,d),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(d){var g=l.getDimensionInfo(u[0]);r=e=VW(l,a,u[0]),n=g.type}else r=e=h?c[0]:c;var y=lP(o),m=y&&o.name||"",v=l.getName(a),x=s?m:v;return DH("section",{header:m,noHeader:s||!y,sortParam:r,blocks:[DH("nameValue",{markerType:"item",markerColor:p,name:x,noName:!iD(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var WH=cP();function HH(t,e){return t.getName(e)||t.getId(e)}var jH="__universalTransitionEnabled",UH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return rA(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=jW({count:XH,reset:ZH}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(WH(this).sourceManager=new wH(this)).prepareSource();var i=this.getInitialData(t,n);KH(i,this),this.dataTask.context.data=i,WH(this).dataBeforeProcessed=i,YH(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=nG(this),i=n?rG(t):{},r=this.subType;sG.hasClass(r)&&(r+="Series"),CA(t,e.getTheme().get(this.subType)),CA(t,this.getDefaultOption()),tP(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&iG(t,i,n)},e.prototype.mergeOption=function(t,e){t=CA(this.option,t,!0),this.fillDataTextStyle(t.data);var n=nG(this);n&&iG(this.option,t,n);var i=WH(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);KH(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,WH(this).dataBeforeProcessed=r,YH(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!YA(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&tP(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=QH(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return WH(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=QH(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}WH(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return dD(t)},e.prototype.getSourceManager=function(){return WH(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return WH(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"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,n){return GH({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(aA.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,n){var i=this.ecModel,r=PG.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),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 n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=HH(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=RA(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[HH(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[jH])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){jA(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var u=e[l];s[c=HH(t,u)]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(u)}}else if("single"===o||!0===o){var d=e[a-1],c=HH(t,d);r.selectedMap=((n={})[c]=!0,n),this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(d),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return sG.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(sG);function YH(t){var e=t.name;lP(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return OA(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}(t)||e)}function XH(t){return t.model.getRawData().count()}function ZH(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),qH}function qH(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function KH(t,e){OA(cD(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,zA(JH,e))})}function JH(t,e){var n=QH(t);return n&&n.setOutputEnd((e||this).count()),e}function QH(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}kA(UH,WW),kA(UH,PG),$P(UH,sG);var tj=function(){function t(){this.group=new bE,this.uid=tV("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function ej(){var t=cP();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}MP(tj),AP(tj);var nj=cP(),ij=ej(),rj=function(){function t(){this.group=new bE,this.uid=tV("viewChart"),this.renderTask=jW({plan:sj,reset:lj}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&aj(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&aj(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){SF(this.group,t)},t.markUpdateMethod=function(t,e){nj(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function oj(t,e,n){t&&IB(t)&&("emphasis"===e?sB:lB)(t,n)}function aj(t,e,n){var i=dP(t,e),r=e&&null!=e.highlightKey?function(t){var e=PR[t];return null==e&&ER<=32&&(e=PR[t]=ER++),e}(e.highlightKey):null;null!=i?OA(QE(i),function(e){oj(t.getItemGraphicEl(e),n,r)}):t.eachItemGraphicEl(function(t){oj(t,n,r)})}function sj(t){return ij(t.model)}function lj(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&nj(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),uj[l]}MP(rj),AP(rj);var uj={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)}}},dj="\0__throttleOriginMethod",cj="\0__throttleRate",hj="\0__throttleType";function pj(t,e,n){var i,r,o,a,s,l=0,u=0,d=null;function c(){u=(new Date).getTime(),d=null,t.apply(o,a||[])}e=e||0;var h=function(){for(var t=[],h=0;h<arguments.length;h++)t[h]=arguments[h];i=(new Date).getTime(),o=this,a=t;var p=s||e,f=s||n;s=null,r=i-(f?l:u)-p,clearTimeout(d),f?d=setTimeout(c,p):r>=0?c():d=setTimeout(c,-r),l=i};return h.clear=function(){d&&(clearTimeout(d),d=null)},h.debounceNextCall=function(t){s=t},h}function fj(t,e,n,i){var r=t[e];if(r){var o=r[dj]||r,a=r[hj];if(r[cj]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=pj(o,n,"debounce"===i))[dj]=o,r[hj]=i,r[cj]=n}return r}}function gj(t,e){var n=t[e];n&&n[dj]&&(n.clear&&n.clear(),t[e]=n[dj])}var yj=cP(),mj={itemStyle:DP(ZF,!0),lineStyle:DP(UF,!0)},vj={lineStyle:"stroke",itemStyle:"fill"};function xj(t,e){var n=t.visualStyleMapper||mj[e];return n||(console.warn("Unknown style type '"+e+"'."),mj.itemStyle)}function _j(t,e){var n=t.visualDrawType||vj[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var bj={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=xj(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=_j(t,i),l=o[s],u=VA(l)?l:null,d="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||d){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||VA(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||VA(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=TA({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},wj=new JF,Sj={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=xj(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){wj.option=n[i];var a=r(wj);TA(t.ensureUniqueItemVisual(e,"style"),a),wj.option.decal&&(t.setItemVisual(e,"decal",wj.option.decal),wj.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Mj={performRawSeries:!0,overallReset:function(t){var e=dD();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),yj(t).scope=r}}),t.eachSeries(function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=yj(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=_j(e,a);r.each(function(t){var e=r.getRawIndex(t);i[e]=t}),n.each(function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",d=n.count();l[s]=e.getColorFromPalette(u,o,d)}})}})}},$j=Math.PI;var Cj=function(){function t(t,e,n,i){this._stageTaskMap=dD(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}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 n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=dD();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;OA(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});nD(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,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,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}OA(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,d=l.overallTask;if(d){var c,h=d.agentStubMap;h.each(function(t){a(i,t)&&(t.dirty(),c=!0)}),c&&d.dirty(),o.updatePayload(d,n);var p=o.getPerformArgs(d,i.block);h.each(function(t){t.perform(p)}),d.perform(p)&&(r=!0)}else u&&u.each(function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),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,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=dD(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||jW({plan:kj,reset:Lj,count:Pj}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||jW({reset:Ij});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=dD(),l=t.seriesType,u=t.getTargetSeries,d=!0,c=!1;function h(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,jW({reset:Tj,onDirty:Dj})));n.context={model:t,overallProgress:d},n.agent=o,n.__block=d,r._pipe(t,n)}nD(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,h):u?u(n,i).each(h):(d=!1,OA(n.getSeries(),h)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return VA(t)&&(t={overallReset:t,seriesType:Nj(t)}),t.uid=tV("stageHandler"),e&&(t.visualType=e),t},t}();function Ij(t){t.overallReset(t.ecModel,t.api,t.payload)}function Tj(t){return t.overallProgress&&Aj}function Aj(){this.agent.dirty(),this.getDownstream().dirty()}function Dj(){this.agent&&this.agent.dirty()}function kj(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Lj(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=QE(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?EA(e,function(t,e){return Ej(e)}):Oj}var Oj=Ej(0);function Ej(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function Pj(t){return t.data.count()}function Nj(t){Rj=null;try{t(Bj,zj)}catch(Qb){}return Rj}var Rj,Bj={},zj={};function Fj(t,e){for(var n in e.prototype)t[n]=gD}Fj(Bj,zG),Fj(zj,HG),Bj.eachSeriesByType=Bj.eachRawSeriesByType=function(t){Rj=t},Bj.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Rj=t.subType)};var Vj=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const Gj={color:Vj,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Vj]};var Wj="#B9B8CE",Hj="#100C2A",jj=function(){return{axisLine:{lineStyle:{color:Wj}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Uj=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Yj={darkMode:!0,color:Uj,backgroundColor:Hj,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Wj},pageTextStyle:{color:Wj}},textStyle:{color:Wj},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Wj}},dataZoom:{borderColor:"#71708A",textStyle:{color:Wj},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:Wj}},timeline:{lineStyle:{color:Wj},label:{color:Wj},controlStyle:{color:Wj,borderColor:Wj}},calendar:{itemStyle:{color:Hj},dayLabel:{color:Wj},monthLabel:{color:Wj},yearLabel:{color:Wj}},timeAxis:jj(),logAxis:jj(),valueAxis:jj(),categoryAxis:jj(),line:{symbol:"circle"},graph:{color:Uj},gauge:{title:{color:Wj},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Wj},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Yj.categoryAxis.splitLine.show=!1;var Xj=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(GA(t)){var r=SP(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};OA(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],d=r.lastIndexOf(u);if(d>0&&d===r.length-u.length){var c=r.slice(0,d);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.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,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Zj=["symbol","symbolSize","symbolRotate","symbolOffset"],qj=Zj.concat(["symbolKeepAspect"]),Kj={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<Zj.length;a++){var s=Zj[a],l=t.get(s);VA(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(TA({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=RA(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},Jj={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<qj.length;i++){var r=qj[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function Qj(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function tU(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function eU(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}function nU(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},function(t){i.push(t.seriesIndex)}),i}OA([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(t){e(t[0],function(e,i,r){e=TA({},e),r.dispatchAction(TA(e,{type:t[1],seriesIndex:n(i,e)}))})})}function iU(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=dP(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:FA(u)?l.getName(u[0]):l.getName(u),selected:GA(i)?i:TA({},i)})}})}function rU(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var oU=Math.round(9*Math.random()),aU="function"==typeof Object.defineProperty,sU=function(){function t(){this._id="__ec_inner_"+oU++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return aU?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[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}(),lU=rR.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),uU=rR.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),dU=rR.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),d=Math.cos(u)*a,c=Math.sin(u),h=Math.cos(u),p=.6*a,f=.7*a;t.moveTo(n-d,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+d-c*p,l+s+h*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-d+c*p,l+s+h*p,n-d,l+s),t.closePath()}}),cU=rR.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),hU={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},pU={};OA({line:Mz,rect:yR,roundRect:yR,square:yR,circle:KB,diamond:uU,pin:dU,arrow:cU,triangle:lU},function(t,e){pU[e]=new t});var fU=rR.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=dE(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=pU[i];r||(r=pU[i="rect"]),hU[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function gU(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function yU(t,e,n,i,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://")?oF(t.slice(8),new Mk(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?rF(t.slice(7),{},new Mk(e,n,i,r),a?"center":"cover"):new fU({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=gU,o&&s.setColor(o),s}function mU(t){return FA(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function vU(t,e){if(null!=t)return FA(t)||(t=[t,t]),[AE(t[0],e[0])||0,AE(JA(t[1],t[0]),e[1])||0]}function xU(t){return isFinite(t)}function _U(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=xU(a)?a:.5,s=xU(s)?s:.5,l=l>=0&&xU(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=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;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=xU(i)?i:0,r=xU(r)?r:1,o=xU(o)?o:0,a=xU(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function bU(t){return parseInt(t,10)}function wU(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||bU(s[i])||bU(t.style[i]))-(bU(s[o])||0)-(bU(s[a])||0)|0}function SU(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:HA(e)?[e]:FA(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=EA(r,function(t){return t/a}),o/=a)}return[r,o]}var MU=new RN(!0);function $U(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function CU(t){return"string"==typeof t&&"none"!==t}function IU(t){var e=t.fill;return null!=e&&"none"!==e}function TU(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function AU(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function DU(t,e,n){var i=PP(e.image,e.__image,n);if(RP(i)){var r=t.createPattern(i,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)*yD),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var kU=["shadowBlur","shadowOffsetX","shadowOffsetY"],LU=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function OU(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){NU(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?KP.opacity:a}(i||e.blend!==n.blend)&&(o||(NU(t,r),o=!0),t.globalCompositeOperation=e.blend||KP.blend);for(var s=0;s<kU.length;s++){var l=kU[s];(i||e[l]!==n[l])&&(o||(NU(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(NU(t,r),o=!0),t.shadowColor=e.shadowColor||KP.shadowColor),o}function EU(t,e,n,i,r){var o=RU(e,r.inHover),a=i?null:n&&RU(n,r.inHover)||{};if(o===a)return!1;var s=OU(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(NU(t,r),s=!0),CU(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(NU(t,r),s=!0),CU(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(NU(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(NU(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<LU.length;u++){var d=LU[u],c=d[0];(i||o[c]!==a[c])&&(s||(NU(t,r),s=!0),t[c]=o[c]||d[1])}return s}function PU(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function NU(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function RU(t,e){return e&&t.__hoverStyle||t.style}function BU(t,e){zU(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function zU(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(o,a)||(a&&a.length&&(NU(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(NU(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),PU(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var d,c,h=e instanceof rR&&e.autoBatch&&function(t){var e=IU(t),n=$U(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(d=r,c=u.transform,d&&c?d[0]!==c[0]||d[1]!==c[1]||d[2]!==c[2]||d[3]!==c[3]||d[4]!==c[4]||d[5]!==c[5]:d||c)?(NU(t,n),PU(t,e)):h||NU(t,n);var p=RU(e,n.inHover);e instanceof rR?(1!==n.lastDrawType&&(l=!0,n.lastDrawType=1),EU(t,e,u,l,n),h&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=$U(n),a=IU(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var d=e.path||MU,c=e.__dirty;if(!i){var h=n.fill,p=n.stroke,f=a&&!!h.colorStops,g=o&&!!p.colorStops,y=a&&!!h.image,m=o&&!!p.image,v=void 0,x=void 0,_=void 0,b=void 0,w=void 0;(f||g)&&(w=e.getBoundingRect()),f&&(v=c?_U(t,h,w):e.__canvasFillGradient,e.__canvasFillGradient=v),g&&(x=c?_U(t,p,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=x),y&&(_=c||!e.__canvasFillPattern?DU(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=_),m&&(b=c||!e.__canvasStrokePattern?DU(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),f?t.fillStyle=v:y&&(_?t.fillStyle=_:a=!1),g?t.strokeStyle=x:m&&(b?t.strokeStyle=b:o=!1)}var S,M,$=e.getGlobalScale();d.setScale($[0],$[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(r=SU(e))[0],M=r[1]);var C=!0;(u||4&c)&&(d.setDPR(t.dpr),l?d.setContext(null):(d.setContext(t),C=!1),d.reset(),e.buildPath(d,e.shape,i),d.toStatic(),e.pathUpdated()),C&&d.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=M),i||(n.strokeFirst?(o&&AU(t,n),a&&TU(t,n)):(a&&TU(t,n),o&&AU(t,n))),S&&t.setLineDash([])}(t,e,p,h),h&&(n.batchFill=p.fill||"",n.batchStroke=p.stroke||"")):e instanceof aR?(3!==n.lastDrawType&&(l=!0,n.lastDrawType=3),EU(t,e,u,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||lA,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=SU(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?($U(n)&&t.strokeText(r,n.x,n.y),IU(n)&&t.fillText(r,n.x,n.y)):(IU(n)&&t.fillText(r,n.x,n.y),$U(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,p)):e instanceof uR?(2!==n.lastDrawType&&(l=!0,n.lastDrawType=2),function(t,e,n,i,r){OU(t,RU(e,r.inHover),n&&RU(n,r.inHover),i,r)}(t,e,u,l,n),function(t,e,n){var i=e.__image=PP(n.image,e.__image,e,e.onload);if(i&&RP(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,d=n.sy||0;t.drawImage(i,u,d,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){var c=a-(u=n.sx),h=s-(d=n.sy);t.drawImage(i,u,d,c,h,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}(t,e,p)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(l=!0,n.lastDrawType=4),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(d=i[o]).beforeBrush&&d.beforeBrush(),d.innerBeforeBrush(),zU(t,d,s,o===a-1),d.innerAfterBrush(),d.afterBrush&&d.afterBrush(),s.prevEl=d}for(var l=0,u=r.length;l<u;l++){var d;(d=r[l]).beforeBrush&&d.beforeBrush(),d.innerBeforeBrush(),zU(t,d,s,l===u-1),d.innerAfterBrush(),d.afterBrush&&d.afterBrush(),s.prevEl=d}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),h&&i&&NU(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var FU=new sU,VU=new wL(100),GU=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function WU(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&FU.delete(t);var o=FU.get(t);if(o)return o;var a=AA(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 s={repeat:"repeat"};return function(t){for(var e,o=[n],s=!0,l=0;l<GU.length;++l){var u=a[GU[l]];if(null!=u&&!FA(u)&&!GA(u)&&!HA(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){e=o.join(",")+(r?"-svg":"");var d=VU.get(e);d&&(r?t.svgElement=d:t.image=d)}var c,h=jU(a.dashArrayX),p=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(HA(t)){var e=Math.ceil(t);return[e,e]}var n=EA(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),f=HU(a.symbol),g=(_=h,EA(_,function(t){return UU(t)})),y=UU(p),m=!r&&dA.createCanvas(),v=r&&{tag:"g",attrs:{},key:"dcl",children:[]},x=function(){for(var t=1,e=0,n=g.length;e<n;++e)t=XE(t,g[e]);var i=1;for(e=0,n=f.length;e<n;++e)i=XE(i,f[e].length);t*=i;var r=y*g.length*f.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();var _;m&&(m.width=x.width*n,m.height=x.height*n,c=m.getContext("2d"));(function(){c&&(c.clearRect(0,0,m.width,m.height),a.backgroundColor&&(c.fillStyle=a.backgroundColor,c.fillRect(0,0,m.width,m.height)));for(var t=0,e=0;e<p.length;++e)t+=p[e];if(t<=0)return;var o=-y,s=0,l=0,u=0;for(;o<x.height;){if(s%2==0){for(var d=l/2%f.length,g=0,_=0,b=0;g<2*x.width;){var w=0;for(e=0;e<h[u].length;++e)w+=h[u][e];if(w<=0)break;if(_%2==0){var S=.5*(1-a.symbolSize),M=g+h[u][_]*S,$=o+p[s]*S,C=h[u][_]*a.symbolSize,I=p[s]*a.symbolSize,T=b/2%f[d].length;A(M,$,C,I,f[d][T])}g+=h[u][_],++b,++_===h[u].length&&(_=0)}++u===h.length&&(u=0)}o+=p[s],++l,++s===p.length&&(s=0)}function A(t,e,o,s,l){var u=r?1:n,d=yU(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var h=i.painter.renderOneToVNode(d);h&&v.children.push(h)}else BU(c,d)}})(),s&&VU.put(e,m||v);t.image=m,t.svgElement=v,t.svgWidth=x.width,t.svgHeight=x.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,FU.set(t,s),t.dirty=!1,s}function HU(t){if(!t||0===t.length)return[["rect"]];if(GA(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!GA(t[n])){e=!1;break}if(e)return HU([t]);var i=[];for(n=0;n<t.length;++n)GA(t[n])?i.push([t[n]]):i.push(t[n]);return i}function jU(t){if(!t||0===t.length)return[[0,0]];if(HA(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!HA(t[n])){e=!1;break}if(e)return jU([t]);var i=[];for(n=0;n<t.length;++n)if(HA(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else{(r=EA(t[n],function(t){return Math.ceil(t)})).length%2==1?i.push(r.concat(r)):i.push(r)}return i}function UU(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var YU=new ND,XU={};var ZU=2e3,qU=4500,KU={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:ZU,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:qU,ARIA:6e3,DECAL:7e3}},JU="__flagInMainProcess",QU="__pendingUpdate",tY="__needsUpdateStatus",eY=/^[a-zA-Z0-9_]+$/,nY="__connectUpdateStatus";function iY(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return oY(this,t,e);this.id}}function rY(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return oY(this,t,e)}}function oY(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),ND.prototype[e].apply(t,n)}var aY,sY,lY,uY,dY,cY,hY,pY,fY,gY,yY,mY,vY,xY,_Y,bY,wY,SY,MY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e}(ND),$Y=MY.prototype;$Y.on=rY("on"),$Y.off=rY("off");var CY=function(t){function e(e,n,i){var r=t.call(this,new Xj)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},GA(n)&&(n=EY[n]),r._dom=e;i.ssr&&(ME=function(t){var e=LR(t),n=e.dataIndex;if(null!=n){var i=dD();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=CE(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:JA(i.useDirtyRect,!1),useCoarsePointer:JA(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=pj(BA(o.flush,o),17),(n=$A(n))&&gW(n,!0),r._theme=n,r._locale=function(t){if(GA(t)){var e=oV[t.toUpperCase()]||{};return t===nV||t===iV?$A(e):CA($A(e),$A(oV[rV]),!1)}return CA($A(t),$A(oV[rV]),!1)}(i.locale||sV),r._coordSysMgr=new UG;var a=r._api=_Y(r);function s(t,e){return t.__prio-e.__prio}return Fk(OY,s),Fk(kY,s),r._scheduler=new Cj(r,a,kY,OY),r._messageCenter=new MY,r._initEvents(),r.resize=BA(r.resize,r),o.animation.on("frame",r._onframe,r),gY(o,r),yY(o,r),oD(r),r}return rA(e,t),e.prototype._onframe=function(){if(!this._disposed){SY(this);var t=this._scheduler;if(this[QU]){var e=this[QU].silent;this[JU]=!0;try{aY(this),uY.update.call(this,null,this[QU].updateParams)}catch(Qb){throw this[JU]=!1,this[QU]=null,Qb}this._zr.flush(),this[JU]=!1,this[QU]=null,pY.call(this,e),fY.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),cY(this,i),t.performVisualTasks(i),xY(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>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,n){if(!this[JU])if(this._disposed)this.id;else{var i,r,o;if(jA(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[JU]=!0,!this._model||e){var a=new XG(this._api),s=this._theme,l=this._model=new zG;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},LY);var u={seriesTransition:o,optionChanged:!0};if(n)this[QU]={silent:i,updateParams:u},this[JU]=!1,this.getZr().wakeUp();else{try{aY(this),uY.update.call(this,null,u)}catch(Qb){throw this[QU]=null,this[JU]=!1,Qb}this._ssr||this._zr.flush(),this[QU]=null,this[JU]=!1,pY.call(this,i),fY.call(this,i)}}},e.prototype.setTheme=function(){},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||aA.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(aA.svgSupported){var t=this._zr;return OA(t.storage.getDisplayList(),function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;OA(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.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 OA(i,function(t){t.group.ignore=!1}),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(RY[n]){var a=o,s=o,l=-1/0,u=-1/0,d=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();OA(NY,function(o,c){if(o.group===n){var h=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas($A(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),l=r(p.right,l),u=r(p.bottom,u),d.push({dom:h,left:p.left,top:p.top})}});var h=(l*=c)-(a*=c),p=(u*=c)-(s*=c),f=dA.createCanvas(),g=CE(f,{renderer:e?"svg":"canvas"});if(g.resize({width:h,height:p}),e){var y="";return OA(d,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new yR({shape:{x:0,y:0,width:h,height:p},style:{fill:t.connectedBackgroundColor}})),OA(d,function(t){var e=new uR({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e){return dY(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return dY(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return OA(pP(this._model,t),function(t,i){i.indexOf("Models")>=0&&OA(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=pP(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?Qj(i,r,e):tU(i,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,e,n,i=this;OA(TY,function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&rU(o,function(t){var e=LR(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=TA({},e.eventData),!0},!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)}),OA(DY,function(t,e){i._messageCenter.on(e,function(t){this.trigger(e,t)},i)}),OA(["selectchanged"],function(t){i._messageCenter.on(t,function(e){this.trigger(t,e)},i)}),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(iU("map","selectchanged",e,i,t),iU("pie","selectchanged",e,i,t)):"select"===t.fromAction?(iU("map","selected",e,i,t),iU("pie","selected",e,i,t)):"unselect"===t.fromAction&&(iU("map","unselected",e,i,t),iU("pie","unselected",e,i,t))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&vP(this.getDom(),zY,"");var t=this,e=t._api,n=t._model;OA(t._componentsViews,function(t){t.dispose(n,e)}),OA(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete NY[t.id]}},e.prototype.resize=function(t){if(!this[JU])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[QU]&&(null==i&&(i=this[QU].silent),n=!0,this[QU]=null),this[JU]=!0;try{n&&aY(this),uY.update.call(this,{type:"resize",animation:TA({duration:0},t&&t.animation)})}catch(Qb){throw this[JU]=!1,Qb}this[JU]=!1,pY.call(this,i),fY.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(jA(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),PY[t]){var n=PY[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=TA({},t);return e.type=DY[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(jA(e)||(e={silent:!!e}),AY[t.type]&&this._model)if(this[JU])this._pendingActions.push(t);else{var n=e.silent;hY.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&aA.browser.weChat&&this._throttledZrFlush(),pY.call(this,n),fY.call(this,n)}},e.prototype.updateLabelLayout=function(){YU.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).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){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered(function(t){return i(t,n,r,-1/0),!0})}}function i(t,e,n,r){var o=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),l=0;l<s.length;l++)r=Math.max(i(s[l],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(o&&(o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}function r(t,e){e.eachRendered(function(t){if(!Yz(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function o(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis){if(Yz(t))return;if(t instanceof rR&&function(t){var e=NR(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}aY=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),sY(t,!0),sY(t,!1),e.plan()},sY=function(t,e){for(var n=t._model,i=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,d=!l&&o[u];if(!d){var c=SP(t.type);(d=new(e?tj.getClass(c.main,c.sub):rj.getClass(c.sub))).init(n,s),o[u]=d,r.push(d),a.add(d.group)}t.__viewId=d.__id=u,d.__alive=!0,d.__model=t,d.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(d,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(l=0;l<r.length;){var d=r[l];d.__alive?l++:(!e&&d.renderTask.dispose(),a.remove(d.group),d.dispose(n,s),r.splice(l,1),o[d.__id]===d&&delete o[d.__id],d.__id=d.group.__ecComponentInfo=null)}},lY=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=dD(),OA(QE(u),function(t){var e=sP(t,null);null!=e&&l.set(e,!0)})),o&&o.eachComponent(s,function(e){if(!(l&&null!=l.get(e.id)))if(AB(n))if(e instanceof UH)n.type!==VR||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=dP(r,e);o=(FA(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var u=LR(a);gB(i,u.focus,u.blurScope,n)}else{var d=t.get(["emphasis","focus"]),c=t.get(["emphasis","blurScope"]);null!=d&&gB(i,d,c,n)}}}(e,n,t._api);else{var i=mB(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,o=i.dispatchers;n.type===VR&&r&&!n.notBlur&&yB(e.mainType,e.componentIndex,t._api),o&&OA(o,function(t){n.type===VR?sB(t):lB(t)})}else TB(n)&&e instanceof UH&&(!function(t,e){if(TB(e)){var n=e.dataType,i=dP(t.getData(n),e);FA(i)||(i=[i]),t[e.type===jR?"toggleSelect":e.type===WR?"select":"unselect"](i,n)}}(e,n,t._api),vB(e),wY(t))},t),o&&o.eachComponent(s,function(e){l&&null!=l.get(e.id)||d(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else OA([].concat(t._componentsViews).concat(t._chartsViews),d);function d(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},uY={prepareAndUpdate:function(t){aY(this),uY.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),cY(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),mY(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),YU.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=dD();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),xY(this,i,r,e,{},a),YU.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),rj.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),mY(this,n,this._api,e,{}),YU.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),rj.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),YU.trigger("afterupdate",i,this._api))},updateLayout:function(t){uY.update.call(this,t)}},dY=function(t,e,n,i){if(t._disposed)t.id;else for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=pP(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},cY=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},hY=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=AY[r],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),d=null!=l[0]&&SP(l[0]);this[JU]=!0;var c=[t],h=!1;t.batch&&(h=!0,c=EA(t.batch,function(e){return(e=AA(TA({},e),t)).batch=null,e}));var p,f=[],g=TB(t),y=AB(t);if(y&&fB(this._api),OA(c,function(e){if((p=(p=a.action(e,n._model,n._api))||TA({},e)).type=s.event||p.type,f.push(p),y){var i=fP(t),r=i.queryOptionMap,o=i.mainTypeSpecified?r.keys()[0]:"series";lY(n,u,e,o),wY(n)}else g?(lY(n,u,e,"series"),wY(n)):d&&lY(n,u,e,d.main,d.sub)}),"none"!==u&&!y&&!g&&!d)try{this[QU]?(aY(this),uY.update.call(this,t),this[QU]=null):uY[u].call(this,t)}catch(Qb){throw this[JU]=!1,Qb}if(p=h?{type:s.event||r,escapeConnect:o,batch:f}:f[0],this[JU]=!1,!e){var m=this._messageCenter;if(m.trigger(p.type,p),g){var v={type:"selectchanged",escapeConnect:o,selected:xB(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};m.trigger(v.type,v)}}},pY=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();hY.call(this,n,t)}},fY=function(t){!t&&this.trigger("updated")},gY=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[QU]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},yY=function(t,e){t.on("mouseover",function(t){var n=rU(t.target,IB);n&&(!function(t,e,n){var i=LR(t),r=mB(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&yB(i.componentMainType,i.componentIndex,n),OA(o,function(t){return oB(t,e)})):(gB(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&yB(i.componentMainType,i.componentIndex,n),oB(t,e))}(n,t,e._api),wY(e))}).on("mouseout",function(t){var n=rU(t.target,IB);n&&(!function(t,e,n){fB(n);var i=LR(t),r=mB(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?OA(r,function(t){return aB(t,e)}):aB(t,e)}(n,t,e._api),wY(e))}).on("click",function(t){var n=rU(t.target,function(t){return null!=LR(t).dataIndex},!0);if(n){var i=n.selected?"unselect":"select",r=LR(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}})},mY=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);Fk(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),OA(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),vY(t,e,n,i,r),OA(t._chartsViews,function(t){t.__alive=!1}),xY(t,e,n,i,r),OA(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},vY=function(t,e,i,a,s,l){OA(l||t._componentsViews,function(t){var s=t.__model;r(s,t),t.render(s,e,i,a),n(s,t),o(s,t)})},xY=function(t,e,i,a,s,l){var u=t._scheduler;s=TA(s||{},{updatedSeries:e.getSeries()}),YU.trigger("series:beforeupdate",e,i,s);var d=!1;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;u.updatePayload(i,a),r(e,n),l&&l.get(e.uid)&&i.dirty(),i.perform(u.getPerformArgs(i))&&(d=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}(e,n),vB(e)}),u.unfinished=d||u.unfinished,YU.trigger("series:layoutlabels",e,i,s),YU.trigger("series:transition",e,i,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),o(e,i)}),function(t,e){var n=t._zr,i=n.storage,r=0;i.traverse(function(t){t.isGroup||r++}),r>e.get("hoverLayerThreshold")&&!aA.node&&!aA.worker&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}})}(t,e),YU.trigger("series:afterupdate",e,i,s)},wY=function(t){t[tY]=!0,t.getZr().wakeUp()},SY=function(t){t[tY]&&(t.getZr().storage.traverse(function(t){Yz(t)||e(t)}),t[tY]=!1)},_Y=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return rA(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){sB(e,n),wY(t)},n.prototype.leaveEmphasis=function(e,n){lB(e,n),wY(t)},n.prototype.enterBlur=function(e){uB(e),wY(t)},n.prototype.leaveBlur=function(e){dB(e),wY(t)},n.prototype.enterSelect=function(e){cB(e),wY(t)},n.prototype.leaveSelect=function(e){hB(e),wY(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(HG))(t)},bY=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][nY]=e}}OA(DY,function(n,i){t._messageCenter.on(i,function(n){if(RY[t.group]&&0!==t[nY]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];OA(NY,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),OA(r,function(t){1!==t[nY]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(ND),IY=CY.prototype;IY.on=iY("on"),IY.off=iY("off"),IY.one=function(t,e,n){var i=this;this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var TY=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var AY={},DY={},kY=[],LY=[],OY=[],EY={},PY={},NY={},RY={},BY=+new Date-0,zY="_echarts_instance_";function FY(t,e,n){var i=function(t){return NY[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,zY)]}(t);if(i)return i;var r=new CY(t,e,n);return r.id="ec_"+BY++,NY[r.id]=r,vP(t,zY,r.id),bY(r),YU.trigger("afterinit",r),r}function VY(t,e){EY[t]=e}function GY(t){DA(LY,t)<0&&LY.push(t)}function WY(t,e){XY(kY,t,e,2e3)}function HY(t,e){YU.on(t,e)}function jY(t,e,n){VA(e)&&(n=e,e="");var i=jA(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,DY[e]||(nD(eY.test(i)&&eY.test(e)),AY[i]||(AY[i]={action:n,actionInfo:t}),DY[e]=i)}function UY(t,e){XY(OY,t,e,3e3,"visual")}var YY=[];function XY(t,e,n,i,r){if((VA(e)||jA(e))&&(n=e,e=i),!(DA(YY,n)>=0)){YY.push(n);var o=Cj.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function ZY(t,e){PY[t]=e}function qY(t,e,n){var i=XU["registerMap"];i&&i(t,e,n)}var KY=function(t){var e=(t=$A(t)).type;e||ZE("");var n=e.split(":");2!==n.length&&ZE("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,sH.set(e,t)};UY(ZU,bj),UY(qU,Sj),UY(qU,Mj),UY(ZU,Kj),UY(qU,Jj),UY(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=WU(n,e))});var r=i.getVisual("decal");if(r)i.getVisual("style").decal=WU(r,e)}})}),GY(gW),WY(900,function(t){var e=dD();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),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;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),e.each(yW)}),ZY("default",function(t,e){AA(e=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 n=new bE,i=new yR({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new xR({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 yR({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new Dz({shape:{startAngle:-$j/2,endAngle:-$j/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*$j/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*$j/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?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}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}),jY({type:VR,event:VR,update:VR},gD),jY({type:GR,event:GR,update:GR},gD),jY({type:WR,event:WR,update:WR},gD),jY({type:HR,event:HR,update:HR},gD),jY({type:jR,event:jR,update:jR},gD),VY("light",Gj),VY("dark",Yj);var JY=[],QY={registerPreprocessor:GY,registerProcessor:WY,registerPostInit:function(t){HY("afterinit",t)},registerPostUpdate:function(t){HY("afterupdate",t)},registerUpdateLifecycle:HY,registerAction:jY,registerCoordinateSystem:function(t,e){UG.register(t,e)},registerLayout:function(t,e){XY(OY,t,e,1e3,"layout")},registerVisual:UY,registerTransform:KY,registerLoading:ZY,registerMap:qY,registerImpl:function(t,e){XU[t]=e},PRIORITY:KU,ComponentModel:sG,ComponentView:tj,SeriesModel:UH,ChartView:rj,registerComponentModel:function(t){sG.registerClass(t)},registerComponentView:function(t){tj.registerClass(t)},registerSeriesModel:function(t){UH.registerClass(t)},registerChartView:function(t){rj.registerClass(t)},registerSubTypeDefaulter:function(t,e){sG.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,wE[t]=n}};function tX(t){FA(t)?OA(t,function(t){tX(t)}):DA(JY,t)>=0||(JY.push(t),VA(t)&&(t={install:t}),t.install(QY))}function eX(t){return null==t?0:t.length||1}function nX(t){return t}var iX=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||nX,this._newKeyGetter=i||nX,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,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=eX(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],d=eX(l),c=eX(u);if(d>1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===d&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===d&&1===c)this._update&&this._update(u,l),i[s]=null;else if(d>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(d>1)for(var h=0;h<d;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=eX(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[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=eX(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),rX=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 oX(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function aX(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var sX=function(){return function(t){this.otherDims={},null!=t&&TA(this,t)}}(),lX=cP(),uX={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},dX=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=pX(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return JA(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=AW(this.source),n=!fX(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,d=this.dimensions[a];if(d&&d.storeDimIndex===o)s=e?d.name:null,l=d.type,u=d.ordinalMeta,a++;else{var c=this.getSourceDimension(o);c&&(s=e?c.name:null,l=c.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||d&&d.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=uX[l]||"f",u&&(i+=u.uid),i+="$"}var h=this.source;return{dimensions:r,hash:[h.seriesLayoutBy,h.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function cX(t){return t instanceof dX}function hX(t){for(var e=dD(),n=0;n<(t||[]).length;n++){var i=t[n],r=jA(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function pX(t){var e=lX(t);return e.dimNameMap||(e.dimNameMap=hX(t.dimensionsDefine))}function fX(t){return t>30}var gX,yX,mX,vX,xX,_X,bX,wX=jA,SX=EA,MX="undefined"==typeof Int32Array?Array:Int32Array,$X=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CX=["_approximateExtent"],IX=function(){function t(t,e){var n;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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;cX(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var d=n[u],c=GA(d)?new sX({name:d}):d instanceof sX?d:new sX(d),h=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=h,c.coordDimIndex=0);var p=c.otherDims=c.otherDims||{};o.push(h),r[h]=c,null!=l[h]&&(s=!0),c.createInvertedIndices&&(a[h]=[]),0===p.itemName&&(this._nameDimIdx=u),0===p.itemId&&(this._idDimIdx=u),i&&(c.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var f=this._dimIdxToName=dD();OA(o,function(t){f.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 n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(HA(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},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 n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof bH&&(i=t),!i){var o=this.dimensions,a=SW(t)||LA(t)?new DW(t,o.length):t;i=new bH;var s=SX(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=dD(),o=[],a=[],s={};OA(t.dimensions,function(e){var n,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var d=l.coordDimIndex;oX(i,u)[d]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=e),oX(s,u)[d]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}cG.each(function(t,e){var n=oX(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)})});var l=[],u={};r.each(function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=EA(l,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=u;var d=i.label;d&&d.length&&(o=d.slice());var c=i.tooltip;return c&&c.length?a=c.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new rX(s,e),n}(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 n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&bX(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==yG&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===hG&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&iP(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[a]&&null!=l&&(i[a]=sP(l,null));var u=s.id;null==r[a]&&null!=u&&(r[a]=sP(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)bX(this,a);gX(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){wX(t)?TA(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=mX(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return yX(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.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 n=this,i=this._store;return FA(t)?i.getValues(SX(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;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 n=t&&this._invertedIndicesMap[t],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){VA(t)&&(n=e,e=t,t=[]);var i=n||this,r=SX(vX(t),this._getStoreDimIndex,this);this._store.each(r,i?BA(e,i):e)},t.prototype.filterSelf=function(t,e,n){VA(t)&&(n=e,e=t,t=[]);var i=n||this,r=SX(vX(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?BA(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={};return OA(RA(t),function(i){var r=e._getStoreDimIndex(i);n[r]=t[i]}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){VA(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=SX(vX(t),this._getStoreDimIndex,this),a=_X(this);return a._store=this._store.map(o,r?BA(e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=SX(vX(t),this._getStoreDimIndex,this);this._store.modify(o,r?BA(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=_X(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=_X(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=_X(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new JF(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new iX(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return yX(t,e)},function(t){return yX(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||{},wX(t)?TA(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(FA(r=this.getVisual(e))?r=r.slice():wX(r)&&(r=TA({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,wX(e)?TA(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){wX(t)?TA(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,n){this._itemLayouts[t]=n?TA(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;OR(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){OA(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:SX(this.dimensions,this._getDimInfo,this),this.hostModel)),xX(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];VA(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(tD(arguments)))})},t.internalField=(gX=function(t){var e=t._invertedIndicesMap;OA(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new MX(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},mX=function(t,e,n){return sP(t._getCategory(e,n),null)},yX=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=mX(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},vX=function(t){return FA(t)||(t=null!=t?[t]:[]),t},_X=function(e){var n=new t(e._schema?e._schema:SX(e.dimensions,e._getDimInfo,e),e.hostModel);return xX(n,e),n},xX=function(t,e){OA($X.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,OA(CX,function(n){t[n]=$A(e[n])}),t._calculationInfo=TA({},e._calculationInfo)},void(bX=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=mX(t,r,e)),null==s&&null!=o&&(i[e]=s=mX(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),i[e]=s}})),t}();function TX(t,e){SW(t)||(t=$W(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=dD(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return OA(e,function(t){var e;jA(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))}),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&fX(a),l=i===t.dimensionsDefine,u=l?pX(t):hX(i),d=e.encodeDefine;!d&&e.encodeDefaulter&&(d=e.encodeDefaulter(t,a));for(var c=dD(d),h=new fH(a),p=0;p<h.length;p++)h[p]=-1;function f(t){var e=h[t];if(e<0){var n=i[t],r=jA(n)?n:{name:n},a=new sX,s=r.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return h[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(p=0;p<a;p++)f(p);c.each(function(t,e){var n=QE(t).slice();if(1===n.length&&!GA(n[0])&&n[0]<0)c.set(e,!1);else{var i=c.set(e,[]);OA(n,function(t,n){var r=GA(t)?u.get(t):t;null!=r&&r<a&&(i[n]=r,y(f(r),e,n))})}});var g=0;function y(t,e,n){null!=cG.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}OA(n,function(t){var e,n,i,r;if(GA(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=TA({},r)).ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=c.get(e);if(!1!==s){if(!(s=QE(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=f(g).coordDim;)g++;g<a&&s.push(g++)}OA(s,function(t,o){var a=f(t);if(l&&null!=r.type&&(a.type=r.type),y(AA(a,r),e,o),null==a.name&&n){var s=n[o];!jA(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}i&&AA(a.otherDims,i)})}});var m=e.generateCoord,v=e.generateCoordCount,x=null!=v;v=m?v||1:0;var _=m||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(s)OA(o,function(t){b(t)}),o.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var w=0;w<a;w++){var S=f(w);null==S.coordDim&&(S.coordDim=AX(_,r,x),S.coordDimIndex=0,(!m||v<=0)&&(S.isExtraCoord=!0),v--),b(S),null!=S.type||IG(t,w)!==_G&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=dD(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new dX({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function AX(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var DX=function(){return function(t){this.coordSysDims=[],this.axisMap=dD(),this.categoryAxisMap=dD(),this.coordSysName=t}}();var kX={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",gP).models[0],o=t.getReferringComponents("yAxis",gP).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),LX(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),LX(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",gP).models[0];e.coordSysDims=["single"],n.set("single",r),LX(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",gP).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),LX(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),LX(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();OA(o.parallelAxisIndex,function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),LX(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))})}};function LX(t){return"category"===t.get("type")}function OX(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!cX(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,d,c,h=!(!t||!t.get("stack"));if(OA(i,function(t,e){GA(t)&&(i[e]=t={name:t}),h&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))}),!u||a||l||(a=!0),u){d="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=u.coordDim,f=u.type,g=0;OA(i,function(t){t.coordDim===p&&g++});var y={name:d,coordDim:p,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),m.storeDimIndex=o.ensureCalculationDimension(d,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(m)):(i.push(y),i.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:d}}function EX(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function PX(t,e){return EX(t,e)?t.getCalculationInfo("stackResultDimension"):e}function NX(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=$W(t)):o=(i=r.getSource()).sourceFormat===hG;var a=function(t){var e=t.get("coordinateSystem"),n=new DX(e),i=kX[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=UG.get(i);return e&&e.coordSysDims&&(n=EA(e.coordSysDims,function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=aX(r)}return n})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=VA(l)?l:l?zA(MG,s,e):null,d=TX(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&OA(t,function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)}),r||null==i||(t[i].otherDims.itemName=0),i}(d.dimensions,n.createInvertedIndices,a),h=o?null:r.getSharedDataStore(d),p=OX(e,{schema:d,store:h}),f=new IX(d,e);f.setCalculationInfo(p);var g=null!=c&&function(t){if(t.sourceFormat===hG){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!FA(nP(e))}}(i)?function(t,e,n,i){return i===c?n:this.defaultDimValueGetter(t,e,n,i)}:null;return f.hasItemOption=!1,f.initData(o?i:h,null,g),f}var RX=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 n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[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}();AP(RX);var BX=0,zX=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++BX}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&EA(i,FX);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!GA(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=dD(this.categories))},t}();function FX(t){return jA(t)&&null!=t.value?t.value:t+""}function VX(t){return"interval"===t.type||"log"===t.type}function GX(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=VE(o/e);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=HX(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),jX(t,0,e),jX(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[DE(Math.ceil(t[0]/a)*a,s),DE(Math.floor(t[1]/a)*a,s)],t),r}function WX(t){var e=Math.pow(10,FE(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,DE(n*e)}function HX(t){return LE(t)+2}function jX(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function UX(t,e){return t>=e[0]&&t<=e[1]}function YX(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function XX(t,e){return t*(e[1]-e[0])+e[0]}var ZX=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new zX({})),FA(i)&&(i=new zX({categories:EA(i,function(t){return jA(t)?t.value:t})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return rA(e,t),e.prototype.parse=function(t){return null==t?NaN:GA(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return UX(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return YX(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(XX(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[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),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},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}(RX);RX.registerClass(ZX);var qX=DE,KX=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 rA(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return UX(t,this._extent)},e.prototype.normalize=function(t){return YX(t,this._extent)},e.prototype.scale=function(t){return XX(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[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=HX(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:qX(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=qX(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:qX(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var d=qX(a.value+(s+1)*u);d>i[0]&&d<i[1]&&l.push(d),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=LE(t.value)||0:"auto"===n&&(n=this._intervalPrecision),FV(qX(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=GX(i,t,e,n);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 n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=qX(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=qX(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(RX);RX.registerClass(KX);var JX="undefined"!=typeof Float32Array,QX=JX?Float32Array:Array;function tZ(t){return FA(t)?JX?new Float32Array(t):t:new QX(t)}var eZ="__ec_stack_";function nZ(t){return t.get("stack")||eZ+t.seriesIndex}function iZ(t){return t.dim+t.index}function rZ(t,e){var n=[];return e.eachSeriesByType(t,function(t){uZ(t)&&n.push(t)}),n}function oZ(t){var e=function(t){var e={};OA(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort(function(t,e){return t-e});for(var o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return OA(t,function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),d=Math.abs(u[1]-u[0]);i=s?l/d*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var h=AE(t.get("barWidth"),i),p=AE(t.get("barMaxWidth"),i),f=AE(t.get("barMinWidth")||(dZ(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:h,barMaxWidth:p,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:iZ(r),stackId:nZ(t)})}),aZ(n)}function aZ(t){var e={};OA(t,function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=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 d=t.barMinWidth;d&&(a[s].minWidth=d);var c=t.barGap;null!=c&&(o.gap=c);var h=t.barCategoryGap;null!=h&&(o.categoryGap=h)});var n={};return OA(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=RA(i).length;o=Math.max(35-4*a,15)+"%"}var s=AE(o,r),l=AE(t.gap,1),u=t.remainedWidth,d=t.autoWidthCount,c=(u-s)/(d+(d-1)*l);c=Math.max(c,0),OA(i,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,d--}else{var i=c;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==c&&(t.width=i,u-=i+l*i,d--)}}),c=(u-s)/(d+(d-1)*l),c=Math.max(c,0);var h,p=0;OA(i,function(t,e){t.width||(t.width=c),h=t,p+=t.width*(1+l)}),h&&(p-=h.width*l);var f=-p/2;OA(i,function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)})}),n}function sZ(t,e){var n=rZ(t,e),i=oZ(n);OA(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=nZ(t),o=i[iZ(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function lZ(t){return{seriesType:t,plan:ej(),reset:function(t){if(uZ(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),d=EX(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),h=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),p=dZ(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&tZ(3*r),u=p&&s&&tZ(3*r),v=p&&tZ(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(d?g:o,i),M=b.get(a,i),$=h,C=void 0;d&&(C=+S-b.get(o,i));var I=void 0,T=void 0,A=void 0,D=void 0;if(c){var k=n.dataToPoint([S,M]);if(d)$=n.dataToPoint([C,M])[0];I=$,T=k[1]+m,A=k[0]-$,D=y,Math.abs(A)<f&&(A=(A<0?-1:1)*f)}else{k=n.dataToPoint([M,S]);if(d)$=n.dataToPoint([M,C])[1];I=k[0]+m,T=$,A=y,D=k[1]-$,Math.abs(D)<f&&(D=(D<=0?-1:1)*f)}p?(l[w]=I,l[w+1]=T,l[w+2]=c?A:D,u&&(u[w]=c?x.x:I,u[w+1]=c?T:x.y,u[w+2]=_),v[i]=i):e.setItemLayout(i,{x:I,y:T,width:A,height:D}),w+=3}p&&e.setLayout({largePoints:l,largeDataIndices:v,largeBackgroundPoints:u,valueAxisHorizontal:c})}}}}}}function uZ(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function dZ(t){return t.pipelineContext&&t.pipelineContext.large}var cZ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return rA(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return SV(t.value,mV[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(bV(this._minLevelUnit))]||mV.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(GA(n))o=n;else if(VA(n))o=n(t.value,e,{level:t.level});else{var a=TA({},gV);if(t.level>0)for(var s=0;s<vV.length;++s)a[vV[s]]="{primary|"+a[vV[s]]+"}";var l=n?!1===n.inherit?n:AA(n,a):a,u=MV(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=xV.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(FA(o)){var d=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[d=Math.min(d,o.length-1)]}}return SV(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=xV,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,d=l[r]();u<n&&u<=i[1];)s.push({value:u}),d+=t,l[o](d),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,o){var a=[],l=!r.length;if(!function(t,e,n,i){var r=zE(e),o=zE(n),a=function(t){return $V(r,t,i)===$V(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},d=function(){return u()&&a("hour")},c=function(){return d()&&a("minute")},h=function(){return c()&&a("second")},p=function(){return h()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return d();case"minute":return c();case"second":return h();case"millisecond":return p()}}(bV(t),i[0],i[1],n)){l&&(r=[{value:vZ(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var d=r[u].value,c=r[u+1].value;if(d!==c){var h=void 0,p=void 0,f=void 0,g=!1;switch(t){case"year":h=Math.max(1,Math.round(e/pV/365)),p=CV(n),f=OV(n);break;case"half-year":case"quarter":case"month":h=fZ(e),p=IV(n),f=EV(n);break;case"week":case"half-week":case"day":h=pZ(e),p=TV(n),f=PV(n),g=!0;break;case"half-day":case"quarter-day":case"hour":h=gZ(e),p=AV(n),f=NV(n);break;case"minute":h=yZ(e,!0),p=DV(n),f=RV(n);break;case"second":h=yZ(e,!1),p=kV(n),f=BV(n);break;case"millisecond":h=mZ(e),p=LV(n),f=zV(n)}s(h,d,c,p,f,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],d=[],c=0,h=0,p=0;p<o.length&&a++<r;++p){var f=bV(o[p]);if(wV(o[p]))if(l(o[p],u[u.length-1]||[],d),f!==(o[p+1]?bV(o[p+1]):null)){if(d.length){h=c,d.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<d.length;++y){var m=d[y].value;0!==y&&d[y-1].value===m||(g.push(d[y]),m>=i[0]&&m<=i[1]&&c++)}var v=(i[1]-i[0])/e;if(c>1.5*v&&h>v/1.5)break;if(u.push(g),c>v||t===o[p])break}d=[]}}var x=NA(EA(u,function(t){return NA(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),_=[],b=x.length-1;for(p=0;p<x.length;++p)for(var w=x[p],S=0;S<w.length;++S)_.push({value:w[S].value,level:b-p});_.sort(function(t,e){return t.value-e.value});var M=[];for(p=0;p<_.length;++p)0!==p&&_[p].value===_[p-1].value||M.push(_[p]);return M}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(r)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=pV,e[1]+=pV),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-pV}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=hZ.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(hZ,this._approxInterval,0,o),o-1);this._interval=hZ[a][1],this._minLevelUnit=hZ[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return HA(t)?t:+zE(t)},e.prototype.contain=function(t){return UX(this.parse(t),this._extent)},e.prototype.normalize=function(t){return YX(this.parse(t),this._extent)},e.prototype.scale=function(t){return XX(t,this._extent)},e.type="time",e}(KX),hZ=[["second",dV],["minute",cV],["hour",hV],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",fV/2],["year",fV]];function pZ(t,e){return(t/=pV)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function fZ(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function gZ(t){return(t/=hV)>12?12:t>6?6:t>3.5?4:t>2?2:1}function yZ(t,e){return(t/=e?cV:dV)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function mZ(t){return VE(t)}function vZ(t,e,n){var i=new Date(t);switch(bV(e)){case"year":case"month":i[EV(n)](0);case"day":i[PV(n)](1);case"hour":i[NV(n)](0);case"minute":i[RV(n)](0);case"second":i[BV(n)](0),i[zV(n)](0)}return i.getTime()}RX.registerClass(cZ);var xZ=RX.prototype,_Z=KX.prototype,bZ=DE,wZ=Math.floor,SZ=Math.ceil,MZ=Math.pow,$Z=Math.log,CZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new KX,e._interval=0,e}return rA(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return EA(_Z.getTicks.call(this,t),function(t){var e=t.value,r=DE(MZ(this.base,e));return r=e===n[0]&&this._fixMin?TZ(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?TZ(r,i[1]):r}},this)},e.prototype.setExtent=function(t,e){var n=$Z(this.base);t=$Z(Math.max(0,t))/n,e=$Z(Math.max(0,e))/n,_Z.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=xZ.getExtent.call(this);e[0]=MZ(t,e[0]),e[1]=MZ(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=TZ(e[0],n[0])),this._fixMax&&(e[1]=TZ(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=$Z(t[0])/$Z(e),t[1]=$Z(t[1])/$Z(e),xZ.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,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,FE(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[DE(SZ(e[0]/r)*r),DE(wZ(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){_Z.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 UX(t=$Z(t)/$Z(this.base),this._extent)},e.prototype.normalize=function(t){return YX(t=$Z(t)/$Z(this.base),this._extent)},e.prototype.scale=function(t){return t=XX(t,this._extent),MZ(this.base,t)},e.type="log",e}(RX),IZ=CZ.prototype;function TZ(t,e){return bZ(t,LE(e))}IZ.getMinorTicks=_Z.getMinorTicks,IZ.getLabel=_Z.getLabel,RX.registerClass(CZ);var AZ=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=e.get("min",!0);null==r&&(r=e.get("startValue",!0));var o=this._modelMinRaw=r;VA(o)?this._modelMinNum=OZ(t,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=OZ(t,o));var a=this._modelMaxRaw=e.get("max",!0);if(VA(a)?this._modelMaxNum=OZ(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=OZ(t,a)),i)this._axisDataLen=e.getCategories().length;else{var s=e.get("boundaryGap"),l=FA(s)?s:[s||0,s||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[uE(l[0],1),uE(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==s&&(s=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var d=qA(a)||qA(s)||t&&!i;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,h=this._determinedMax;return null!=c&&(a=c,l=!0),null!=h&&(s=h,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:d}},t.prototype.modifyDataMinMax=function(t,e){this[kZ[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[DZ[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),DZ={min:"_determinedMin",max:"_determinedMax"},kZ={min:"_dataMin",max:"_dataMax"};function LZ(t,e,n){var i=t.rawExtentInfo;return i||(i=new AZ(t,e,n),t.rawExtentInfo=i,i)}function OZ(t,e){return null==e?null:qA(e)?NaN:t.parse(e)}function EZ(t,e){var n=t.type,i=LZ(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=rZ("bar",a),l=!1;if(OA(s,function(t){l=l||t.getBaseAxis()===e.axis}),l){var u=oZ(s),d=function(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=function(t,e){if(t&&e)return t[iZ(e)]}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;OA(a,function(t){s=Math.min(t.offset,s)});var l=-1/0;OA(a,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,d=e-t,c=d/(1-(s+l)/o)-d;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=d.min,o=d.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function PZ(t,e){var n=e,i=EZ(t,n),r=i.extent,o=n.get("splitNumber");t instanceof CZ&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function NZ(t,e){if(e=e||t.get("type"))switch(e){case"category":return new ZX({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new cZ({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(RX.getClass(e)||KX)}}function RZ(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):GA(e)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(e):VA(e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(BZ(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function BZ(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function zZ(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Mk(t.x,t.y,o,a)}function FZ(t){var e=t.get("interval");return null==e?"auto":e}function VZ(t){return"category"===t.type&&0===FZ(t.getLabelModel())}function GZ(t,e){var n={};return OA(t.mapDimensionsAll(e),function(e){n[PX(t,e)]=!0}),RA(n)}var WZ=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function HZ(t,e){return Math.abs(t-e)<1e-8}function jZ(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=jN(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return HZ(r[0],s[0])&&HZ(r[1],s[1])||(i+=jN(r[0],r[1],s[0],s[1],e,n)),0!==i}var UZ=[];function YZ(t,e){for(var n=0;n<t.length;n++)kD(t[n],t[n],e)}function XZ(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(LD(e,e,o),OD(n,n,o))}}var ZZ=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}(),qZ=function(){return function(t,e){this.type="polygon",this.exterior=t,this.interiors=e}}(),KZ=function(){return function(t){this.type="linestring",this.points=t}}(),JZ=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return rA(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=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],d=o*u-l*a;e+=d,n+=(o+l)*d,i+=(a+u)*d,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(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 n=[1/0,1/0],i=[-1/0,-1/0];return OA(this.geometries,function(e){"polygon"===e.type?XZ(e.exterior,n,i,t):OA(e.points,function(e){XZ(e,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Mk(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(jZ(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(jZ(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Mk(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var d=l[u];"polygon"===d.type?(YZ(d.exterior,s),OA(d.interiors,function(t){YZ(t,s)})):OA(d.points,function(t){YZ(t,s)})}(r=this._rect).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 n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(ZZ),QZ=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return rA(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=lk(UZ),r=t;r&&!r.isGeoSVGGraphicRoot;)dk(i,r.getLocalTransform(),i),r=r.parent;return fk(i,i),kD(n,n,i),n},e}(ZZ);function tq(t,e,n){for(var i=0;i<t.length;i++)t[i]=eq(t[i],e[i],n)}function eq(t,e,n){for(var i=[],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),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function nq(t,e){return EA(NA((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),OA(e.features,function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=eq(r,i,n);break;case"Polygon":case"MultiLineString":tq(r,i,n);break;case"MultiPolygon":OA(r,function(t,e){return tq(t,i[e],n)})}}),e.UTF8Encoding=!1,e}(t)).features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new qZ(o[0],o.slice(1)));break;case"MultiPolygon":OA(i.coordinates,function(t){t[0]&&r.push(new qZ(t[0],t.slice(1)))});break;case"LineString":r.push(new KZ([i.coordinates]));break;case"MultiLineString":r.push(new KZ(i.coordinates))}var a=new JZ(n[e||"name"],r,n.cp);return a.properties=n,a})}var iq=cP();function rq(t,e){var n=EA(e,function(e){return t.scale.parse(e)});return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function oq(t){var e=t.getLabelModel().get("customValues");if(e){var n=RZ(t),i=t.scale.getExtent();return{labels:EA(NA(rq(t,e),function(t){return t>=i[0]&&t<=i[1]}),function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}})}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=sq(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=RZ(t);return{labels:EA(e,function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}})}}(t)}function aq(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent();return{ticks:NA(rq(t,n),function(t){return t>=i[0]&&t<=i[1]})}}return"category"===t.type?function(t,e){var n,i,r=lq(t,"ticks"),o=FZ(e),a=uq(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(VA(o))n=hq(t,o,!0);else if("auto"===o){var s=sq(t,t.getLabelModel());i=s.labelCategoryInterval,n=EA(s.labels,function(t){return t.tickValue})}else n=cq(t,i=o,!0);return dq(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:EA(t.scale.getTicks(),function(t){return t.value})}}function sq(t,e){var n,i,r=lq(t,"labels"),o=FZ(e),a=uq(r,o);return a||(VA(o)?n=hq(t,o):(i="auto"===o?function(t){var e=iq(t).autoInterval;return null!=e?e:iq(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=cq(t,i)),dq(r,o,{labels:n,labelCategoryInterval:i}))}function lq(t,e){return iq(t)[e]||(iq(t)[e]=[])}function uq(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function dq(t,e,n){return t.push({key:e,value:n}),n}function cq(t,e,n){var i=RZ(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],d=r.count();0!==u&&l>1&&d/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=VZ(t),h=a.get("showMinLabel")||c,p=a.get("showMaxLabel")||c;h&&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(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function hq(t,e,n){var i=t.scale,r=RZ(t),o=[];return OA(i.getTicks(),function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})}),o}var pq=[0,1],fq=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return OE(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&gq(n=n.slice(),i.count()),TE(t,pq,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&gq(n=n.slice(),i.count());var r=TE(t,n,pq,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=EA(aq(this,e).ticks,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;OA(e,function(t){t.coord-=u/2});var d=t.scale.getExtent();a=1+d[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:d[1]+1},e.push(o)}var c=s[0]>s[1];h(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&h(s[0],e[0].coord)&&e.unshift({coord:s[0]});h(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&h(o.coord,s[1])&&e.push({coord:s[1]});function h(t,e){return t=DE(t),e=DE(e),c?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),EA(this.scale.getMinorTicks(t),function(t){return EA(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return oq(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(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(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()}}(t),n=RZ(t),i=(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),d=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),h=0,p=0;l<=o[1];l+=s){var f,g,y=oE(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,h=Math.max(h,f,7),p=Math.max(p,g,7)}var m=h/d,v=p/c;isNaN(m)&&(m=1/0),isNaN(v)&&(v=1/0);var x=Math.max(0,Math.floor(Math.min(m,v))),_=iq(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function gq(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var yq=2*Math.PI,mq=RN.CMD,vq=["top","right","bottom","left"];function xq(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function _q(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),d=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%yq<1e-4)return l[0]=d,l[1]=c,u-n;if(o){var h=i;i=GN(r),r=GN(h)}else i=GN(i),r=GN(r);i>r&&(r+=yq);var p=Math.atan2(s,a);if(p<0&&(p+=yq),p>=i&&p<=r||p+yq>=i&&p+yq<=r)return l[0]=d,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,m=n*Math.sin(r)+e,v=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(m-s)*(m-s);return v<x?(l[0]=f,l[1]=g,Math.sqrt(v)):(l[0]=y,l[1]=m,Math.sqrt(x))}function bq(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,d=n-t,c=i-e,h=Math.sqrt(d*d+c*c),p=(l*(d/=h)+u*(c/=h))/h;s&&(p=Math.min(Math.max(p,0),1)),p*=h;var f=a[0]=t+p*d,g=a[1]=e+p*c;return Math.sqrt((f-r)*(f-r)+(g-o)*(g-o))}function wq(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),d=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(d-o)*(d-o))}var Sq=[];function Mq(t,e,n){var i=wq(e.x,e.y,e.width,e.height,t.x,t.y,Sq);return n.set(Sq[0],Sq[1]),i}function $q(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,d=e.data,c=t.x,h=t.y,p=0;p<d.length;){var f=d[p++];1===p&&(s=o=d[p],l=a=d[p+1]);var g=u;switch(f){case mq.M:o=s=d[p++],a=l=d[p++];break;case mq.L:g=bq(o,a,d[p],d[p+1],c,h,Sq,!0),o=d[p++],a=d[p++];break;case mq.C:g=uL(o,a,d[p++],d[p++],d[p++],d[p++],d[p],d[p+1],c,h,Sq),o=d[p++],a=d[p++];break;case mq.Q:g=gL(o,a,d[p++],d[p++],d[p],d[p+1],c,h,Sq),o=d[p++],a=d[p++];break;case mq.A:var y=d[p++],m=d[p++],v=d[p++],x=d[p++],_=d[p++],b=d[p++];p+=1;var w=!!(1-d[p++]);i=Math.cos(_)*v+y,r=Math.sin(_)*x+m,p<=1&&(s=i,l=r),g=_q(y,m,x,_,_+b,w,(c-y)*x/v+y,h,Sq),o=Math.cos(_+b)*v+y,a=Math.sin(_+b)*x+m;break;case mq.R:g=wq(s=o=d[p++],l=a=d[p++],d[p++],d[p++],c,h,Sq);break;case mq.Z:g=bq(o,a,s,l,c,h,Sq,!0),o=s,a=l}g<u&&(u=g,n.set(Sq[0],Sq[1]))}return u}var Cq=new gk,Iq=new gk,Tq=new gk,Aq=new gk,Dq=new gk;function kq(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||vq,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,d=t.getComputedTransform(),c=d&&fk([],d),h=e.get("length2")||0;u&&Tq.copy(u);for(var p=0;p<a.length;p++){xq(a[p],0,s,Cq,Aq),gk.scaleAndAdd(Iq,Cq,Aq,h),Iq.transform(c);var f=t.getBoundingRect(),g=u?u.distance(Iq):t instanceof rR?$q(Iq,t.path,Tq):Mq(Iq,f,Tq);g<l&&(l=g,Iq.transform(d),Tq.transform(d),Tq.toArray(o[0]),Iq.toArray(o[1]),Cq.toArray(o[2]))}Eq(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var Lq=[],Oq=new gk;function Eq(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Cq.fromArray(t[0]),Iq.fromArray(t[1]),Tq.fromArray(t[2]),gk.sub(Aq,Cq,Iq),gk.sub(Dq,Tq,Iq);var n=Aq.len(),i=Dq.len();if(!(n<.001||i<.001)){Aq.scale(1/n),Dq.scale(1/i);var r=Aq.dot(Dq);if(Math.cos(e)<r){var o=bq(Iq.x,Iq.y,Tq.x,Tq.y,Cq.x,Cq.y,Lq,!1);Oq.fromArray(Lq),Oq.scaleAndAdd(Dq,o/Math.tan(Math.PI-e));var a=Tq.x!==Iq.x?(Oq.x-Iq.x)/(Tq.x-Iq.x):(Oq.y-Iq.y)/(Tq.y-Iq.y);if(isNaN(a))return;a<0?gk.copy(Oq,Iq):a>1&&gk.copy(Oq,Tq),Oq.toArray(t[1])}}}}function Pq(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Cq.fromArray(t[0]),Iq.fromArray(t[1]),Tq.fromArray(t[2]),gk.sub(Aq,Iq,Cq),gk.sub(Dq,Tq,Iq);var i=Aq.len(),r=Dq.len();if(!(i<.001||r<.001))if(Aq.scale(1/i),Dq.scale(1/r),Aq.dot(e)<Math.cos(n)){var o=bq(Iq.x,Iq.y,Tq.x,Tq.y,Cq.x,Cq.y,Lq,!1);Oq.fromArray(Lq);var a=Math.PI/2,s=a+Math.acos(Dq.dot(e))-n;if(s>=a)gk.copy(Oq,Tq);else{Oq.scaleAndAdd(Dq,o/Math.tan(Math.PI/2-s));var l=Tq.x!==Iq.x?(Oq.x-Iq.x)/(Tq.x-Iq.x):(Oq.y-Iq.y)/(Tq.y-Iq.y);if(isNaN(l))return;l<0?gk.copy(Oq,Iq):l>1&&gk.copy(Oq,Tq)}Oq.toArray(t[1])}}}function Nq(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Rq(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=TD(i[0],i[1]),o=TD(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=DD([],i[1],i[0],a/r),l=DD([],i[1],i[2],a/o),u=DD([],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],i[2][0],i[2][1])}else for(var d=1;d<i.length;d++)t.lineTo(i[d][0],i[d][1])}function Bq(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<zR.length;l++){var u=zR[l],d=e[u],c="normal"===u;if(d){var h=d.get("show");if((c?s:JA(r.states[u]&&r.states[u].ignore,s))||!JA(h,a)){var p=c?i:i&&i.states[u];p&&(p.ignore=!0),i&&Nq(i,!0,u,d);continue}i||(i=new bz,t.setTextGuideLine(i),c||!s&&a||Nq(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),Nq(i,!1,u,d)}}if(i){AA(i.style,n),i.style.fill=null;var f=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=f||!1,i.buildPath=Rq}}else i&&t.removeTextGuideLine()}function zq(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<BR.length;i++){var r=BR[i];n[r]=t.getModel([r,e])}return n}function Fq(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.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 d=s?new zz(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:d,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function Vq(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort(function(t,n){return t.rect[e]-n.rect[e]});for(var s,l=0,u=!1,d=0;d<a;d++){var c=t[d],h=c.rect;(s=h[e]-l)<0&&(h[e]-=s,c.label[e]-=s,u=!0),l=h[e]+h[n]}var p,f,g=t[0],y=t[a-1];return m(),p<0&&_(-p,.8),f<0&&_(f,.8),m(),v(p,f,1),v(f,p,-1),m(),p<0&&b(-p),f<0&&b(f),u}function m(){p=g.rect[e]-i,f=r-y.rect[e]-y.rect[n]}function v(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){x(i*n,0,a);var r=i+t;r<0&&_(-r*n,1)}else _(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function _(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,d=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(d),s+=d}if(s){var c=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){x(o[l]*c,0,l+1)}else for(l=a-1;l>0;l--){x(-(o[l-1]*c),l,a)}}}function b(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}function Gq(t,e,n,i){return Vq(t,"y","height",e,n)}function Wq(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new Mk(0,0,0,0);function i(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,d=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var c=o.obb,h=!1,p=0;p<e.length;p++){var f=e[p];if(n.intersect(f.rect)){if(a&&f.axisAligned){h=!0;break}if(f.obb||(f.obb=new zz(f.localRect,f.transform)),c||(c=new zz(s,l)),c.intersect(f.obb)){h=!0;break}}}h?(i(u),d&&i(d)):(u.attr("ignore",o.defaultAttr.ignore),d&&d.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function Hq(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function jq(t,e){var n=t.label,i=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:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:Hq(i&&i.shape.points)}}var Uq=["align","verticalAlign","width","height","fontSize"],Yq=new QO,Xq=cP(),Zq=cP();function qq(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var Kq=["x","y","rotation"],Jq=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Mk.applyTransform(l,l,s),s?Yq.setLocalTransform(s):(Yq.x=Yq.y=Yq.rotation=Yq.originX=Yq.originY=0,Yq.scaleX=Yq.scaleY=1),Yq.rotation=GN(Yq.rotation);var u,d=i.__hostTarget;if(d){u=d.getBoundingRect().plain();var c=d.getComputedTransform();Mk.applyTransform(u,u,c)}var h=u&&d.getTextGuideLine();this._labelList.push({label:i,labelLine:h,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:h&&h.ignore,x:Yq.x,y:Yq.y,scaleX:Yq.scaleX,scaleY:Yq.scaleY,rotation:Yq.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(VA(i)||RA(i).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=LR(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)})},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){kq(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=VA(o.layoutOption)?o.layoutOption(jq(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var d=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*d:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(null!=u.x?(a.x=AE(u.x,e),a.setStyle("x",0),c=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=AE(u.y,n),a.setStyle("y",0),c=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),c=!1)}Xq(a).needsUpdateLabelLine=c,a.rotation=null!=u.rotate?u.rotate*d:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var p=0;p<Uq.length;p++){var f=Uq[p];a.setStyle(f,null!=u[f]?u[f]:l.style[f])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=Fq(this._labelList),r=NA(i,function(t){return"shiftX"===t.layoutOption.moveOverlap}),o=NA(i,function(t){return"shiftY"===t.layoutOption.moveOverlap});Vq(r,"x","width",0,e),Gq(o,0,n),Wq(NA(i,function(t){return t.layoutOption.hideOverlap}))},t.prototype.processLabelsOverall=function(){var t=this;OA(this._chartViewList,function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=Xq(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=LR(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var d=a.getModel("labelLine");Bq(t,zq(a),s),kq(t,d)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Yz(t))){var r=(p=Xq(n)).oldLayout,o=LR(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(r){n.attr(r);var u=t.prevStates;u&&(DA(u,"select")>=0&&n.attr(p.oldLayoutSelect),DA(u,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),jz(n,s,e,a)}else if(n.attr(s),!RF(n).valueAnimation){var d=JA(n.style.opacity,1);n.style.opacity=0,Uz(n,{style:{opacity:d}},e,a)}if(p.oldLayout=s,n.states.select){var c=p.oldLayoutSelect={};qq(c,s,Kq),qq(c,n.states.select,Kq)}if(n.states.emphasis){var h=p.oldLayoutEmphasis={};qq(h,s,Kq),qq(h,n.states.emphasis,Kq)}zF(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(p=Zq(i)).oldLayout;var p,f={points:i.shape.points};r?(i.attr({shape:r}),jz(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,Uz(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}(),Qq=cP();var tK=Math.sin,eK=Math.cos,nK=Math.PI,iK=2*Math.PI,rK=180/nK,oK=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,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,d=Math.abs(l),c=XL(d-iK)||(u?l>=iK:-l>=iK),h=l>0?l%iK:l%iK+iK,p=!1;p=!!c||!XL(d)&&h>=nK==!!u;var f=t+n*eK(o),g=e+i*tK(o);this._start&&this._add("M",f,g);var y=Math.round(r*rK);if(c){var m=1/this._p,v=(u?1:-1)*(iK-m);this._add("A",n,i,y,1,+u,t+n*eK(o+v),e+i*tK(o+v)),m>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*eK(a),_=e+i*tK(a);this._add("A",n,i,y,+p,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],d=this._p,c=1;c<arguments.length;c++){var h=arguments[c];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*d)/d)}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}(),aK="none",sK=Math.round;var lK=["lineCap","miterLimit","lineJoin"],uK=EA(lK,function(t){return"stroke-"+t.toLowerCase()});function dK(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof uR)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==aK}(e)){var o=UL(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;a<1&&t("fill-opacity",a)}else t("fill",aK);if(function(t){var e=t.stroke;return null!=e&&e!==aK}(e)){var s=UL(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,d=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,c=e.strokeFirst;if(1!==u&&t("stroke-width",u),c&&t("paint-order",c?"stroke":"fill"),d<1&&t("stroke-opacity",d),e.lineDash){var h=SU(n),p=h[0],f=h[1];p&&(f=sK(f||0),t("stroke-dasharray",p.join(",")),(f||i)&&t("stroke-dashoffset",f))}for(var g=0;g<lK.length;g++){var y=lK[g];if(e[y]!==eR[y]){var m=e[y]||eR[y];m&&t(uK[g],m)}}}}}var cK="http://www.w3.org/2000/svg",hK="http://www.w3.org/1999/xlink",pK="ecmeta_";function fK(t){return document.createElementNS(cK,t)}function gK(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function yK(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?UD(a):a||"")+(i?""+n+EA(i,function(e){return t(e)}).join(n)+n:"")+("</"+r+">")}(t)}function mK(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function vK(t,e,n,i){return gK("svg","root",{width:t,height:e,xmlns:cK,"xmlns:xlink":hK,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var xK=0;function _K(){return xK++}var bK={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"},wK="transform-origin";function SK(t,e,n){var i=TA({},t.shape);TA(i,e),t.buildPath(n,i);var r=new oK;return r.reset(rO(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function MK(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[wK]=n+"px "+i+"px")}var $K={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function CK(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function IK(t){return GA(t)?bK[t]?"cubic-bezier("+bK[t]+")":vL(t)?t:"":""}function TK(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof kz){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(OA(o,function(t){var e=mK(n.zrId);e.animation=!0,TK(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=RA(o),u=l.length;if(u){var d=o[r=l[u-1]];for(var c in d){var h=d[c];a[c]=a[c]||{d:""},a[c].d+=h.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}}),i){e.d=!1;var s=CK(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var d=r[u],c=[d.getMaxTime()/1e3+"s"],h=IK(d.getClip().easing),p=d.getDelay();h?c.push(h):c.push("linear"),p&&c.push(p/1e3+"s"),d.getLoop()&&c.push("infinite");var f=c.join(" ");l[f]=l[f]||[f,[]],l[f][1].push(d)}function g(r){var o,a=r[1],s=a.length,l={},u={},d={},c="animation-timing-function";function h(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var d=s[u],h=Math.round(d.time/r*100)+"%",p=IK(d.easing),f=d.rawValue;(GA(f)||HA(f))&&(e[h]=e[h]||{},e[h][l]=d.rawValue,p&&(e[h][c]=p))}}}}for(var p=0;p<s;p++){(S=(w=a[p]).targetName)?"shape"===S&&h(w,u):!i&&h(w,l)}for(var f in l){var g={};eE(g,t),TA(g,l[f]);var y=oO(g),m=l[f][c];d[f]=y?{transform:y}:{},MK(d[f],g),m&&(d[f][c]=m)}var v=!0;for(var f in u){d[f]=d[f]||{};var x=!o;m=u[f][c];x&&(o=new RN);var _=o.len();o.reset(),d[f].d=SK(t,u[f],o);var b=o.len();if(!x&&_!==b){v=!1;break}m&&(d[f][c]=m)}if(!v)for(var f in d)delete d[f].d;if(!i)for(p=0;p<s;p++){var w,S;"style"===(S=(w=a[p]).targetName)&&h(w,d,function(t){return $K[t]})}var M,$=RA(d),C=!0;for(p=1;p<$.length;p++){var I=$[p-1],T=$[p];if(d[I][wK]!==d[T][wK]){C=!1;break}M=d[I][wK]}if(C&&M){for(var f in d)d[f][wK]&&delete d[f][wK];e[wK]=M}if(NA($,function(t){return RA(d[t]).length>0}).length)return CK(d,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var m=n.zrId+"-cls-"+_K();n.cssNodes["."+m]={animation:a.join(",")},e.class=m}}function AK(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+_K(),n.cssStyleCache[r]=o,n.cssNodes["."+o+":hover"]=t),e.class=e.class?e.class+" "+o:o}var DK=Math.round;function kK(t){return t&&GA(t.src)}function LK(t){return t&&VA(t.toDataURL)}function OK(t,e,n,i){dK(function(r,o){var a="fill"===r||"stroke"===r;a&&nO(o)?HK(e,t,r,i):a&&QL(o)?jK(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")},e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var d=i.shadowOffsetX||0,c=i.shadowOffsetY||0,h=i.shadowBlur,p=UL(i.shadowColor),f=p.opacity,g=p.color,y=h/2/l+" "+h/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=gK("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[gK("feDropShadow","",{dx:d/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=iO(a)}}(n,t,i)}function EK(t,e){var n=function(t){if("function"==typeof ME)return ME(t)}(e);n&&(n.each(function(e,n){null!=e&&(t[(pK+n).toLowerCase()]=e+"")}),e.isSilent()&&(t[pK+"silent"]="true"))}function PK(t){return XL(t[0]-1)&&XL(t[1])&&XL(t[2])&&XL(t[3]-1)}function NK(t,e,n){if(e&&(!function(t){return XL(t[4])&&XL(t[5])}(e)||!PK(e))){var i=1e4;t.transform=PK(e)?"translate("+DK(e[4]*i)/i+" "+DK(e[5]*i)/i+")":function(t){return"matrix("+ZL(t[0])+","+ZL(t[1])+","+ZL(t[2])+","+ZL(t[3])+","+qL(t[4])+","+qL(t[5])+")"}(e)}}function RK(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(DK(i[o][0]*n)/n),r.push(DK(i[o][1]*n)/n);e.points=r.join(" ")}function BK(t){return!t.smooth}var zK,FK,VK={circle:[(zK=["cx","cy","r"],FK=EA(zK,function(t){return"string"==typeof t?[t,t]:t}),function(t,e,n){for(var i=0;i<FK.length;i++){var r=FK[i],o=t[r[0]];null!=o&&(e[r[1]]=DK(o*n)/n)}})],polyline:[RK,BK],polygon:[RK,BK]};function GK(t,e){var n=t.style,i=t.shape,r=VK[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&rO(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var d=!t.path||t.shapeChanged();t.path||t.createPathProxy();var c=t.path;d&&(c.beginPath(),t.buildPath(c,t.shape),t.pathUpdated());var h=c.getVersion(),p=t,f=p.__svgPathBuilder;p.__svgPathVersion===h&&f&&l===p.__svgPathStrokePercent||(f||(f=p.__svgPathBuilder=new oK),f.reset(u),c.rebuildPath(f,l),f.generateStr(),p.__svgPathVersion=h,p.__svgPathStrokePercent=l),o.d=f.getStr()}else{s=t.type;var g=Math.pow(10,u);r[0](i,o,g)}return NK(o,t.transform),OK(o,n,t,e),EK(o,t),e.animation&&TK(t,o,e),e.emphasis&&function(t,e,n){if(!t.ignore)if(t.isSilent())AK(u={"pointer-events":"none"},e,n);else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},r=i.fill;if(!r){var o=t.style&&t.style.fill,a=t.states.select&&t.states.select.style&&t.states.select.style.fill,s=t.currentStates.indexOf("select")>=0&&a||o;s&&(r=HL(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),AK(u,e,n)}}(t,o,e),gK(s,t.id+"",o)}function WK(t,e){return t instanceof rR?GK(t,e):t instanceof uR?function(t,e){var n=t.style,i=n.image;if(i&&!GA(i)&&(kK(i)?i=i.src:LK(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),NK(a,t.transform),OK(a,n,t,e),EK(a,t),e.animation&&TK(t,a,e),gK("image",t.id+"",a)}}(t,e):t instanceof aR?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||lA,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,lE(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":KL[n.textAlign]||n.textAlign};if($R(n)){var l="",u=n.fontStyle,d=SR(n.fontSize);if(!parseFloat(d))return;var c=n.fontFamily||sA,h=n.fontWeight;l+="font-size:"+d+";font-family:"+c+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),h&&"normal"!==h&&(l+="font-weight:"+h+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),NK(s,t.transform),OK(s,n,t,e),EK(s,t),e.animation&&TK(t,s,e),gK("text",t.id+"",s,void 0,i)}}(t,e):void 0}function HK(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(tO(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!eO(o))return;r="radialGradient",a.cx=JA(o.x,.5),a.cy=JA(o.y,.5),a.r=JA(o.r,.5)}for(var s=o.colorStops,l=[],u=0,d=s.length;u<d;++u){var c=100*qL(s[u].offset)+"%",h=UL(s[u].color),p=h.color,f=h.opacity,g={offset:c};g["stop-color"]=p,f<1&&(g["stop-opacity"]=f),l.push(gK("stop",u+"",g))}var y=yK(gK(r,"",a,l)),m=i.gradientCache,v=m[y];v||(v=i.zrId+"-g"+i.gradientIdx++,m[y]=v,a.id=v,i.defs[v]=gK(r,v,a,l)),e[n]=iO(v)}function jK(t,e,n,i){var r,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,d="repeat-x"===l,c="repeat-y"===l;if(JL(o)){var h=o.imageWidth,p=o.imageHeight,f=void 0,g=o.image;if(GA(g)?f=g:kK(g)?f=g.src:LK(g)&&(f=g.toDataURL()),"undefined"==typeof Image){var y="Image width/height must been given explictly in svg-ssr renderer.";nD(h,y),nD(p,y)}else if(null==h||null==p){var m=function(t,e){if(t){var n=t.elm,i=h||e.width,r=p||e.height;"pattern"===t.tag&&(d?(r=1,i/=a.width):c&&(i=1,r/=a.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},v=PP(f,null,t,function(t){u||m(w,t),m(r,t)});v&&v.width&&v.height&&(h=h||v.width,p=p||v.height)}r=gK("image","img",{href:f,width:h,height:p}),s.width=h,s.height=p}else o.svgElement&&(r=$A(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var x,_;u?x=_=1:d?(_=1,x=s.width/a.width):c?(x=1,_=s.height/a.height):s.patternUnits="userSpaceOnUse",null==x||isNaN(x)||(s.width=x),null==_||isNaN(_)||(s.height=_);var b=oO(o);b&&(s.patternTransform=b);var w=gK("pattern","",s,[r]),S=yK(w),M=i.patternCache,$=M[S];$||($=i.zrId+"-p"+i.patternIdx++,M[S]=$,s.id=$,w=i.defs[$]=gK("pattern",$,s,[r])),e[n]=iO($)}}function UK(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=o,r[o]=gK("clipPath",o,a,[GK(t,n)])}e["clip-path"]=iO(o)}function YK(t){return document.createTextNode(t)}function XK(t,e,n){t.insertBefore(e,n)}function ZK(t,e){t.removeChild(e)}function qK(t,e){t.appendChild(e)}function KK(t){return t.parentNode}function JK(t){return t.nextSibling}function QK(t,e){t.textContent=e}var tJ=gK("","");function eJ(t){return void 0===t}function nJ(t){return void 0!==t}function iJ(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function rJ(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function oJ(t){var e,n=t.children,i=t.tag;if(nJ(i)){var r=t.elm=fK(i);if(lJ(tJ,t),FA(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&qK(r,oJ(o))}else nJ(t.text)&&!jA(t.text)&&qK(r,YK(t.text))}else t.elm=YK(t.text);return t.elm}function aJ(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&XK(t,oJ(o),e)}}function sJ(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(nJ(r.tag))ZK(KK(r.elm),r.elm);else ZK(t,r.elm)}}function lJ(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):"style"===n?i.style.cssText=a:120!==n.charCodeAt(0)?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS("http://www.w3.org/2000/xmlns/",n,a):58===n.charCodeAt(3)?i.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):58===n.charCodeAt(5)?i.setAttributeNS(hK,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function uJ(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(lJ(t,e),eJ(e.text)?nJ(i)&&nJ(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,l=e.length-1,u=e[0],d=e[l],c=n.length-1,h=n[0],p=n[c];a<=l&&s<=c;)null==u?u=e[++a]:null==d?d=e[--l]:null==h?h=n[++s]:null==p?p=n[--c]:rJ(u,h)?(uJ(u,h),u=e[++a],h=n[++s]):rJ(d,p)?(uJ(d,p),d=e[--l],p=n[--c]):rJ(u,p)?(uJ(u,p),XK(t,u.elm,JK(d.elm)),u=e[++a],p=n[--c]):rJ(d,h)?(uJ(d,h),XK(t,d.elm,u.elm),d=e[--l],h=n[++s]):(eJ(i)&&(i=iJ(e,a,l)),eJ(r=i[h.key])||(o=e[r]).tag!==h.tag?XK(t,oJ(h),u.elm):(uJ(o,h),e[r]=void 0,XK(t,o.elm,u.elm)),h=n[++s]);(a<=l||s<=c)&&(a>l?aJ(t,null==n[c+1]?null:n[c+1].elm,n,s,c):sJ(t,e,a,l))}(n,i,r):nJ(r)?(nJ(t.text)&&QK(n,""),aJ(n,null,r,0,r.length-1)):nJ(i)?sJ(n,i,0,i.length-1):nJ(t.text)&&QK(n,""):t.text!==e.text&&(nJ(i)&&sJ(n,i,0,i.length-1),QK(n,e.text)))}var dJ=0,cJ=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=TA({},n),this.root=t,this._id="zr"+dJ++,this._oldVNode=vK(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=fK("svg");lJ(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.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",function(t,e){if(rJ(t,e))uJ(t,e);else{var n=t.elm,i=KK(n);oJ(e),null!==i&&(XK(i,e.elm,JK(n)),sJ(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return WK(t,mK(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=mK(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=gK("rect","bg",{width:t,height:e,x:"0",y:"0"}),nO(n))HK({fill:n},r.attrs,"fill",i);else if(QL(n))jK({style:{fill:n},dirty:gD,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=UL(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=gK("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=EA(RA(r.defs),function(t){return r.defs[t]});if(l.length&&o.push(gK("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=EA(RA(t),function(e){return e+r+EA(RA(t[e]),function(n){return n+":"+t[e][n]+";"}).join(i)+o}).join(i),s=EA(RA(e),function(t){return"@keyframes "+t+r+EA(RA(e[t]),function(n){return n+r+EA(RA(e[t][n]),function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"}).join(i)+o}).join(i)+o}).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var d=gK("style","stl",{},[],u);o.push(d)}}return vK(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},yK(this.renderToVNode({animation:JA(t.cssAnimation,!0),emphasis:JA(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:JA(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var d=t[u];if(!d.invisible){var c=d.__clipPaths,h=c&&c.length||0,p=r&&r.length||0,f=void 0;for(f=Math.max(h-1,p-1);f>=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=p-1;g>f;g--)i=a[--s-1];for(var y=f+1;y<h;y++){var m={};UK(c[y],m,e);var v=gK("g","clip-g-"+l++,m,[]);(i?i.children:n).push(v),a[s++]=v,i=v}r=c;var x=WK(d,e);x&&(i?i.children:n).push(x)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=wU(i,0,n),e=wU(i,1,n),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"}if(QL(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.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=this.renderToString(),n="data:image/svg+xml;";return t?(e=aO(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();function hJ(t,e,n){var i=dA.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var pJ=function(t){function e(e,n,i){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,i=i||WO,"string"==typeof e?r=hJ(e,n,i):jA(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(pD(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return rA(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=hJ("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,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Mk(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Mk(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,u=0;u<o.length;++u){var d=o[u];if(d.intersect(t)){var c=new Mk(0,0,0,0);c.copy(d),c.union(t),o[u]=c,n=!0;break}if(s){l.copy(t),l.union(d);var h=t.width*t.height,p=d.width*d.height,f=l.width*l.height-h-p;f<i&&(i=f,r=u)}}if(s&&(o[r].union(t),n=!0),!n)(e=new Mk(0,0,0,0)).copy(t),o.push(e);s||(s=o.length>=a)}}for(var d=this.__startIndex;d<this.__endIndex;++d){if(p=t[d]){var c=p.shouldBePainted(n,i,!0,!0);(f=p.__isRendered&&(1&p.__dirty||!c)?p.getPrevPaintRect():null)&&u(f);var h=c&&(1&p.__dirty||!p.__isRendered)?p.getPaintRect():null;h&&u(h)}}for(d=this.__prevStartIndex;d<this.__prevEndIndex;++d){var p,f;c=(p=e[d])&&p.shouldBePainted(n,i,!0,!0);if(p&&(!c||!p.__zr)&&p.__isRendered)(f=p.getPrevPaintRect())&&u(f)}do{r=!1;for(d=0;d<o.length;)if(o[d].isZero())o.splice(d,1);else{for(var g=d+1;g<o.length;)o[d].intersect(o[g])?(r=!0,o[d].union(o[g]),o.splice(g,1)):g++;d++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,d=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/u,a/u));var c=this.domBack;function h(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;if(ZA(e))a=(e.global||e.__width===i&&e.__height===o)&&e.__canvasGradient||_U(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a,e.__width=i,e.__height=o;else null!=e.image&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=DU(r,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}}));r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(c,t,n,i,o),r.restore())}!n||s?h(0,0,o,a):n.length&&OA(n,function(t){h(t.x*u,t.y*u,t.width*u,t.height*u)})},e}(ND),fJ=1e5,gJ=314159,yJ=.01;var mJ=function(){function t(t,e,n,i){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=n=TA({},n||{}),this.dpr=n.devicePixelRatio||WO,this._singleCanvas=r,this.root=t,t.style&&(pD(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var d=new pJ(s,this,this.dpr);d.__builtin__=!0,d.initContext(),a[314159]=d,d.zlevel=gJ,o.push(gJ),this._domRoot=t}else{this._width=wU(t,0,n),this._height=wU(t,1,n);var c=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(c)}}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),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[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,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(fJ)),i||(i=n.ctx).save(),zU(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(fJ)},t.prototype.paintOne=function(t,e){BU(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),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;Hk(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(gJ).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&r.push(l)}for(var u=!0,d=!1,c=function(a){var s,l=r[a],c=l.ctx,p=o&&l.createRepaintRects(t,e,h._width,h._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),m=l.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,m,p);else if(f===l.__startIndex){var v=t[f];v.incremental&&v.notClear&&!n||l.clear(!1,m,p)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var x=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(d=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),g)if(Date.now()-y>15)break}n.prevElClipPaths&&c.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=h.dpr,b=0;b<p.length;++b){var w=p[b];c.save(),c.beginPath(),c.rect(w.x*_,w.y*_,w.width*_,w.height*_),c.clip(),x(w),c.restore()}else c.save(),x(),c.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},h=this,p=0;p<r.length;p++)c(p);return aA.wxa&&OA(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:u,needsRefreshHover:d}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(zU(a,t,r,o),t.setPrevPaintRect(s))}else zU(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=gJ);var n=this._layers[t];return n||((n=new pJ("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?CA(n,this._layerConfig[t],!0):this._layerConfig[t-yJ]&&CA(n,this._layerConfig[t-yJ],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[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||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],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){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var i,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;i!==l&&(i=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?yJ:0),this._needsManuallyCompositing),u.__builtin__||MA("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),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,OA(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?CA(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+yJ)CA(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(DA(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=wU(r,0,i),e=wU(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.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(gJ).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[314159].dom;var e=new pJ("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.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];zU(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();var vJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return rA(e,t),e.prototype.getInitialData=function(t){return NX(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new bE,n=yU("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=yU(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}(UH);function xJ(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=VW(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(VW(t,e,n[a]));return o.join(" ")}}function _J(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!FA(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}var bJ=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return rA(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=yU(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=wJ,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(){sB(this.childAt(0))},e.prototype.downplay=function(){lB(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var d=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,d)}else{(h=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?h.attr(c):jz(h,c,a,n),Kz(h)}if(this._updateCommon(t,n,s,i,r),l){var h=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Uz(h,c,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,d,c,h,p,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,h=i.hoverScale,p=i.cursorStyle,d=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),m=y.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),u=m.get("blurScope"),d=m.get("disabled"),c=AF(y),h=m.getShallow("scale"),p=y.getShallow("cursor")}var v=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(v||0)*Math.PI/180||0);var x=vU(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),p&&f.attr("cursor",p);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof uR){var w=f.style;f.useStyle(TA({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(TA({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var $=r&&r.useNameLabel;TF(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return $?t.getName(e):xJ(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=f.ensureState("emphasis");C.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var I=null==h||!0===h?Math.max(1.1,3/this._sizeY):isFinite(h)&&h>0?+h:1;C.scaleX=this._sizeX*I,C.scaleY=this._sizeY*I,this.setSymbolScale(1),bB(this,l,u,d)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=LR(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Xz(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Xz(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return mU(t.getItemVisual(e,"symbolSize"))},e}(bE);function wJ(t,e){this.parent.drift(t,e)}function SJ(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function MJ(t){return null==t||jA(t)||(t={isIgnore:t}),t||{}}function $J(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:AF(e),cursorStyle:e.get("cursor")}}var CJ=function(){function t(t){this.group=new bE,this._SymbolCtor=t||bJ}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=MJ(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=$J(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add(function(i){var r=u(i);if(SJ(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}}).update(function(d,c){var h=r.getItemGraphicEl(c),p=u(d);if(SJ(t,p,d,e)){var f=t.getItemVisual(d,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==f)n.remove(h),(h=new o(t,d,s,l)).setPosition(p);else{h.updateData(t,d,s,l);var y={x:p[0],y:p[1]};a?h.attr(y):jz(h,y,i)}n.add(h),t.setItemGraphicEl(d,h)}else n.remove(h)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=$J(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=MJ(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(SJ(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){SF(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}();function IJ(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:HA(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),d="x"===s||"radius"===s?1:0,c=EA(t.dimensions,function(t){return e.mapDimension(t)}),h=!1,p=e.getCalculationInfo("stackResultDimension");return EX(e,c[0])&&(h=!0,c[0]=p),EX(e,c[1])&&(h=!0,c[1]=p),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:d,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function TJ(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var AJ=Math.min,DJ=Math.max;function kJ(t,e){return isNaN(t)||isNaN(e)}function LJ(t,e,n,i,r,o,a,s,l){for(var u,d,c,h,p,f,g=n,y=0;y<i;y++){var m=e[2*g],v=e[2*g+1];if(g>=r||g<0)break;if(kJ(m,v)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](m,v),c=m,h=v;else{var x=m-u,_=v-d;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===m&&S===v&&y<i;)y++,g+=o,w=e[2*(b+=o)],S=e[2*b+1],x=(m=e[2*g])-u,_=(v=e[2*g+1])-d;var M=y+1;if(l)for(;kJ(w,S)&&M<i;)M++,w=e[2*(b+=o)],S=e[2*b+1];var $=.5,C=0,I=0,T=void 0,A=void 0;if(M>=i||kJ(w,S))p=m,f=v;else{C=w-u,I=S-d;var D=m-u,k=w-m,L=v-d,O=S-v,E=void 0,P=void 0;if("x"===s){var N=C>0?1:-1;p=m-N*(E=Math.abs(D))*a,f=v,T=m+N*(P=Math.abs(k))*a,A=v}else if("y"===s){var R=I>0?1:-1;p=m,f=v-R*(E=Math.abs(L))*a,T=m,A=v+R*(P=Math.abs(O))*a}else E=Math.sqrt(D*D+L*L),p=m-C*a*(1-($=(P=Math.sqrt(k*k+O*O))/(P+E))),f=v-I*a*(1-$),A=v+I*a*$,T=AJ(T=m+C*a*$,DJ(w,m)),A=AJ(A,DJ(S,v)),T=DJ(T,AJ(w,m)),f=v-(I=(A=DJ(A,AJ(S,v)))-v)*E/P,p=AJ(p=m-(C=T-m)*E/P,DJ(u,m)),f=AJ(f,DJ(d,v)),T=m+(C=m-(p=DJ(p,AJ(u,m))))*P/E,A=v+(I=v-(f=DJ(f,AJ(d,v))))*P/E}t.bezierCurveTo(c,h,p,f,m,v),c=T,h=A}else t.lineTo(m,v)}u=m,d=v,g+=o}return y}var OJ=function(){return function(){this.smooth=0,this.smoothConstraint=!0}}(),EJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new OJ},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&kJ(n[2*r-2],n[2*r-1]);r--);for(;i<r&&kJ(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=LJ(t,n,i,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 n,i,r=this.path.data,o=RN.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=void 0,d=void 0,c=void 0,h=void 0,p=void 0,f=void 0,g=void 0;switch(r[l++]){case o.M:n=r[l++],i=r[l++];break;case o.L:if(u=r[l++],d=r[l++],(g=a?(t-n)/(u-n):(t-i)/(d-i))<=1&&g>=0){var y=a?(d-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=d;break;case o.C:u=r[l++],d=r[l++],c=r[l++],h=r[l++],p=r[l++],f=r[l++];var m=a?aL(n,u,c,p,t,s):aL(i,d,h,f,t,s);if(m>0)for(var v=0;v<m;v++){var x=s[v];if(x<=1&&x>=0){y=a?rL(i,d,h,f,x):rL(n,u,c,p,x);return a?[t,y]:[y,t]}}n=p,i=f}}},e}(rR),PJ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e}(OJ),NJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new PJ},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&kJ(n[2*o-2],n[2*o-1]);o--);for(;r<o&&kJ(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=LJ(t,n,r,o,o,1,e.smooth,a,e.connectNulls);LJ(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(rR);function RJ(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,d=n.get(["lineStyle","width"])||0;a-=d/2,s-=d/2,l+=d,u+=d,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var c=new yR({shape:{x:a,y:s,width:l,height:u}});if(e){var h=t.getBaseAxis(),p=h.isHorizontal(),f=h.inverse;p?(f&&(c.shape.x+=l),c.shape.width=0):(f||(c.shape.y+=u),c.shape.height=0);var g=VA(r)?function(t){r(t,c)}:null;Uz(c,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return c}function BJ(t,e,n){var i=t.getArea(),r=DE(i.r0,1),o=DE(i.r,1),a=new fz({shape:{cx:DE(t.cx,1),cy:DE(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,Uz(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}function zJ(t,e,n,i,r){return t?"polar"===t.type?BJ(t,e,n):"cartesian2d"===t.type?RJ(t,e,n,i,r):null:null}function FJ(t,e){return t.type===e}function VJ(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function GJ(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function WJ(t,e){var n=GJ(t),i=n[0],r=n[1],o=GJ(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function HJ(t){return HA(t)?t:t?.5:0}function jJ(t,e,n,i,r){var o=n.getBaseAxis(),a="x"===o.dim||"radius"===o.dim?0:1,s=[],l=0,u=[],d=[],c=[],h=[];if(r){for(l=0;l<t.length;l+=2){var p=e||t;isNaN(p[l])||isNaN(p[l+1])||h.push(t[l],t[l+1])}t=h}for(l=0;l<t.length-2;l+=2)switch(c[0]=t[l+2],c[1]=t[l+3],d[0]=t[l],d[1]=t[l+1],s.push(d[0],d[1]),i){case"end":u[a]=c[a],u[1-a]=d[1-a],s.push(u[0],u[1]);break;case"middle":var f=(d[a]+c[a])/2,g=[];u[a]=g[a]=f,u[1-a]=d[1-a],g[1-a]=c[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=d[a],u[1-a]=c[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function UJ(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:function(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=PL(e[r]),s=PL(e[o]),l=i-r,u=VL([ML(AL(a[0],s[0],l)),ML(AL(a[1],s[1],l)),ML(AL(a[2],s[2],l)),$L(AL(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function YJ(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*bJ.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return OA(o.getViewLabels(),function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function XJ(t,e){return isNaN(t)||isNaN(e)}function ZJ(t,e){return[t[2*e],t[2*e+1]]}function qJ(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<BR.length;e++)if(t.get([BR[e],"endLabel","show"]))return!0;return!1}function KJ(t,e,n,i){if(FJ(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=qJ(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),d=RJ(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var c=d.shape,h=Math.max(c.width,c.height);u?(c.y-=h,c.height+=2*h):(c.x-=h,c.width+=2*h)}return l&&l(1,d),d}return BJ(e,n,i)}var JJ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.init=function(){var t=new bE,e=new CJ;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=BA(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=t.getModel("lineStyle"),s=t.getModel("areaStyle"),l=o.getLayout("points")||[],u="polar"===i.type,d=this._coordSys,c=this._symbolDraw,h=this._polyline,p=this._polygon,f=this._lineGroup,g=!e.ssr&&t.get("animation"),y=!s.isEmpty(),m=s.get("origin"),v=IJ(i,o,m),x=y&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=tZ(2*i),o=0;o<i;o++){var a=TJ(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(i,o,v),_=t.get("showSymbol"),b=t.get("connectNulls"),w=_&&!u&&YJ(t,o,i),S=this._data;S&&S.eachItemGraphicEl(function(t,e){t.__temp&&(r.remove(t),S.setItemGraphicEl(e,null))}),_||c.remove(),r.add(f);var M,$=!u&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(M=i.getArea()).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 C=function(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=EA(o.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),d=u.length,c=o.outerColors.slice();d&&u[0].coord>u[d-1].coord&&(u.reverse(),c.reverse());var h=UJ(u,"x"===r?n.getWidth():n.getHeight()),p=h.length;if(!p&&d)return u[0].coord<0?c[1]?c[1]:u[d-1].color:c[0]?c[0]:u[0].color;var f=h[0].coord-10,g=h[p-1].coord+10,y=g-f;if(y<.001)return"transparent";OA(h,function(t){t.offset=(t.coord-f)/y}),h.push({offset:p?h[p-1].offset:.5,color:c[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:c[0]||"transparent"});var m=new Oz(0,0,0,0,h,!0);return m[r]=f,m[r+"2"]=g,m}}}(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(h&&d.type===i.type&&$===this._step){y&&!p?p=this._newPolygon(l,x):p&&!y&&(f.remove(p),p=this._polygon=null),u||this._initOrUpdateEndLabel(t,i,YV(C));var I=f.getClipPath();if(I)Uz(I,{shape:KJ(this,i,!1,t).shape},t);else f.setClipPath(KJ(this,i,!0,t));_&&c.updateData(o,{isIgnore:w,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[l[2*t],l[2*t+1]]}}),VJ(this._stackedOnPoints,x)&&VJ(this._points,l)||(g?this._doUpdateAnimation(o,x,i,n,$,m,b):($&&(x&&(x=jJ(x,l,i,$,b)),l=jJ(l,null,i,$,b)),h.setShape({points:l}),p&&p.setShape({points:l,stackedOnPoints:x})))}else _&&c.updateData(o,{isIgnore:w,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[l[2*t],l[2*t+1]]}}),g&&this._initSymbolLabelAnimation(o,i,M),$&&(x&&(x=jJ(x,l,i,$,b)),l=jJ(l,null,i,$,b)),h=this._newPolyline(l),y?p=this._newPolygon(l,x):p&&(f.remove(p),p=this._polygon=null),u||this._initOrUpdateEndLabel(t,i,YV(C)),f.setClipPath(KJ(this,i,!0,t));var T=t.getModel("emphasis"),A=T.get("focus"),D=T.get("blurScope"),k=T.get("disabled");(h.useStyle(AA(a.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),$B(h,t,"lineStyle"),h.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(h.getState("emphasis").style.lineWidth=+h.style.lineWidth+1);LR(h).seriesIndex=t.seriesIndex,bB(h,A,D,k);var L=HJ(t.get("smooth")),O=t.get("smoothMonotone");if(h.setShape({smooth:L,smoothMonotone:O,connectNulls:b}),p){var E=o.getCalculationInfo("stackedOnSeries"),P=0;p.useStyle(AA(s.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),E&&(P=HJ(E.get("smooth"))),p.setShape({smooth:L,stackedOnSmooth:P,smoothMonotone:O,connectNulls:b}),$B(p,t,"areaStyle"),LR(p).seriesIndex=t.seriesIndex,bB(p,A,D,k)}var N=this._changePolyState;o.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=N)}),this._polyline.onHoverStateChange=N,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=l,this._step=$,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,h),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){LR(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=dP(r,i);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 d=t.get("zlevel")||0,c=t.get("z")||0;(s=new bJ(r,o)).x=l,s.y=u,s.setZ(d,c);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=d,h.z=c,h.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else rj.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=dP(r,i);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 rj.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;nB(this._polyline,t),e&&nB(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new EJ({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new NJ({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");VA(l)&&(l=l(null));var u=s.get("animationDelay")||0,d=VA(u)?u(null):u;t.eachItemGraphicEl(function(t,o){var s=t;if(s){var c=[t.x,t.y],h=void 0,p=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(h=g.startAngle,p=g.endAngle,f=-y[1]/180*Math.PI):(h=g.r0,p=g.r,f=y[0])}else{var m=n;i?(h=m.x,p=m.x+m.width,f=t.x):(h=m.y+m.height,p=m.y,f=t.y)}var v=p===h?0:(f-h)/(p-h);a&&(v=1-v);var x=VA(u)?u(o):l*v+d,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(qJ(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 xR({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e=t.length/2;e>0&&XJ(t[2*e-2],t[2*e-1]);e--);return e-1}(a);l>=0&&(TF(o,AF(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?_J(r,n):xJ(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),d=n.hostModel,c=d.get("connectNulls"),h=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,m=e.shape,v=y?g?m.x:m.y+m.height:g?m.x+m.width:m.y,x=(g?p:0)*(y?-1:1),_=(g?0:-p)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?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(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,v,b),S=w.range,M=S[1]-S[0],$=void 0;if(M>=1){if(M>1&&!c){var C=ZJ(u,S[0]);s.attr({x:C[0]+x,y:C[1]+_}),r&&($=d.getRawValue(S[0]))}else{(C=l.getPointOn(v,b))&&s.attr({x:C[0]+x,y:C[1]+_});var I=d.getRawValue(S[0]),T=d.getRawValue(S[1]);r&&($=_P(n,h,I,T,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;C=ZJ(u,A);r&&($=d.getRawValue(A)),s.attr({x:C[0]+x,y:C[1]+_})}if(r){var D=RF(s);"function"==typeof D.setLabelText&&D.setLabelText($)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,d=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),l=[],u=[],d=[],c=[],h=[],p=[],f=[],g=IJ(r,e,a),y=t.getLayout("points")||[],m=e.getLayout("points")||[],v=0;v<s.length;v++){var x=s[v],_=!0,b=void 0,w=void 0;switch(x.cmd){case"=":b=2*x.idx,w=2*x.idx1;var S=y[b],M=y[b+1],$=m[w],C=m[w+1];(isNaN(S)||isNaN(M))&&(S=$,M=C),l.push(S,M),u.push($,C),d.push(n[b],n[b+1]),c.push(i[w],i[w+1]),f.push(e.getRawIndex(x.idx1));break;case"+":var I=x.idx,T=g.dataDimsForPoint,A=r.dataToPoint([e.get(T[0],I),e.get(T[1],I)]);w=2*I,l.push(A[0],A[1]),u.push(m[w],m[w+1]);var D=TJ(g,r,e,I);d.push(D[0],D[1]),c.push(i[w],i[w+1]),f.push(e.getRawIndex(I));break;case"-":_=!1}_&&(h.push(x),p.push(p.length))}p.sort(function(t,e){return f[t]-f[e]});var k=l.length,L=tZ(k),O=tZ(k),E=tZ(k),P=tZ(k),N=[];for(v=0;v<p.length;v++){var R=p[v],B=2*v,z=2*R;L[B]=l[z],L[B+1]=l[z+1],O[B]=u[z],O[B+1]=u[z+1],E[B]=d[z],E[B+1]=d[z+1],P[B]=c[z],P[B+1]=c[z+1],N[v]=h[R]}return{current:L,next:O,stackedOnCurrent:E,stackedOnNext:P,status:N}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),c=d.current,h=d.stackedOnCurrent,p=d.next,f=d.stackedOnNext;if(r&&(h=jJ(d.stackedOnCurrent,d.current,n,r,a),c=jJ(d.current,null,n,r,a),f=jJ(d.stackedOnNext,d.next,n,r,a),p=jJ(d.next,null,n,r,a)),WJ(c,p)>3e3||l&&WJ(h,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=d.current,s.shape.points=c;var g={shape:{points:p}};d.current!==c&&(g.shape.__points=d.next),s.stopAnimation(),jz(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:h}),l.stopAnimation(),jz(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],m=d.status,v=0;v<m.length;v++){if("="===m[v].cmd){var x=t.getItemGraphicEl(m[v].idx1);x&&y.push({el:x,ptIdx:v})}}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<y.length;e++){var n=y[e].el,i=2*y[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(rj);function QJ(t,e){return{seriesType:t,plan:ej(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=EA(i.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");EX(n,a[0])&&(a[0]=l),EX(n,a[1])&&(a[1]=l);var u=n.getStore(),d=n.getDimensionIndex(a[0]),c=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&tZ(n*s),a=[],l=[],h=t.start,p=0;h<t.end;h++){var f=void 0;if(1===s){var g=u.get(d,h);f=i.dataToPoint(g,null,l)}else a[0]=u.get(d,h),a[1]=u.get(c,h),f=i.dataToPoint(a,null,l);o?(r[p++]=f[0],r[p++]=f[1]):e.setItemLayout(h,f.slice())}o&&e.setLayout("points",r)}}}}}}var tQ={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},eQ=function(t){return Math.round(t.length/2)};function nQ(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),d=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(d||1),h=Math.round(a/c);if(isFinite(h)&&h>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/h)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/h));var p=void 0;GA(r)?p=tQ[r]:VA(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/h,p,eQ))}}}}}var iQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.getInitialData=function(t,e){return NX(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)OA(i.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,d=void 0,c=1,h=0;h<i.length;h++){var p=i[h].coord,f=h===i.length-1?i[h-1].tickValue+c:i[h].tickValue;if(f===s){d=p;break}if(f<s)u=p;else if(null!=u&&f>s){d=(p+u)/2;break}1===h&&(c=f-i[0].tickValue)}null==d&&(u?u&&(d=i[i.length-1].coord):d=i[0].coord),o[n]=t.toGlobalCoord(d)}});else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}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}(UH);UH.registerClass(iQ);var rQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.getInitialData=function(){return NX(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,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=eV(iQ.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}(iQ),oQ=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),aQ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new oQ},e.prototype.buildPath=function(t,e){var n=e.cx,i=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,d=e.clockwise,c=2*Math.PI,h=d?u-l<c:l-u<c;h||(l=u-(d?c:-c));var p=Math.cos(l),f=Math.sin(l),g=Math.cos(u),y=Math.sin(u);h?(t.moveTo(p*r+n,f*r+i),t.arc(p*s+n,f*s+i,a,-Math.PI+l,l,!d)):t.moveTo(p*o+n,f*o+i),t.arc(n,i,o,l,u,!d),t.arc(g*s+n,y*s+i,a,u-2*Math.PI,u-Math.PI,!d),0!==r&&t.arc(n,i,r,u,l,d)},e}(rR);function sQ(t,e,n){return e*Math.sin(t)*(n?-1:1)}function lQ(t,e,n){return e*Math.cos(t)*(n?1:-1)}function uQ(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;FA(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:EA(i,function(t){return uE(t,r)})}}var dQ=Math.max,cQ=Math.min;var hQ=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return rA(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");"cartesian2d"!==r&&"polar"!==r||(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},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){SF(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,n,i){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 d=t.isAnimationEnabled()?t:null,c=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);c&&this._enableRealtimeSort(c,a,n);var h=t.get("clip",!0)||c,p=function(t,e){var n=t.getArea&&t.getArea();if(FJ(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),y=t.getModel("backgroundStyle"),m=y.get("borderRadius")||0,v=[],x=this._backgroundEls,_=i&&i.isInitSort,b=i&&"changeAxisOrder"===i.type;function w(t){var e=_Q[l.type](a,t),n=function(t,e,n){var i="polar"===t.type?fz:yR;return new i({shape:IQ(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(y.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",m):n.setShape("cornerRadius",m),v[t]=n,n}a.diff(s).add(function(e){var n=a.getItemModel(e),i=_Q[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&xQ[l.type](i)){var s=!1;h&&(s=pQ[l.type](p,i));var y=fQ[l.type](t,a,e,i,r,d,u.model,!1,f);c&&(y.forceLabelAnimation=!0),wQ(y,a,e,n,i,t,r,"polar"===l.type),_?y.attr({shape:i}):c?gQ(c,d,y,i,e,r,!1,!1):Uz(y,{shape:i},t,e),a.setItemGraphicEl(e,y),o.add(y),y.ignore=s}}).update(function(e,n){var i=a.getItemModel(e),S=_Q[l.type](a,e,i);if(g){var M=void 0;0===x.length?M=w(n):((M=x[n]).useStyle(y.getItemStyle()),"cartesian2d"===l.type?M.setShape("r",m):M.setShape("cornerRadius",m),v[e]=M);var $=_Q[l.type](a,e);jz(M,{shape:IQ(r,$,l)},d,e)}var C=s.getItemGraphicEl(n);if(a.hasValue(e)&&xQ[l.type](S)){var I=!1;if(h&&(I=pQ[l.type](p,S))&&o.remove(C),C?Kz(C):C=fQ[l.type](t,a,e,S,r,d,u.model,!!C,f),c&&(C.forceLabelAnimation=!0),b){var T=C.getTextContent();if(T){var A=RF(T);null!=A.prevValue&&(A.prevValue=A.value)}}else wQ(C,a,e,i,S,t,r,"polar"===l.type);_?C.attr({shape:S}):c?gQ(c,d,C,S,e,r,!0,b):jz(C,{shape:S},t,e,null),a.setItemGraphicEl(e,C),C.ignore=I,o.add(C)}else o.remove(C)}).remove(function(e){var n=s.getItemGraphicEl(e);n&&qz(n,t,e)}).execute();var S=this._backgroundGroup||(this._backgroundGroup=new bE);S.removeAll();for(var M=0;M<v.length;++M)S.add(v[M]);o.add(S),this._backgroundEls=v,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),$Q(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),$Q(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&zJ(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})}),i.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:EA(i,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.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 n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.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,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){qz(e,t,LR(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}(rj),pQ={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=dQ(e.x,t.x),s=cQ(e.x+e.width,r),l=dQ(e.y,t.y),u=cQ(e.y+e.height,o),d=s<a,c=u<l;return e.x=d&&a>r?s:a,e.y=c&&l>o?u:l,e.width=d?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),d||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=cQ(e.r,t.r),o=dQ(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},fQ={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new yR({shape:TA({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?aQ:fz,d=new u({shape:i,z2:1});d.name="item";var c,h,p=bQ(r);if(d.calculateTextPosition=(c=p,h=({isRoundCap:u===aQ}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return dE(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,d=a.r0,p=(u+d)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,m=h?Math.abs(u-d)/2:0,v=Math.cos,x=Math.sin,_=s+u*v(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(d-o)*v(y),b=l+(d-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(d+o)*v(y),b=l+(d+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+p*v(f)+sQ(f,o+m,!1),b=l+p*x(f)+lQ(f,o+m,!1),w="right",S="middle";break;case"insideStartAngle":_=s+p*v(f)+sQ(f,-o+m,!1),b=l+p*x(f)+lQ(f,-o+m,!1),w="left",S="middle";break;case"middle":_=s+p*v(y),b=l+p*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*v(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*v(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+p*v(g)+sQ(g,o+m,!0),b=l+p*x(g)+lQ(g,o+m,!0),w="left",S="middle";break;case"insideEndAngle":_=s+p*v(g)+sQ(g,-o+m,!0),b=l+p*x(g)+lQ(g,-o+m,!0),w="right",S="middle";break;default:return dE(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};d.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?jz:Uz)(d,{shape:g},o)}return d}};function gQ(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?jz:Uz)(n,{shape:l},e,r,null),(a?jz:Uz)(n,{shape:u},e?t.baseAxis.model:null,r)}function yQ(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var mQ=["x","y","width","height"],vQ=["cx","cy","r","startAngle","endAngle"],xQ={cartesian2d:function(t){return!yQ(t,mQ)},polar:function(t){return!yQ(t,vQ)}},_Q={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=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(i,r,o)}(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function bQ(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 wQ(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;TA(u,uQ(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var d=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",d)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var h=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=AF(i);TF(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:xJ(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(HA(i))t.setTextConfig({rotation:i});else if(FA(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var d=1.5*Math.PI-r;"middle"===u&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),t.setTextConfig({rotation:d})}}(t,"outside"===g?h:g,bQ(a),i.get(["label","rotate"]))}BF(f,p,o.getRawValue(n),function(t){return _J(e,t)});var y=i.getModel(["emphasis"]);bB(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),$B(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",OA(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var SQ=function(){return function(){}}(),MQ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new SQ},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(rR);function $Q(t,e,n,i){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 d=new MQ({shape:{points:u},incremental:!!i,silent:!0,z2:0});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,d.useStyle(l.getItemStyle()),e.add(d),n&&n.push(d)}var c=new MQ({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,e.add(c),c.useStyle(r.getVisual("style")),c.style.stroke=null,LR(c).seriesIndex=t.seriesIndex,t.get("silent")||(c.on("mousedown",CQ),c.on("mousemove",CQ)),n&&n.push(c)}var CQ=pj(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,d=0,c=o.length/3;d<c;d++){var h=3*d;if(l[i]=u,l[r]=o[h+2],s[i]=o[h+i],s[r]=o[h+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[d]}return-1}(this,t.offsetX,t.offsetY);LR(this).dataIndex=e>=0?e:null},30,!1);function IQ(t,e,n){if(FJ(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).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}}var TQ=2*Math.PI,AQ=Math.PI/180;function DQ(t,e){return tG(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function kQ(t,e){var n=DQ(t,e),i=t.get("center"),r=t.get("radius");FA(r)||(r=[0,r]);var o,a,s=AE(n.width,e.getWidth()),l=AE(n.height,e.getHeight()),u=Math.min(s,l),d=AE(r[0],u/2),c=AE(r[1],u/2),h=t.coordinateSystem;if(h){var p=h.dataToPoint(i);o=p[0]||0,a=p[1]||0}else FA(i)||(i=[i,i]),o=AE(i[0],s)+n.x,a=AE(i[1],l)+n.y;return{cx:o,cy:a,r0:d,r:c}}function LQ(t,e,n){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),r=DQ(t,n),o=kQ(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,d=-t.get("startAngle")*AQ,c=t.get("endAngle"),h=t.get("padAngle")*AQ;c="auto"===c?d-TQ:-c*AQ;var p=t.get("minAngle")*AQ+h,f=0;e.each(i,function(t){!isNaN(t)&&f++});var g=e.getSum(i),y=Math.PI/(g||f)*2,m=t.get("clockwise"),v=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=m?1:-1,w=[d,c],S=b*h/2;NN(w,!m),d=w[0],c=w[1];var M=OQ(t);M.startAngle=d,M.endAngle=c,M.clockwise=m;var $=Math.abs(c-d),C=$,I=0,T=d;if(e.setLayout({viewRect:r,r:l}),e.each(i,function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:a,cy:s,r0:u,r:v?NaN:l});else{(i="area"!==v?0===g&&x?y:t*y:$/f)<p?(i=p,C-=p):I+=t;var r=T+b*i,o=0,d=0;h>i?d=o=T+b*i/2:(o=T+S,d=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:d,clockwise:m,cx:a,cy:s,r0:u,r:v?TE(t,_,[u,l]):l}),T=r}}),C<TQ&&f)if(C<=.001){var A=$/f;e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=A;var r=0,o=0;A<h?o=r=d+b*(n+.5)*A:(r=d+b*n*A+S,o=d+b*(n+1)*A-S),i.startAngle=r,i.endAngle=o}})}else y=C/I,T=d,e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===p?p:t*y,o=0,a=0;r<h?a=o=T+b*r/2:(o=T+S,a=T+b*r-S),i.startAngle=o,i.endAngle=a,T+=b*r}})})}var OQ=cP();function EQ(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0})}}}}var PQ=Math.PI/180;function NQ(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var d=t.length,c=0;c<d;c++)if("outer"===t[c].position&&"labelLine"===t[c].labelAlignTo){var h=t[c].label.x-u;t[c].linePoints[1][0]+=h,t[c].label.x=u}Gq(t,l,l+a)&&function(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>n?a:o,d=Math.abs(l.label.y-n);if(d>=u.maxY){var c=l.label.x-e-l.len2*r,h=i+l.len,f=Math.abs(c)<h?Math.sqrt(d*d/(1-c*c/h/h)):h;u.rB=f,u.maxY=d}u.list.push(l)}p(o),p(a)}(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-n),d=i+l.len,c=d*d,h=Math.sqrt(Math.abs((1-u*u/a)*c)),p=e+(h+l.len2)*r,f=p-l.label.x;RQ(l,l.targetTextWidth-f*r,!0),l.label.x=p}}}function RQ(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,d=o.width+(a?0:l);if(e<d||n){var c=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var h=i.getBoundingRect();i.setStyle("width",Math.ceil(h.width)),i.setStyle("backgroundColor",a)}else{var p=e-l,f=e<d?p:n?p>t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function BQ(t){return"center"===t.position}function zQ(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*PQ,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,d=s.x,c=s.y,h=s.height;function p(t){t.ignore=!0}i.each(function(t){var s=i.getItemGraphicEl(t),c=s.shape,h=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),m=y.get("position")||g.get(["emphasis","label","position"]),v=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=AE(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=AE(S,u);var M=w.get("length2");if(M=AE(M,u),Math.abs(c.endAngle-c.startAngle)<a)return OA(h.states,p),h.ignore=!0,void(f&&(OA(f.states,p),f.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(h)){var $,C,I,T,A=(c.startAngle+c.endAngle)/2,D=Math.cos(A),k=Math.sin(A);e=c.cx,n=c.cy;var L="inside"===m||"inner"===m;if("center"===m)$=c.cx,C=c.cy,T="center";else{var O=(L?(c.r+c.r0)/2*D:c.r*D)+e,E=(L?(c.r+c.r0)/2*k:c.r*k)+n;if($=O+3*D,C=E+3*k,!L){var P=O+D*(S+l-c.r),N=E+k*(S+l-c.r),R=P+(D<0?-1:1)*M;$="edge"===x?D<0?d+_:d+u-_:R+(D<0?-v:v),C=N,I=[[O,E],[P,N],[R,N]]}T=L?"center":"edge"===x?D>0?"right":"left":D>0?"left":"right"}var B=Math.PI,z=0,F=y.get("rotate");if(HA(F))z=F*(B/180);else if("center"===m)z=0;else if("radial"===F||!0===F){z=D<0?-A+B:-A}else if("tangential"===F&&"outside"!==m&&"outer"!==m){var V=Math.atan2(D,k);V<0&&(V=2*B+V),k>0&&(V=B+V),z=V-B}if(o=!!z,h.x=$,h.y=C,h.rotation=z,h.setStyle({verticalAlign:"middle"}),L){h.setStyle({align:T});var G=h.states.select;G&&(G.x+=h.x,G.y+=h.y)}else{var W=h.getBoundingRect().clone();W.applyTransform(h.getComputedTransform());var H=(h.style.margin||0)+2.1;W.y-=H/2,W.height+=H,r.push({label:h,labelLine:f,position:m,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new gk(D,k),linePoints:I,textAlign:T,labelDistance:v,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:W,unconstrainedWidth:W.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:L})}}),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],d=Number.MAX_VALUE,c=-Number.MAX_VALUE,h=0;h<t.length;h++){var p=t[h].label;BQ(t[h])||(p.x<e?(d=Math.min(d,p.x),l.push(t[h])):(c=Math.max(c,p.x),u.push(t[h])))}for(h=0;h<t.length;h++)if(!BQ(y=t[h])&&y.linePoints){if(null!=y.labelStyleWidth)continue;p=y.label;var f=y.linePoints,g=void 0;g="edge"===y.labelAlignTo?p.x<e?f[2][0]-y.labelDistance-a-y.edgeDistance:a+r-y.edgeDistance-f[2][0]-y.labelDistance:"labelLine"===y.labelAlignTo?p.x<e?d-a-y.bleedMargin:a+r-c-y.bleedMargin:p.x<e?p.x-a-y.bleedMargin:a+r-p.x-y.bleedMargin,y.targetTextWidth=g,RQ(y,g)}for(NQ(u,e,n,i,1,0,o,0,s,c),NQ(l,e,n,i,-1,0,o,0,s,d),h=0;h<t.length;h++){var y;if(!BQ(y=t[h])&&y.linePoints){p=y.label,f=y.linePoints;var m="edge"===y.labelAlignTo,v=p.style.padding,x=v?v[1]+v[3]:0,_=p.style.backgroundColor?0:x,b=y.rect.width+_,w=f[1][0]-f[2][0];m?p.x<e?f[2][0]=a+y.edgeDistance+b+y.labelDistance:f[2][0]=a+r-y.edgeDistance-b-y.labelDistance:(p.x<e?f[2][0]=p.x+y.labelDistance:f[2][0]=p.x-y.labelDistance,f[1][0]=f[2][0]+w),f[1][1]=f[2][1]=p.y}}}(r,e,n,l,u,h,d,c);for(var f=0;f<r.length;f++){var g=r[f],y=g.label,m=g.labelLine,v=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:g.textAlign}),v&&(OA(y.states,p),y.ignore=!0);var x=y.states.select;x&&(x.x+=y.x,x.y+=y.y)}if(m){var _=g.linePoints;v||!_?(OA(m.states,p),m.ignore=!0):(Eq(_,g.minTurnAngle),Pq(_,g.surfaceNormal,g.maxSurfaceAngle),m.setShape({points:_}),y.__hostTarget.textGuideLineConfig={anchor:new gk(_[0][0],_[0][1])})}}}var FQ=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new xR;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return rA(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=TA(uQ(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var d=o.getShallow("animationType");o.ecModel.ssr?(Uz(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===d?(r.shape.r=l.r0,Uz(r,{shape:{r:l.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),Uz(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,jz(r,{shape:{endAngle:l.endAngle}},o,e))}else Kz(r),jz(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),$B(r,a);var c=(l.startAngle+l.endAngle)/2,h=o.get("selectedOffset"),p=Math.cos(c)*h,f=Math.sin(c)*h,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=TA({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},uQ(s.getModel("itemStyle"),l)),TA(r.ensureState("select"),{x:p,y:f,shape:uQ(a.getModel(["select","itemStyle"]),l)}),TA(r.ensureState("blur"),{shape:uQ(a.getModel(["blur","itemStyle"]),l)});var y=r.getTextGuideLine(),m=r.getTextContent();y&&TA(y.ensureState("select"),{x:p,y:f}),TA(m.ensureState("select"),{x:p,y:f}),bB(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;TF(i,AF(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var d=t.get(["label","position"]);if("outside"!==d&&"outer"!==d)i.removeTextGuideLine();else{var c=this.getTextGuideLine();c||(c=new bz,this.setTextGuideLine(c)),Bq(this,zq(r),{stroke:s,opacity:QA(o.get(["lineStyle","opacity"]),l,1)})}},e}(fz),VQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return rA(e,t),e.prototype.render=function(t,e,n,i){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 d=OQ(t),c=new fz({shape:TA(kQ(t,n),d)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add(function(t){var e=new FQ(o,t,r);o.setItemGraphicEl(t,e),s.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)}).remove(function(e){qz(a.getItemGraphicEl(e),t,e)}).execute(),zQ(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(rj);function GQ(t,e,n){e=FA(e)&&{coordDimensions:e}||TA({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=TX(i,e).dimensions,o=new IX(r,t);return o.initData(i,n),o}var WQ=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){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),HQ=cP(),jQ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new WQ(BA(this.getData,this),BA(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return GQ(this,{coordDimensions:["value"],encodeDefaulter:zA($G,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=HQ(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),function(t){o.push(t)}),r=i.seats=function(t,e){var n=PA(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=Math.pow(10,e),r=EA(t,function(t){return(isNaN(t)?0:t)/n*i*100}),o=100*i,a=EA(r,function(t){return Math.floor(t)}),s=PA(a,function(t,e){return t+e},0),l=EA(r,function(t,e){return t-a[e]});s<o;){for(var u=Number.NEGATIVE_INFINITY,d=null,c=0,h=l.length;c<h;++c)l[c]>u&&(u=l[c],d=c);++a[d],l[d]=0,++s}return EA(a,function(t){return t/i})}(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){tP(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.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,endAngle:"auto",padAngle:0,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}(UH);var UQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return rA(e,t),e.prototype.getInitialData=function(t,e){return NX(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,n){return n.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}(UH),YQ=function(){return function(){}}(),XQ=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return rA(e,t),e.prototype.getDefaultShape=function(){return new YQ},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var d=i[n++],c=i[n++];isNaN(d)||isNaN(c)||(u&&!u.contain(d,c)||(a.x=d-r[0]/2,a.y=c-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,d=i[l+1]-a/2;if(t>=u&&e>=d&&t<=u+o&&e<=d+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,d=0;d<n.length;){var c=n[d++],h=n[d++];a=Math.min(c,a),l=Math.max(c,l),s=Math.min(h,s),u=Math.max(h,u)}t=this._rect=new Mk(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(rR),ZQ=function(){function t(){this.group=new bE}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()})},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.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,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new XQ({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=yU(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=LR(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),qQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=QJ("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new ZQ:new CJ,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(rj),KQ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(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}(sG),JQ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",gP).models[0]},e.type="cartesian2dAxis",e}(sG);kA(JQ,WZ);var QQ={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,showMinLine:!0,showMaxLine:!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)"]}}},t0=CA({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},QQ),e0=CA({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}}},QQ);const n0={category:t0,value:e0,time:CA({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},e0),log:AA({logBase:10},e0)};var i0={value:1,category:1,time:1,log:1};function r0(t,e,n,i){OA(i0,function(r,o){var a=CA(CA({},n0[o],!0),i,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return rA(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=nG(this),i=n?rG(t):{};CA(t,e.getTheme().get(o+"Axis")),CA(t,this.getDefaultOption()),t.type=o0(t),n&&iG(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=zX.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=a,n}(n);t.registerComponentModel(s)}),t.registerSubTypeDefaulter(e+"Axis",o0)}function o0(t){return t.type||(t.data?"category":"value")}var a0=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 EA(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),NA(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}(),s0=["x","y"];function l0(t){return"interval"===t.type||"time"===t.type}var u0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=s0,e}return rA(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(l0(t)&&l0(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,d=r[0]-n[0]*l,c=r[1]-i[0]*u,h=this._transform=[l,0,0,u,d,c];this._invTransform=fk([],h)}}},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"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.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 n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Mk(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return kD(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(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 n=[];if(this._invTransform)return kD(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Mk(i,r,o,a)},e}(a0),d0=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return rA(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}(fq);function c0(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,d=i.getRect(),c=[d.x,d.x+d.width,d.y,d.y+d.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[h.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[h[l]]:c[0],"x"===u?f[h[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[h[s]]-f[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),KA(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function h0(t){return"cartesian2d"===t.get("coordinateSystem")}function p0(t){var e={xAxisModel:null,yAxisModel:null};return OA(e,function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,gP).models[0];e[i]=o}),e}var f0=Math.log;function g0(t,e,n){var i=KX.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=EZ(t,e),u=l.extent,d=l.fixMin,c=l.fixMax;if("log"===t.type){var h=f0(t.base);u=[f0(u[0])/h,f0(u[1])/h]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:d,fixMax:c});var p=i.getExtent.call(t);d&&(u[0]=p[0]),c&&(u[1]=p[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(d&&c)f=(y-g)/a;else if(d)for(y=u[0]+f*a;y<u[1]&&isFinite(y)&&isFinite(u[1]);)f=WX(f),y=u[0]+f*a;else if(c)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=WX(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=WX(f));var m=f*a;(g=DE((y=Math.ceil(u[1]/f)*f)-m))<0&&u[0]>=0?(g=0,y=DE(m)):y>0&&u[1]<=0&&(y=0,g=-DE(m))}var v=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*v,y+f*x),i.setInterval.call(t,f),(v||x)&&i.setNiceExtent.call(t,g+f,y-f)}var y0=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=s0,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=RA(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;VX(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(PZ(l,s),VX(l)&&(e=a))}r.length&&(e||PZ((e=r.pop()).scale,e.model),OA(r,function(t){g0(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};OA(n.x,function(t){v0(n,"y",t,r)}),OA(n.y,function(t){v0(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=tG(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){OA(a,function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)})}s(),r&&(OA(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof ZX?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=RZ(t),u=1;r>40&&(u=Math.ceil(r/40));for(var d=0;d<r;d+=u){var c=l(i?i[d]:{value:o[0]+d},d),h=zZ(s.getTextRect(c),s.get("rotate")||0);a?a.union(h):a=h}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}}),s()),OA(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}jA(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",gP).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",gP).models[0],a=t.gridModel,s=this._coordsList;if(i)DA(s,e=i.coordinateSystem)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(m0(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new d0(e,NZ(n),[0,0],n.get("type"),l),d="category"===u.type;u.onBand=d&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,OA(a.x,function(e,n){OA(a.y,function(r,o){var a="x"+n+"y"+o,s=new u0(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){OA(GZ(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}OA(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(h0(t)){var i=p0(t),r=i.xAxisModel,o=i.yAxisModel;if(!m0(r,e)||!m0(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return OA(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);DA(e,r)<0&&e.push(r),DA(n,o)<0&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if(h0(t)){var e=p0(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=s0,t}();function m0(t,e){return t.getCoordSysModel()===e}function v0(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)x0(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&x0(o[u])&&!i[d(o[u])]){r=o[u];break}r&&(i[d(r)]=!0)}function d(t){return t.dim+"_"+t.index}}function x0(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var _0=Math.PI,b0=function(){function t(t,e){this.group=new bE,this.opt=e,this.axisModel=t,AA(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new bE({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!w0[t]},t.prototype.add=function(t){w0[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=NE(e-t);return RE(o)?(r=n>0?"top":"bottom",i="center"):RE(o-_0)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<_0?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,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}(),w0={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(kD(s,s,a),kD(l,l,a));var d=TA({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Mz({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:d,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});uF(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var h=e.get(["axisLine","symbol"]);if(null!=h){var p=e.get(["axisLine","symbolSize"]);GA(h)&&(h=[h,h]),(GA(p)||HA(p))&&(p=[p,p]);var f=vU(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],y=p[1];OA([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(e,i){if("none"!==h[i]&&null!=h[i]){var r=yU(h[i],-g/2,-y/2,g,y,d.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=C0(r.getTicksCoords(),e.transform,l,AA(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;d<u.length;d++)t.add(u[d]);return u}(n,i,e,t),o=function(t,e,n,i){var r=n.axis,o=KA(i.axisLabelShow,n.get(["axisLabel","show"]));if(!o||r.scale.isBlank())return;var a=n.getModel("axisLabel"),s=a.get("margin"),l=r.getViewLabels(),u=(KA(i.labelRotate,a.get("rotate"))||0)*_0/180,d=b0.innerTextLayout(i.rotation,u,i.labelDirection),c=n.getCategories&&n.getCategories(!0),h=[],p=b0.isLabelSilent(n),f=n.get("triggerEvent");return OA(l,function(o,u){var g="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,y=o.formattedLabel,m=o.rawLabel,v=a;if(c&&c[g]){var x=c[g];jA(x)&&x.textStyle&&(v=new JF(x.textStyle,a,n.ecModel))}var _=v.getTextColor()||n.get(["axisLine","lineStyle","color"]),b=r.dataToCoord(g),w=v.getShallow("align",!0)||d.textAlign,S=JA(v.getShallow("alignMinLabel",!0),w),M=JA(v.getShallow("alignMaxLabel",!0),w),$=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||d.textVerticalAlign,C=JA(v.getShallow("verticalAlignMinLabel",!0),$),I=JA(v.getShallow("verticalAlignMaxLabel",!0),$),T=new xR({x:b,y:i.labelOffset+i.labelDirection*s,rotation:d.rotation,silent:p,z2:10+(o.level||0),style:DF(v,{text:y,align:0===u?S:u===l.length-1?M:w,verticalAlign:0===u?C:u===l.length-1?I:$,fill:VA(_)?_("category"===r.type?m:"value"===r.type?g+"":g,u):_})});if(T.anid="label_"+g,bF({el:T,componentModel:n,itemName:y,formatterParamsExtra:{isTruncated:function(){return T.isTruncated},value:m,tickIndex:u}}),f){var A=b0.makeAxisEventDataBase(n);A.targetType="axisLabel",A.value=m,A.tickIndex=u,"category"===r.type&&(A.dataIndex=g),LR(T).eventData=A}e.add(T),T.updateTransform(),h.push(T),t.add(T),T.decomposeTransform()}),h}(n,i,e,t);(function(t,e,n){if(VZ(t.axis))return;var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],d=n[1],c=n[n.length-1],h=n[n.length-2];!1===i?(S0(o),S0(u)):M0(o,a)&&(i?(S0(a),S0(d)):(S0(o),S0(u)));!1===r?(S0(s),S0(c)):M0(l,s)&&(r?(S0(l),S0(h)):(S0(s),S0(c)))}(e,o,r),function(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var a=r.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=i*o.get("length"),u=AA(s.getLineStyle(),AA(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),d=0;d<a.length;d++)for(var c=C0(a[d],e.transform,l,u,"minorticks_"+d),h=0;h<c.length;h++)t.add(c[h])}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&Wq(Fq(EA(o,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})))},axisName:function(t,e,n,i){var r=KA(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,c=e.axis.getExtent(),h=c[0]>c[1]?-1:1,p=["start"===s?c[0]-h*d:"end"===s?c[1]+h*d:(c[0]+c[1])/2,$0(s)?t.labelOffset+l*d:0],f=e.get("nameRotate");null!=f&&(f=f*_0/180),$0(s)?o=b0.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=NE(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;RE(a-_0/2)?(o=l?"bottom":"top",r="center"):RE(a-1.5*_0)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*_0&&a>_0/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},m=y.ellipsis,v=KA(t.nameTruncateMaxWidth,y.maxWidth,a),x=new xR({x:p[0],y:p[1],rotation:o.rotation,silent:b0.isLabelSilent(e),style:DF(u,{text:r,font:g,overflow:"truncate",width:v,ellipsis:m,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(bF({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=b0.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,LR(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function S0(t){t&&(t.ignore=!0)}function M0(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=lk([]);return hk(r,r,-t.rotation),n.applyTransform(dk([],r,t.getLocalTransform())),i.applyTransform(dk([],r,e.getLocalTransform())),n.intersect(i)}}function $0(t){return"middle"===t||"center"===t}function C0(t,e,n,i,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]=n,e&&(kD(a,a,e),kD(s,s,e));var d=new Mz({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});uF(d.shape,d.style.lineWidth),d.anid=r+"_"+t[l].tickValue,o.push(d)}return o}function I0(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];OA(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var s=k0(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",i);if(OA(n.getAxes(),zA(p,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var d="axis"===u.get("trigger"),c="cross"===u.get(["axisPointer","type"]),h=n.getTooltipAxes(u.get(["axisPointer","axis"]));(d||c)&&OA(h.baseAxes,zA(p,!c||"cross",d)),c&&OA(h.otherAxes,zA(p,"cross",!1))}}function p(i,s,d){var c=d.model.getModel("axisPointer",r),h=c.get("show");if(h&&("auto"!==h||i||D0(c))){null==s&&(s=c.get("triggerTooltip")),c=i?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};OA(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){s[t]=$A(a.get(t))}),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var d=s.lineStyle=a.get("crossStyle");d&&AA(l,d.textStyle)}}return t.model.getModel("axisPointer",new JF(s,n,i))}(d,u,r,e,i,s):c;var p=c.get("snap"),f=c.get("triggerEmphasis"),g=k0(d.model),y=s||p||"category"===d.type,m=t.axesInfo[g]={key:g,axis:d,coordSys:n,axisPointerModel:c,triggerTooltip:s,triggerEmphasis:f,involveSeries:y,snap:p,useHandle:D0(c),seriesModels:[],linkGroup:null};l[g]=m,t.seriesInvolved=t.seriesInvolved||y;var v=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(T0(o[i+"AxisId"],n.id)||T0(o[i+"AxisIndex"],n.componentIndex)||T0(o[i+"AxisName"],n.name))return r}}(o,d);if(null!=v){var x=a[v]||(a[v]={axesInfo:{}});x.axesInfo[g]=m,x.mapper=o[v].mapper,m.linkGroup=x}}}})}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&OA(t.coordSysAxesInfo[k0(n.model)],function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})})}(n,t),n}function T0(t,e){return"all"===t||FA(t)&&DA(t,e)>=0||t===e}function A0(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[k0(t)]}function D0(t){return!!t.get(["handle","show"])}function k0(t){return t.type+"||"+t.id}var L0={},O0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=A0(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=D0(n);null==o&&(r.status=s?"show":"hide");var l=i.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")}}(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=A0(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){L0[t]=e},e.getAxisPointerClass=function(t){return t&&L0[t]},e.type="axis",e}(tj),E0=cP();function P0(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var d=s.length,c=E0(t).splitAreaColors,h=dD(),p=0;if(c)for(var f=0;f<u.length;f++){var g=c.get(u[f].tickValue);if(null!=g){p=(g+(d-1)*f)%d;break}}var y=r.toGlobalCoord(u[0].coord),m=a.getAreaStyle();s=FA(s)?s:[s];for(f=1;f<u.length;f++){var v=r.toGlobalCoord(u[f].coord),x=void 0,_=void 0,b=void 0,w=void 0;r.isHorizontal()?(x=y,_=l.y,b=v-x,w=l.height,y=x+b):(x=l.x,_=y,b=l.width,y=_+(w=v-_));var S=u[f-1].tickValue;null!=S&&h.set(S,p),e.add(new yR({anid:null!=S?"area_"+S:null,shape:{x:x,y:_,width:b,height:w},style:AA({fill:s[p]},m),autoBatch:!0,silent:!0})),p=(p+1)%d}E0(t).splitAreaColors=h}}}function N0(t){E0(t).splitAreaColors=null}var R0=["axisLine","axisTickLabel","axisName"],B0=["splitArea","splitLine","minorSplitLine"],z0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return rA(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new bE,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=c0(a,e),l=new b0(e,TA({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(VX(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));OA(R0,l.add,l),this._axisGroup.add(l.getGroup()),OA(B0,function(t){e.get([t,"show"])&&F0[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||gF(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){N0(this)},e.type="cartesianAxis",e}(O0),F0={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),l=!1!==o.get("showMinLine"),u=!1!==o.get("showMaxLine");s=FA(s)?s:[s];for(var d=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],y=a.getLineStyle(),m=0;m<p.length;m++){var v=r.toGlobalCoord(p[m].coord);if((0!==m||l)&&(m!==p.length-1||u)){var x=p[m].tickValue;c?(f[0]=v,f[1]=d.y,g[0]=v,g[1]=d.y+d.height):(f[0]=d.x,f[1]=v,g[0]=d.x+d.width,g[1]=v);var _=h++%s.length,b=new Mz({anid:null!=x?"line_"+x:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},style:AA({stroke:s[_]},y),silent:!0});uF(b.shape,y.lineWidth),e.add(b)}}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],d=[],c=o.getLineStyle(),h=0;h<l.length;h++)for(var p=0;p<l[h].length;p++){var f=r.toGlobalCoord(l[h][p].coord);s?(u[0]=f,u[1]=a.y,d[0]=f,d[1]=a.y+a.height):(u[0]=a.x,u[1]=f,d[0]=a.x+a.width,d[1]=f);var g=new Mz({anid:"minor_line_"+l[h][p].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:d[0],y2:d[1]},style:c,silent:!0});uF(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){P0(t,e,n,i)}},V0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="xAxis",e}(z0),G0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=V0.type,e}return rA(e,t),e.type="yAxis",e}(z0),W0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return rA(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new yR({shape:t.coordinateSystem.getRect(),style:AA({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(tj),H0={offset:0};function j0(t){t.registerComponentView(W0),t.registerComponentModel(KQ),t.registerCoordinateSystem("cartesian2d",y0),r0(t,"x",JQ,H0),r0(t,"y",JQ,H0),t.registerComponentView(V0),t.registerComponentView(G0),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function U0(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();OA(r,function(t,o){e.each(e.mapDimension(r[o].dim),function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=Y0(r)?r:X0(i)})}),e.each(function(t){var r=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}(n[t],function(t){return Y0(t)})||X0(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])})}})}function Y0(t){return!isNaN(t[0])&&!isNaN(t[1])}function X0(t){return[t.cx,t.cy]}function Z0(t){var e=t.polar;if(e){FA(e)||(e=[e]);var n=[];OA(e,function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],FA(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)}),t.polar=n}OA(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}var q0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=this._data;function s(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=mU(t.getItemVisual(e,"symbolSize")),r=yU(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function l(e,n,i,r,o,a){i.removeAll();for(var l=0;l<n.length-1;l++){var u=s(r,o);u&&(u.__dimIdx=l,e[l]?(u.setPosition(e[l]),MF[a?"initProps":"updateProps"](u,{x:n[l][0],y:n[l][1]},t,o)):u.setPosition(n[l]),i.add(u))}}function u(t){return EA(t,function(t){return[i.cx,i.cy]})}o.diff(a).add(function(e){var n=o.getItemLayout(e);if(n){var i=new xz,r=new bz,a={shape:{points:n}};i.shape.points=u(n),r.shape.points=u(n),Uz(i,a,t,e),Uz(r,a,t,e);var s=new bE,d=new bE;s.add(r),s.add(i),s.add(d),l(r.shape.points,n,d,o,e,!0),o.setItemGraphicEl(e,s)}}).update(function(e,n){var i=a.getItemGraphicEl(n),r=i.childAt(0),s=i.childAt(1),u=i.childAt(2),d={shape:{points:o.getItemLayout(e)}};d.shape.points&&(l(r.shape.points,d.shape.points,u,o,e,!1),Kz(s),Kz(r),jz(r,d,t),jz(s,d,t),o.setItemGraphicEl(e,i))}).remove(function(t){r.remove(a.getItemGraphicEl(t))}).execute(),o.eachItemGraphicEl(function(t,e){var n=o.getItemModel(e),i=t.childAt(0),a=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;r.add(t),i.useStyle(AA(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),$B(i,n,"lineStyle"),$B(a,n,"areaStyle");var d=n.getModel("areaStyle"),c=d.isEmpty()&&d.parentModel.isEmpty();a.ignore=c,OA(["emphasis","select","blur"],function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();a.ensureState(t).ignore=i&&c}),a.useStyle(AA(d.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var h=n.getModel("emphasis"),p=h.getModel("itemStyle").getItemStyle();s.eachChild(function(t){if(t instanceof uR){var i=t.style;t.useStyle(TA({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=$A(p);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),TF(t,AF(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})}),bB(t,h.get("focus"),h.get("blurScope"),h.get("disabled"))}),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(rj),K0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return rA(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new WQ(BA(this.getData,this),BA(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return GQ(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=zH(this,t);return DH("section",{header:a,sortBlocks:!0,blocks:EA(r,function(e){var n=i.get(i.mapDimension(e.dim),t);return DH("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})})})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(EA(n.dimensions,function(t){return e.mapDimension(t)}),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[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}(UH),J0=n0.value;function Q0(t,e){return AA({show:e},t)}var t1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),d=this.get("triggerEvent"),c=EA(this.get("indicator")||[],function(c){null!=c.max&&c.max>0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var h=a;null!=c.color&&(h=AA({color:c.color},a));var p=CA($A(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:d},!1);if(GA(l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else VA(l)&&(p.name=l(p.name,p));var g=new JF(p,null,this.ecModel);return kA(g,WZ.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g},this);this._indicatorModels=c},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:CA({lineStyle:{color:"#bbb"}},J0.axisLine),axisLabel:Q0(J0.axisLabel,!1),axisTick:Q0(J0.axisTick,!1),splitLine:Q0(J0.splitLine,!0),splitArea:Q0(J0.splitArea,!0),indicator:[]},e}(sG),e1=["axisLine","axisTickLabel","axisName"],n1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;OA(EA(e.getIndicatorAxes(),function(t){var n=t.model.get("showName")?t.name:"";return new b0(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(t){OA(e1,t.add,t),this.group.add(t.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),d=a.get("color"),c=s.get("color"),h=FA(d)?d:[d],p=FA(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),m=e.cx,v=e.cy,x=0;x<y.length;x++){if(l)f[I(f,h,x)].push(new KB({shape:{cx:m,cy:v,r:y[x].coord}}));if(u&&x<y.length-1)g[I(g,p,x)].push(new yz({shape:{cx:m,cy:v,r0:y[x].coord,r:y[x+1].coord}}))}else{var _,b=EA(n,function(t,n){var i=t.getTicksCoords();return _=null==_?i.length-1:Math.min(i.length-1,_),EA(i,function(t){return e.coordToPoint(t.coord,n)})}),w=[];for(x=0;x<=_;x++){for(var S=[],M=0;M<n.length;M++)S.push(b[M][x]);if(S[0]&&S.push(S[0].slice()),l)f[I(f,h,x)].push(new bz({shape:{points:S}}));if(u&&w)g[I(g,p,x-1)].push(new xz({shape:{points:S.concat(w)}}));w=S.slice().reverse()}}var $=a.getLineStyle(),C=s.getAreaStyle();OA(g,function(t,e){this.group.add(sF(t,{style:AA({stroke:"none",fill:p[e%p.length]},C),silent:!0}))},this),OA(f,function(t,e){this.group.add(sF(t,{style:AA({fill:"none",stroke:h[e%h.length]},$),silent:!0}))},this)}function I(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(tj),i1=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return rA(e,t),e}(fq),r1=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=EA(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new i1(n,new KX);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],d=Math.abs(o-u.angle);d<a&&(r=u,s=l,a=d)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=AE(n[0],i),this.cy=AE(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(GA(a)||HA(a))&&(a=[0,a]),this.r0=AE(a[0],o),this.r=AE(a[1],o),OA(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n},this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;OA(n,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"))===i){var o=e.getData();OA(n,function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))})}},this);var r=i.get("splitNumber"),o=new KX;o.setExtent(0,r),o.setInterval(1),OA(n,function(t,e){g0(t.scale,t.model,o)})},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o}),e.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},t.dimensions=[],t}();function o1(t){t.registerCoordinateSystem("radar",r1),t.registerComponentModel(t1),t.registerComponentView(n1),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each(function(t){e.setItemVisual(t,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}var a1="\0_ec_interaction_mutex";function s1(t,e){return!!l1(t)[e]}function l1(t){return t[a1]||(t[a1]={})}jY({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},gD);var u1=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=BA(n._mousedownHandler,n),r=BA(n._mousemoveHandler,n),o=BA(n._mouseupHandler,n),a=BA(n._mousewheelHandler,n),s=BA(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=AA($A(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return rA(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(!ik(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&h1("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!s1(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&nk(t.event),c1(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){ik(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=h1("zoomOnMouseWheel",t,this._opt),n=h1("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;d1(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);d1(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){s1(this._zr,"globalPan")||d1(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(ND);function d1(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(nk(i.event),c1(t,e,n,i,r))}function c1(t,e,n,i,r){r.isAvailableBehavior=BA(h1,null,n,i),t.trigger(e,r)}function h1(t,e,n){var i=n[t];return!t||i&&(!GA(i)||e.event[i+"Key"])}function p1(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function f1(t,e,n,i){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-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var g1,y1={axisPointer:1,tooltip:1,brush:1};function m1(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!y1.hasOwnProperty(i.mainType)&&r&&r.model!==n}function v1(t){GA(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var x1={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"},_1=RA(x1),b1={"alignment-baseline":"textBaseline","stop-color":"stopColor"},w1=RA(b1),S1=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=v1(t);this._defsUsePending=[];var i=new bE;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),A1(n,i,null,!0,!1);for(var l,u,d=n.firstChild;d;)this._parseNode(d,i,r,null,!1,!1),d=d.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var c=O1(o);c.length>=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=B1(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var h=i;(i=new bE).add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new yR({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=g1[s];if(u&&fD(g1,s)){a=u.call(this,t,e);var d=t.getAttribute("name");if(d){var c={name:d,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var h=M1[s];if(h&&fD(M1,s)){var p=h.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new aR({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});I1(e,n),A1(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(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)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(g1={g:function(t,e){var n=new bE;return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new yR;return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},circle:function(t,e){var n=new KB;return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Mz;return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},ellipse:function(t,e){var n=new QB;return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=T1(i));var r=new xz({shape:{points:n||[]},silent:!0});return I1(e,r),A1(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=T1(i));var r=new bz({shape:{points:n||[]},silent:!0});return I1(e,r),A1(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new uR;return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n.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")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new bE;return I1(e,a),A1(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new bE;return I1(e,a),A1(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=XB(t.getAttribute("d")||"");return I1(e,n),A1(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),M1={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Oz(e,n,i,r);return $1(t,o),C1(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Ez(e,n,i);return $1(t,r),C1(t,r),r}};function $1(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function C1(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};R1(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function I1(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),AA(e.__inheritedStyle,t.__inheritedStyle))}function T1(t){for(var e=O1(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function A1(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(E1,function(t,e,n){return i.push(e,n),""});for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=O1(a);switch(r=r||sk(),s){case"translate":ck(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":pk(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":hk(r,r,-parseFloat(l[0])*P1,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":dk(r,[1,0,Math.tan(parseFloat(l[0])*P1),1,0,0],r);break;case"skewY":dk(r,[1,Math.tan(parseFloat(l[0])*P1),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])}}e.setLocalTransform(r)}}(t,e),R1(t,a,s),i||function(t,e,n){for(var i=0;i<_1.length;i++){var r=_1[i];null!=(o=t.getAttribute(r))&&(e[x1[r]]=o)}for(i=0;i<w1.length;i++){var o;r=w1[i];null!=(o=t.getAttribute(r))&&(n[b1[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=k1(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=k1(o,"stroke",a.stroke,n)),OA(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))}),OA(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(t){null!=a[t]&&(o.style[t]=a[t])}),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=EA(O1(a.lineDash),function(t){return parseFloat(t)})),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var D1=/^url\(\s*#(.*?)\)/;function k1(t,e,n,i){var r=n&&n.match(D1);if(!r)return"none"===n&&(n=null),n;var o=iD(r[1]);i.push([t,e,o])}var L1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function O1(t){return t.match(L1)||[]}var E1=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,P1=Math.PI/180;var N1=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R1(t,e,n){var i,r=t.getAttribute("style");if(r)for(N1.lastIndex=0;null!=(i=N1.exec(r));){var o=i[1],a=fD(x1,o)?x1[o]:null;a&&(e[a]=i[2]);var s=fD(b1,o)?b1[o]:null;s&&(n[s]=i[2])}}function B1(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);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)}}var z1=dD(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),F1=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=dD(),this._freedGraphics=[],this._mapName=t,this._parsedXML=v1(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=function(t){var e=[],n=dD();return OA(t,function(t){if(null==t.namedFrom){var i=new QZ(t.name,t.el);e.push(i),n.set(t.name,i)}}),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{nD(null!=(n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new S1).parse(i,r))||{}).root))}catch(Qb){throw new Error("Invalid svg format\n"+Qb.message)}var o=new bE;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var d=void 0,c=void 0,h=void 0,p=void 0;if(null!=a?(d=0,h=a):l&&(d=l.x,h=l.width),null!=s?(c=0,p=s):l&&(c=l.y,p=l.height),null==d||null==c){var f=n.getBoundingRect();null==d&&(d=f.x,h=f.width),null==c&&(c=f.y,p=f.height)}u=this._boundingRect=new Mk(d,c,h,p)}if(l){var g=B1(l,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}o.setClipPath(new yR({shape:u.plain()}));var y=[];return OA(e.named,function(t){var e;null!=z1.get(t.svgNodeTagLower)&&(y.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1}))}),{root:o,boundingRect:u,named:y}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();for(var V1=[126,25],G1="南海诸岛",W1=[[[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]]],H1=0;H1<W1.length;H1++)for(var j1=0;j1<W1[H1].length;j1++)W1[H1][j1][0]/=10.5,W1[H1][j1][1]/=-14,W1[H1][j1][0]+=V1[0],W1[H1][j1][1]+=V1[1];var U1={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var Y1=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var X1=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=dD(),this._mapName=t,this._specialAreas=n,this._geoJSON=GA(i=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:Z1(i)})}var r=dD(),o=[];return OA(n.regions,function(e){var n=e.name;t&&fD(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)}),{regions:o,boundingRect:n.boundingRect||new Mk(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?nq(i,t):[]}catch(Qb){throw new Error("Invalid geoJson format\n"+Qb.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===G1)return;e.push(new JZ(G1,EA(W1,function(t){return{type:"polygon",exterior:t}}),V1))}}(n,e),OA(e,function(t){var e=t.name;!function(t,e){if("china"===t){var n=U1[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:Y1[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)},this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function Z1(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}var q1=dD();const K1=function(t,e,n){if(e.svg){var i=new F1(t,e.svg);q1.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new X1(t,r,n);q1.set(t,i)}},J1=function(t){return q1.get(t)},Q1=function(t){var e=q1.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},t2=function(t,e,n){var i=q1.get(t);if(i)return i.load(e,n)};var e2=["rect","circle","line","ellipse","polygon","polyline","path"],n2=dD(e2),i2=dD(e2.concat(["g"])),r2=dD(e2.concat(["g"])),o2=cP();function a2(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function s2(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var l2=function(){function t(t){var e=new bE;this.uid=tV("ec_map_draw"),this._controller=new u1(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new bE),e.add(this._svgGroup=new bE)}return t.prototype.draw=function(t,e,n,i,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,d=s.getTransformInfo(),c=d.raw,h=d.roam;!l.childAt(0)||r?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):jz(u,h,t);var p=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=dD(),n=dD(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function d(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function c(t){return{shape:{points:d(t)}}}i.removeAll(),OA(t.geo.regions,function(r){var d=r.name,h=e.get(d),p=n.get(d)||{},f=p.dataIdx,g=p.regionModel;if(!h){h=e.set(d,new bE),i.add(h),f=a?a.indexOfName(d):null;var y=(g=t.isGeo?o.getRegionModel(d):a?a.getItemModel(f):null).get("silent",!0);null!=y&&(h.silent=y),n.set(d,{dataIdx:f,regionModel:g})}var m=[],v=[];OA(r.geometries,function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=f2(e,l)),OA(e,function(t){m.push(new xz(c(t)))})}else{var n=t.points;l&&(n=f2(n,l,!0)),OA(n,function(t){v.push(new bz(c(t)))})}});var x=u(r.getCenter(),s&&s.project);function _(e,n){if(e.length){var i=new kz({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});h.add(i),u2(t,i,f,g),d2(t,i,d,g,o,f,x),n&&(s2(i),OA(i.states,s2))}}_(m),_(v,!0)}),e.each(function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;c2(t,e,i,s,o,a),h2(t,e,i,s,o),p2(t,e,i,s,o)},this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=dD(),r=!1;OA(this._svgGraphicRecord.named,function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,d=o.getRegionModel(n);null!=n2.get(s)&&l instanceof eN&&u2(t,l,u,d),l instanceof eN&&(l.culling=!0);var c=d.get("silent",!0);(null!=c&&(l.silent=c),l.z2EmphasisLift=0,e.namedFrom)||(null!=r2.get(s)&&d2(t,l,n,d,o,u,null),c2(t,l,n,d,o,u),h2(t,l,n,d,o),null!=i2.get(s)&&("self"===p2(t,l,n,d,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))},this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse(function(t){if(!t.isGroup){rB(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 n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=J1(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=J1(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,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",function(t){this._mouseDownFlag=!1,p1(o,t.dx,t.dy),n.dispatchAction(TA(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))},this),r.off("zoom").on("zoom",function(t){this._mouseDownFlag=!1,f1(o,t.scale,t.originX,t.originY),n.dispatchAction(TA(s(),{totalZoom:o.zoom,zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))},this),r.setPointerChecker(function(e,r,o){return i.containPoint([r,o])&&!m1(e,n,t)})},t.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var e=t.getTextContent();e&&(e.ignore=o2(e).ignore)})},t.prototype._updateMapSelectHandler=function(t,e,n,i){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 u2(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=a2(r),u=a2(o),d=a2(s),c=a2(a),h=t.data;if(h){var p=h.getItemVisual(n,"style"),f=h.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),f&&(l.decal=WU(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=d,e.ensureState("blur").style=c,rB(e)}function d2(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),d=s&&s.getItemLayout(o);if(l||u||d&&d.showLabel){var c=l?n:o,h=void 0;(!s||o>=0)&&(h=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;TF(e,AF(i),{labelFetcher:h,labelDataIndex:c,defaultText:n},p);var f=e.getTextContent();if(f&&(o2(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 c2(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):LR(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function h2(t,e,n,i,r){t.data||bF({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function p2(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return bB(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=LR(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function f2(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),OA(t,function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()}),!n&&s.polygonEnd(),r}var g2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new l2(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},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,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new KB({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var u=t.mainSeries.getData(),d=i.getName(n),c=u.indexOfName(d),h=i.getItemModel(n),p=h.getModel("label"),f=u.getItemGraphicEl(c);TF(l,AF(h),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(c,n)}},defaultText:d}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){nB(l,t)}}r.add(l)}}})},e.type="map",e}(rj),y2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return rA(e,t),e.prototype.getInitialData=function(t){for(var e=GQ(this,{coordDimensions:["value"],encodeDefaulter:zA($G,this)}),n=dD(),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,r)}return OA(t2(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,function(t){var r,o=t.name,a=n.get(o),s=t.properties&&t.properties.echartsStyle;null==a?(r={name:o},i.push(r)):r=e.getRawDataItem(a),s&&CA(r,s)}),e.appendData(i),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,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),d=i.mapDimension("value");isNaN(a[l].originalData.get(d,u))||s.push(a[l].name)}return DH("section",{header:s.join(", "),noHeader:!s.length,blocks:[DH("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",n=yU(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},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}(UH);function m2(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),OA(e,function(t,e){for(var n,i,r,o=(n=EA(t,function(t){return t.getData()}),i=t[0].get("mapValueCalculation"),r={},OA(n,function(t){t.each(t.mapDimension("value"),function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)})}),n[0].map(n[0].mapDimension("value"),function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,d=0;d<u;d++)s=Math.min(s,r[o][d]),l=Math.max(l,r[o][d]),a+=r[o][d];return 0===u?NaN:"min"===i?s:"max"===i?l:"average"===i?a/u:a})),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]})}function v2(t){var e={};t.eachSeriesByType("map",function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};OA(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var o=n.getData();o.each(function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)}),e[i]=!0}})}var x2=kD,_2=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new QO,n._rawTransformable=new QO,n.name=e,n}return rA(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Mk(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Mk(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Mk(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[AE(t[0],e.getWidth()),AE(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();return[t.x+t.width/2,t.y+t.height/2]},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,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=kD([],i,t),n=kD([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[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(),uk(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],fk(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new QO;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.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,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?x2(n,t,i):vD(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?x2([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=b2(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=b2(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(QO);function b2(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var w2={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},S2=["lng","lat"],M2=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=S2,r.type="geo",r._nameCoordMap=dD(),r.map=n;var o=i.projection,a=t2(n,i.nameMap,i.nameProperty),s=J1(n);r.resourceType=s?s.type:null;var l,u=r.regions=a.regions,d=w2[s.type];if(r._regionsMap=a.regionsMap,r.regions=a.regions,r.projection=o,o)for(var c=0;c<u.length;c++){var h=u[c].getBoundingRect(o);(l=l||h.clone()).union(h)}else l=a.boundingRect;return r.setBoundingRect(l.x,l.y,l.width,l.height),r.aspectScale=o?1:JA(i.aspectScale,d.aspectScale),r._invertLongitute=!o&&d.invertLongitute,r}return rA(e,t),e.prototype._transformTo=function(t,e,n,i){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 Mk(t,e,n,i));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,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},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,n){if(GA(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},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,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=$2(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=$2(e);return i===this?i.pointToData(n):null},e}(_2);function $2(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",gP).models[0]||{}).coordinateSystem:null}function C2(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var d=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var d=u/100,c=o.project([t+s*d,e+l*d]);LD(i,i,c),OD(r,r,c)}};d(a,s,l,s),d(l,s,l,u),d(l,u,a,u),d(a,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else;}var c,h,p,f=this.getBoundingRect(),g=t.get("layoutCenter"),y=t.get("layoutSize"),m=e.getWidth(),v=e.getHeight(),x=f.width/f.height*this.aspectScale,_=!1;if(g&&y&&(c=[AE(g[0],m),AE(g[1],v)],h=AE(y,Math.min(m,v)),isNaN(c[0])||isNaN(c[1])||isNaN(h)||(_=!0)),_)p={},x>1?(p.width=h,p.height=h/x):(p.height=h,p.width=h*x),p.y=c[1]-p.height/2,p.x=c[0]-p.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,p=tG(b,{width:m,height:v})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}kA(M2,_2);var I2=function(){function t(){this.dimensions=S2}return t.prototype.create=function(t,e){var n=[];function i(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 M2(o+r,o,TA({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=C2,a.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),OA(r,function(t,r){var o=EA(t,function(t){return t.get("nameMap")}),a=new M2(r,r,TA({nameMap:IA(o)},i(t[0])));a.zoomLimit=KA.apply(null,EA(t,function(t){return t.get("scaleLimit")})),n.push(a),a.resize=C2,a.resize(t[0],e),OA(t,function(t){t.coordinateSystem=a,function(t,e){OA(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}(a,t)})}),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=dD(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);return OA(t2(e,n,i).regions,function(t){var e=t.name,n=o.get(e),i=t.properties&&t.properties.echartsStyle;n||(n={name:e},r.push(n)),i&&CA(n,i)}),r},t}(),T2=new I2,A2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(t,e,n){var i=J1(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),tP(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=T2.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=PA(e.regions||[],function(e,i){var r=i.name;return r&&(e.set(r,new JF(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e},dD()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new JF(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return VA(i)?(r.status=e,i(r)):GA(i)?i.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,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[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}(sG);function D2(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function k2(t,e,n,i){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(D2(t,s),i)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var d=(e.originX-t.x)*(a-1),c=(e.originY-t.y)*(a-1);t.x-=d,t.y-=c,t.updateTransform(),t.setCenter(D2(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var L2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return rA(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new l2(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;rU(t.target,function(t){return null!=(e=LR(t).eventData)},!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse(function(t){var e=LR(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.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}(tj);function O2(t,e,n){K1(t,e,n)}function E2(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name),OA(n.coordinateSystem.regions,function(t){i[t.name]=n.isSelected(t.name)||!1});var o=[];OA(i,function(t,e){i[e]&&o.push(e)}),r.push({geoIndex:n.componentIndex,name:o})}),{selected:i,allSelected:r,name:t.name}})}t.registerCoordinateSystem("geo",T2),t.registerComponentModel(A2),t.registerComponentView(L2),t.registerImpl("registerMap",O2),t.registerImpl("getMap",function(t){return Q1(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,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=k2(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&OA(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})})}function P2(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.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=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,d=a.hierNode.modifier,c=s.hierNode.modifier;s=z2(s),o=F2(o),s&&o;){r=z2(r),a=F2(a),r.hierNode.ancestor=t;var h=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);h>0&&(G2(V2(s,t,n),t,h),u+=h,l+=h),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,d+=a.hierNode.modifier}s&&!z2(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!F2(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-d,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function N2(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function R2(t){return arguments.length?t:W2}function B2(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function z2(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function F2(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function V2(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function G2(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function W2(t,e){return t.parentNode===e.parentNode?1:2}var H2=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),j2=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new H2},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)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,d=AE(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*d,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var h=1;h<i-1;h++){var p=n[h];t.moveTo(p[0],p[1]),c[l]=p[l],t.lineTo(c[0],c[1])}},e}(rR),U2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new bE,n}return rA(e,t),e.prototype.init=function(t,e){this._controller=new u1(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(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,n),this._updateController(t,e,n);var a=this._data;i.diff(a).add(function(e){Y2(i,e)&&X2(i,e,null,o,t)}).update(function(e,n){var r=a.getItemGraphicEl(n);Y2(i,e)?X2(i,e,r,o,t):r&&K2(a,n,r,o,t)}).remove(function(e){var n=a.getItemGraphicEl(e);n&&K2(a,e,n,o,t)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl(function(e,i){e.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})})}),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each(function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])});var r=[],o=[];hN(i,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 _2;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,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker(function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!m1(e,n,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){p1(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){f1(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl(function(t,e){t.setSymbolScale(n)})},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},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}(rj);function Y2(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function X2(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",d=t.tree.root,c=a.parentNode===d?a:a.parentNode||a,h=t.getItemGraphicEl(c.dataIndex),p=c.getLayout(),f=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:p,g=a.getLayout();o?((n=new bJ(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=f.x,n.y=f.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,jz(n,{x:g.x,y:g.y},r);var y=n.getSymbolPath();if("radial"===r.get("layout")){var m=d.children[0],v=m.getLayout(),x=m.children.length,_=void 0,b=void 0;if(g.x===v.x&&!0===a.isExpand&&m.children.length){var w={x:(m.children[0].getLayout().x+m.children[x-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[x-1].getLayout().y)/2};(_=Math.atan2(w.y-v.y,w.x-v.x))<0&&(_=2*Math.PI+_),(b=w.x<v.x)&&(_-=Math.PI)}else(_=Math.atan2(g.y-v.y,g.x-v.x))<0&&(_=2*Math.PI+_),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(b=g.x<v.x)&&(_-=Math.PI):(b=g.x>v.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),$=M.get("rotate"),C=$*(Math.PI/180),I=y.getTextContent();I&&(y.setTextConfig({position:M.get("position")||S,rotation:null==$?-_:C,origin:"center"}),I.setStyle("verticalAlign","middle"))}var T=s.get(["emphasis","focus"]),A="relative"===T?cD(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===T?a.getAncestorsIndices():"descendant"===T?a.getDescendantIndices():null;A&&(LR(n).focus=A),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),d=t.get("layout"),c=t.getOrient(),h=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new Tz({shape:J2(d,c,h,r,r)})),jz(g,{shape:J2(d,c,h,o,a)},t));else if("polyline"===u&&"orthogonal"===d&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,m=[],v=0;v<y.length;v++){var x=y[v].getLayout();m.push([x.x,x.y])}g||(g=i.__edge=new j2({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:c,forkPosition:p}})),jz(g,{shape:{parentPoint:[a.x,a.y],childPoints:m}},t)}g&&("polyline"!==u||e.isExpand)&&(g.useStyle(AA({strokeNoScale:!0,fill:null},f)),$B(g,l,"lineStyle"),rB(g),s.add(g))}(r,a,d,n,f,p,g,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&1===i.hoverState||nB(n.__edge,e)}})}function Z2(t,e,n,i,r){var o=q2(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,d=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),c=i.get("edgeShape"),h=i.get("layout"),p=i.get("orient"),f=i.get(["lineStyle","curveness"]);d&&("curve"===c?Xz(d,{shape:J2(h,p,f,s,s),style:{opacity:0}},i,{cb:function(){n.remove(d)},removeOpt:r}):"polyline"===c&&"orthogonal"===i.get("layout")&&Xz(d,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(d)},removeOpt:r}))}}function q2(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function K2(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=q2(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};Xz(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach(function(e){Z2(e,t,i,r,s)}),Z2(o,t,i,r,s)}function J2(t,e,n,i,r){var o,a,s,l,u,d,c,h;if("radial"===t){u=i.rawX,c=i.rawY,d=r.rawX,h=r.rawY;var p=B2(u,c),f=B2(u,c+(h-c)*n),g=B2(d,h+(c-h)*n),y=B2(d,h);return{x1:p.x||0,y1:p.y||0,x2:y.x||0,y2:y.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=i.x,c=i.y,d=r.x,h=r.y,"LR"!==e&&"RL"!==e||(o=u+(d-u)*n,a=c,s=d+(u-d)*n,l=h),"TB"!==e&&"BT"!==e||(o=u,a=c+(h-c)*n,s=d,l=h+(c-h)*n),{x1:u,y1:c,x2:d,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var Q2=cP();function t3(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,a3(e,n,t),OA(n,function(n){OA(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,zA(e3,t))})}),e.wrapMethod("cloneShallow",zA(i3,t)),OA(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,zA(n3,t))}),nD(n[e.dataType]===e)}function e3(t,e){if(Q2(i=this).mainData===i){var n=TA({},Q2(this).datas);n[this.dataType]=e,a3(e,n,t)}else s3(e,this.dataType,Q2(this).mainData,t);var i;return e}function n3(t,e){return t.struct&&t.struct.update(),e}function i3(t,e){return OA(Q2(e).datas,function(n,i){n!==e&&s3(n.cloneShallow(),i,e,t)}),e}function r3(t){var e=Q2(this).mainData;return null==t||null==e?e:Q2(e).datas[t]}function o3(){var t=Q2(this).mainData;return null==t?[{data:t}]:EA(RA(Q2(t).datas),function(e){return{type:e,data:Q2(t).datas[e]}})}function a3(t,e,n){Q2(t).datas={},OA(e,function(e,i){s3(e,i,t,n)})}function s3(t,e,n,i){Q2(n).datas[e]=t,Q2(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=r3,t.getLinkedDataAll=o3}var l3=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,n){VA(t)&&(n=e,e=t,t=null),GA(t=t||{})&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;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))return this.hostTree.data.getItemModel(this.dataIndex).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){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),u3=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},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,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;!function t(e,n){var i=e.value;a=Math.max(a,FA(i)?i.length:1),o.push(e);var s=new l3(sP(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=TX(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new IX(s,n);return l.initData(o),i&&i(l),t3({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();function d3(t,e,n){if(t&&DA(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(GA(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function c3(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function h3(t,e){return DA(c3(t),e)>=0}function p3(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var f3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return rA(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new JF(n,this,this.ecModel),r=u3.createTree(e,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t})});var o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;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<=a}),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,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return DH("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=p3(i,this),n.collapsed=!i.isExpand,n},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}(UH);function g3(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function y3(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=function(t,e){return tG(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=R2(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=n.width,o=n.height,a=R2());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)}(l,P2,a),s.hierNode.modifier=-l.hierNode.prelim,g3(l,N2);var u=l,d=l,c=l;g3(l,function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>d.getLayout().x&&(d=t),t.depth>c.depth&&(c=t)});var h=u===d?1:a(u,d)/2,p=h-u.getLayout().x,f=0,g=0,y=0,m=0;if("radial"===i)f=r/(d.getLayout().x+h+p),g=o/(c.depth-1||1),g3(l,function(t){y=(t.getLayout().x+p)*f,m=(t.depth-1)*g;var e=B2(y,m);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:m},!0)});else{var v=t.getOrient();"RL"===v||"LR"===v?(g=o/(d.getLayout().x+h+p),f=r/(c.depth-1||1),g3(l,function(t){m=(t.getLayout().x+p)*g,y="LR"===v?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:m},!0)})):"TB"!==v&&"BT"!==v||(f=r/(d.getLayout().x+h+p),g=o/(c.depth-1||1),g3(l,function(t){y=(t.getLayout().x+p)*f,m="TB"===v?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:m},!0)}))}}}(t,e)})}function m3(t){t.eachSeriesByType("tree",function(t){var e=t.getData();e.tree.eachNode(function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();TA(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)})})}var v3=["treemapZoomToNode","treemapRender","treemapMove"];function x3(t){var e=t.getData().tree,n={};e.eachNode(function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=NG(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)})}var _3=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return rA(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};b3(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new JF({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=QE(e.get("color")),o=QE(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],OA(t,function(t){var e=new JF(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)});var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=EA(i||[],function(t){return new JF(t,o,e)},this),s=u3.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t})});return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return DH("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=p3(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},TA(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=dD(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},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(){x3(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,scaleLimit:null,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"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},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}(UH);function b3(t){var e=0;OA(t.children,function(t){b3(t);var n=t.value;FA(n)&&(n=n[0]),e+=n});var n=t.value;FA(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),FA(t.value)?t.value[0]=n:t.value=n}var w3=function(){function t(t){this.group=new bE,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),d={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(n,d,l),this._renderContent(t,d,a,s,l,u,i),eG(o,d.pos,d.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=sP(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,d,c,h,p,f,g,y=0,m=e.emptyItemWidth,v=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,d=l.width,c=l.height,h=AE(s.left,d),p=AE(s.top,c),f=AE(s.right,d),g=AE(s.bottom,c),(isNaN(h)||isNaN(parseFloat(s.left)))&&(h=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=d),(isNaN(p)||isNaN(parseFloat(s.top)))&&(p=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=GV(u||0),{width:Math.max(f-h-u[1]-u[3],0),height:Math.max(g-p-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],$=M.node,C=M.width,I=M.text;_>x.width&&(_-=C-m,C=m,I=null);var T=new xz({shape:{points:S3(y,0,C,v,S===b.length-1,0===S)},style:AA(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new xR({style:DF(r,{text:I})}),textConfig:{position:"inside"},z2:1e5,onclick:zA(a,$)});T.disableLabelAnimation=!0,T.getTextContent().ensureState("emphasis").style=DF(o,{text:I}),T.ensureState("emphasis").style=w,bB(T,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(T),M3(T,t,$),y+=C+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function S3(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function M3(t,e,n){LR(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&p3(n,e)}}var $3=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,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,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var C3=bE,I3=yR,T3="label",A3="upperLabel",D3=DP([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),k3=function(t){var e=D3(t);return e.stroke=e.fill=e.lineWidth=null,e},L3=cP(),O3=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return rA(e,t),e.prototype.render=function(t,e,n,i){if(!(DA(e.findComponents({mainType:"series",subType:"treemap",query:i}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=d3(i,["treemapZoomToNode","treemapRootToNode"],t),o=i&&i.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,d=this._giveContainerGroup(a),c=t.get("animation"),h=this._doRender(d,t,u);!c||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?h.renderFinally():this._doAnimation(d,h,t,u),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new C3,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(t,i,r,u){return function(t,e,n,i,r,o,a,s,l,u){if(!a)return;var d=a.getLayout(),c=t.getData(),h=a.getModel();if(c.setItemGraphicEl(a.dataIndex,null),!d||!d.isInView)return;var p=d.width,f=d.height,g=d.borderWidth,y=d.invisible,m=a.getRawIndex(),v=s&&s.getRawIndex(),x=a.viewChildren,_=d.upperHeight,b=x&&x.length,w=h.getModel("itemStyle"),S=h.getModel(["emphasis","itemStyle"]),M=h.getModel(["blur","itemStyle"]),$=h.getModel(["select","itemStyle"]),C=w.get("borderRadius")||0,I=V("nodeGroup",C3);if(!I)return;if(l.add(I),I.x=d.x||0,I.y=d.y||0,I.markRedraw(),L3(I).nodeWidth=p,L3(I).nodeHeight=f,d.isAboveViewRoot)return I;var T=V("background",I3,u,20);T&&N(I,T,b&&d.upperLabelHeight);var A=h.getModel("emphasis"),D=A.get("focus"),k=A.get("blurScope"),L=A.get("disabled"),O="ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():D;if(b)IB(I)&&CB(I,!1),T&&(CB(T,!L),c.setItemGraphicEl(a.dataIndex,T),wB(T,O,k));else{var E=V("content",I3,u,30);E&&R(I,E),T.disableMorphing=!0,T&&IB(T)&&CB(T,!1),CB(I,!L),c.setItemGraphicEl(a.dataIndex,I);var P=h.getShallow("cursor");P&&E.attr("cursor",P),wB(I,O,k)}return I;function N(e,n,i){var r=LR(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:f,r:C}),y)B(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=k3(w);l.fill=s;var u=D3(S);u.fill=S.get("borderColor");var d=D3(M);d.fill=M.get("borderColor");var c=D3($);if(c.fill=$.get("borderColor"),i){var h=p-2*g;z(n,s,o.opacity,{x:g,y:0,width:h,height:_})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=d,n.ensureState("select").style=c,rB(n)}e.add(n)}function R(e,n){var i=LR(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(p-2*g,0),o=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:C}),y)B(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=k3(w);u.fill=l,u.decal=s.decal;var d=D3(S),c=D3(M),h=D3($);z(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=d,n.ensureState("blur").style=c,n.ensureState("select").style=h,rB(n)}e.add(n)}function B(t){!t.invisible&&o.push(t)}function z(e,n,i,r){var o=h.getModel(r?A3:T3),s=sP(h.get("name"),null),l=o.getShallow("show");TF(e,AF(h,r?A3:T3),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var c=u.style,p=eD(c.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-p[1]-p[3],0),n=Math.max((r?r.height:e.shape.height)-p[0]-p[2],0);c.width===t&&c.height===n||u.setStyle({width:t,height:n})},c.truncateMinChar=2,c.lineOverflow="truncate",F(c,r,d);var f=u.getState("emphasis");F(f?f.style:null,r,d)}}function F(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function V(t,i,o,a){var s=null!=v&&n[t][v],l=r[t];return s?(n[t][v]=null,G(l,s)):y||((s=new i)instanceof eN&&(s.z2=function(t,e){return 100*t+e}(o,a)),W(l,s)),e[t][m]=s}function G(t,e){var n=t[m]={};e instanceof C3?(n.oldX=e.x,n.oldY=e.y):n.oldShape=TA({},e.shape)}function W(t,e){var n=t[m]={},o=a.parentNode,s=e instanceof bE;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,d=r.background[o.getRawIndex()];!i&&d&&d.oldShape&&(l=d.oldShape.width,u=d.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}(e,a,s,n,o,l,t,i,r,u)}!function t(e,n,i,r,o){r?(n=e,OA(e,function(t,e){!t.isRemoved()&&s(e,e)})):new iX(n,e,a,a).add(s).update(s).remove(zA(s,null)).execute();function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,d=null!=s?n[s]:null,c=u(l,d,i,o);c&&t(l&&l.viewChildren||[],d&&d.viewChildren||[],c,r,o+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var d,c,h=(c={nodeGroup:[],background:[],content:[]},(d=s)&&OA(d,function(t,e){var n=c[e];OA(t,function(t){t&&(n.push(t),L3(t).willDelete=!0)})}),c);if(this._oldTree=i,this._storage=a,this._controllerHost){var p=this.seriesModel.layoutInfo,f=i.root.getLayout();f.width===p.width&&f.height===p.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:h,renderFinally:function(){OA(h,function(t){OA(t,function(t){t.parent&&t.parent.remove(t)})}),OA(l,function(t){t.invisible=!0,t.dirty()})}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(VA(r)?0:r)||0,s=(VA(o)?null:o)||"cubicOut",l=new $3;OA(e.willDeleteEls,function(t,e){OA(t,function(t,n){if(!t.invisible){var r,o=t.parent,u=L3(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var d=0,c=0;u.willDelete||(d=u.nodeWidth/2,c=u.nodeHeight/2),r="nodeGroup"===e?{x:d,y:c,style:{opacity:0}}:{shape:{x:d,y:c,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}})}),OA(this._storage,function(t,n){OA(t,function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof bE?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=TA({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))})},this),this._state="animating",l.finished(BA(function(){this._state="ready",e.renderFinally()},this)).start()},e.prototype._resetController=function(t){var e=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),e||((e=this._controller=new u1(t.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),e.on("pan",BA(this._onPan,this)),e.on("zoom",BA(this._onZoom,this)));var i=new Mk(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;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Mk(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var d=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),d)}var h=u/l.zoom;l.zoom=u;var p=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];ck(f,f,[-(e-=p.x),-(n-=p.y)]),pk(f,f,[h,h]),ck(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&XV(a,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new w3(this.group))).render(t,e,n.node,function(e){"animating"!==i._state&&(h3(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},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 n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.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;n={node:i,offsetX:o[0],offsetY:o[1]}}},this),n},e.type="treemap",e}(rj);var E3=OA,P3=jA,N3=-1,R3=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=$A(e);this.type=i,this.mappingMethod=n,this._normalizeData=Y3[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(B3(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,OA(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(E3(e,function(t,e){n[t]=e}),!FA(i)){var r=[];jA(i)?E3(i,function(t,e){var i=n[e];r[null!=i?i:N3]=t}):r[-1]=i,i=U3(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):B3(r,!0):(nD("linear"!==n||r.dataExtent),B3(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return BA(this._normalizeData,this)},t.listVisualTypes=function(){return RA(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){jA(t)?OA(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=FA(e)?[]:jA(e)?{}:(r=!0,null);return t.eachVisual(e,function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a}),o},t.retrieveVisuals=function(e){var n,i={};return e&&E3(t.visualHandlers,function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)}),n?i:null},t.prepareVisualTypes=function(t){if(FA(t))t=t.slice();else{if(!P3(t))return[];var e=[];E3(t,function(t,n){e.push(n)}),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,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||GA(s)&&s===t+"")return o;n&&c(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,d=l.close;if(u){if(u[0]===-1/0){if(X3(d[1],t,u[1]))return o}else if(u[1]===1/0){if(X3(d[0],u[0],t))return o}else if(X3(d[0],u[0],t)&&X3(d[1],t,u[1]))return o;n&&c(u[0],o),n&&c(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function c(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:V3("color"),getColorMapper:function(){var t=this.option;return BA("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),G3.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=BL(e,t.parsedVisual,i),r?i:VL(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return VL(BL(t,this.option.parsedVisual),"rgba")},category:G3,piecewise:function(t,e){var n=j3.call(this,e);return null==n&&(n=VL(BL(t,this.option.parsedVisual),"rgba")),n},fixed:W3}},colorHue:z3(function(t,e){return zL(t,e)}),colorSaturation:z3(function(t,e){return zL(t,null,e)}),colorLightness:z3(function(t,e){return zL(t,null,null,e)}),colorAlpha:z3(function(t,e){return FL(t,e)}),decal:{applyVisual:V3("decal"),_normalizedToVisual:{linear:null,category:G3,piecewise:null,fixed:null}},opacity:{applyVisual:V3("opacity"),_normalizedToVisual:H3([0,1])},liftZ:{applyVisual:V3("liftZ"),_normalizedToVisual:{linear:W3,category:W3,piecewise:W3,fixed:W3}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:F3,category:G3,piecewise:function(t,e){var n=j3.call(this,e);return null==n&&(n=F3.call(this,t)),n},fixed:W3}},symbolSize:{applyVisual:V3("symbolSize"),_normalizedToVisual:H3([0,1])}},t}();function B3(t,e){var n=t.visual,i=[];jA(n)?E3(n,function(t){i.push(t)}):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),U3(t,i)}function z3(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:H3([0,1])}}function F3(t){var e=this.option.visual;return e[Math.round(TE(t,[0,1],[0,e.length-1],!0))]||{}}function V3(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function G3(t){var e=this.option.visual;return e[this.option.loop&&t!==N3?t%e.length:t]}function W3(){return this.option.visual[0]}function H3(t){return{linear:function(e){return TE(e,t,this.option.visual,!0)},category:G3,piecewise:function(e,n){var i=j3.call(this,n);return null==i&&(i=TE(e,t,this.option.visual,!0)),i},fixed:W3}}function j3(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[R3.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function U3(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=EA(e,function(t){return PL(t)||[0,0,0,1]})),e}var Y3={linear:function(t){return TE(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=R3.findPieceIndex(t,e,!0);if(null!=n)return TE(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?N3:e},fixed:gD};function X3(t,e,n){return t?e<=n:e<n}var Z3=cP();const q3={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||K3(e,{},t.getViewRoot().getAncestors(),t)}};function K3(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=r.getModel("itemStyle"),u=function(t,e,n){var i=TA({},e),r=n.designatedVisualItemStyle;return OA(["color","colorAlpha","colorSaturation"],function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)}),i}(l,e,i),d=a.ensureUniqueItemVisual(t.dataIndex,"style"),c=l.get("borderColor"),h=l.get("borderColorSaturation");null!=h&&(c=function(t,e){return null!=e?zL(e,null,null,t):null}(h,s=J3(u))),d.stroke=c;var p=t.viewChildren;if(p&&p.length){var f=function(t,e,n,i,r,o){if(!o||!o.length)return;var a=t4(e,"color")||null!=r.color&&"none"!==r.color&&(t4(e,"colorAlpha")||t4(e,"colorSaturation"));if(!a)return;var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var d=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==d&&"id"!==d?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var h=new R3(c);return Z3(h).drColorMappingBy=d,h}(0,r,o,0,u,p);OA(p,function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=TA({},e);if(r){var s=r.type,l="color"===s&&Z3(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);K3(t,o,n,i)}})}else s=J3(u),d.fill=s}}function J3(t){var e=Q3(t,"color");if(e){var n=Q3(t,"colorAlpha"),i=Q3(t,"colorSaturation");return i&&(e=zL(e,null,null,i)),n&&(e=FL(e,n)),e}}function Q3(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function t4(t,e){var n=t.get(e);return FA(n)&&n.length?{name:e,range:n}:null}var e4=Math.max,n4=Math.min,i4=KA,r4=OA,o4=["itemStyle","borderWidth"],a4=["itemStyle","gapWidth"],s4=["upperLabel","show"],l4=["upperLabel","height"];const u4={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=tG(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=AE(i4(s.width,l[0]),r),d=AE(i4(s.height,l[1]),o),c=i&&i.type,h=d3(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=c3(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var d=0,c=o.children,h=0,p=c.length;h<p;h++)d+=c[h].getValue();var f=a.getValue();if(0===f)return s;u*=d/f;var g=o.getModel(),y=g.get(o4);(u+=4*y*y+(3*y+Math.max(y,f4(g)))*Math.pow(u,.5))>PE&&(u=PE),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[i*m,r*m]}(t,h,f,u,d):p?[p.width,p.height]:[u,d],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var v={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};f.hostTree.clearLayouts();var x={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};f.setLayout(x),d4(f,v,!1,0),x=f.getLayout(),r4(g,function(t,e){var n=(g[e+1]||f).getValue();t.setLayout(TA({dataExtent:[n,n],borderWidth:0,upperHeight:0},x))})}var _=t.getData().tree.root;_.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;for(;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]}}(s,p,h),!0),t.setLayoutInfo(s),p4(_,new Mk(-s.x,-s.y,r,o),g,f,0)}};function d4(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(o4),u=s.get(a4)/2,d=f4(s),c=Math.max(l,d),h=l-u,p=c-u;t.setLayout({borderWidth:l,upperHeight:c,upperLabelHeight:d},!0);var f=(r=e4(r-2*h,0))*(o=e4(o-h-p,0)),g=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=NA(a,function(t){return!t.isRemoved()}),function(t,e){e&&t.sort(function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})}(a,s);var u=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],r4(e,function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)})):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var d=0,c=a.length;d<c;d++){var h=a[d].getValue()/u.sum*n;a[d].setLayout({area:h})}l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0);return t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}(t,s,f,e,n,i);if(g.length){var y={x:h,y:p,width:r,height:o},m=n4(r,o),v=1/0,x=[];x.area=0;for(var _=0,b=g.length;_<b;){var w=g[_];x.push(w),x.area+=w.getLayout().area;var S=c4(x,m,e.squareRatio);S<=v?(_++,v=S):(x.area-=x.pop().getLayout().area,h4(x,m,y,u,!1),m=n4(y.width,y.height),x.length=x.area=0,v=1/0)}if(x.length&&h4(x,m,y,u,!0),!n){var M=s.get("childrenVisibleMin");null!=M&&f<M&&(n=!0)}for(_=0,b=g.length;_<b;_++)d4(g[_],e,n,i+1)}}}function c4(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?e4(u*i/l,l/(u*r)):1/0}function h4(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],d=e?t.area/e:0;(r||d>n[l[a]])&&(d=n[l[a]]);for(var c=0,h=t.length;c<h;c++){var p=t[c],f={},g=d?p.getLayout().area/d:0,y=f[l[a]]=e4(d-2*i,0),m=n[s[o]]+n[l[o]]-u,v=c===h-1||m<g?m:g,x=f[l[o]]=e4(v-2*i,0);f[s[a]]=n[s[a]]+n4(i,y/2),f[s[o]]=u+n4(i,x/2),u+=v,p.setLayout(f,!0)}n[s[a]]+=d,n[l[a]]-=d}function p4(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Mk(e.x-o.x,e.y-o.y,e.width,e.height);r4(t.viewChildren||[],function(t){p4(t,l,n,i,r+1)})}}function f4(t){return t.get(s4)?t.get(l4):0}function g4(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf(function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){HA(n)&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0})})}function y4(t){var e={};t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each(function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var d=a.getShallow(l[u],!0);null!=d&&n.setItemVisual(i,l[u],d)}}),n.count()&&i.each(function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){GA(e)&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");TA(i.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)i.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}})})}function m4(t){return t instanceof Array||(t=[t,t]),t}function v4(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),i=m4(t.get("edgeSymbol")),r=m4(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each(function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=m4(i.getShallow("symbol",!0)),a=m4(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(TA(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill}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 x4="--\x3e",_4=function(t){return t.get("autoCurveness")||null},b4=function(t,e){var n=_4(t),i=20,r=[];if(HA(n))i=n;else if(FA(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},w4=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(x4)},S4=function(t){var e=t.split(x4);return[e[0],e[2],e[1]].join(x4)},M4=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function $4(t,e,n,i){var r=_4(e),o=FA(r);if(!r)return null;var a=function(t,e){var n=w4(t.node1,t.node2,e);return e.__edgeMap[n]}(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=function(t,e){return M4(w4(t.node1,t.node2,e),e)+M4(w4(t.node2,t.node1,e),e)}(t,e);b4(e,u),t.lineStyle=t.lineStyle||{};var d=w4(t.node1,t.node2,e),c=e.__curvenessList,h=o||u%2?0:1;if(a.isForward)return c[h+s];var p=S4(d),f=M4(p,e),g=c[s+f+h];return i?o?r&&0===r[0]?(f+h)%2?g:-g:((f%2?0:1)+h)%2?g:-g:(f+h)%2?g:-g:c[s+f+h]}function C4(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),I4(n,t)}}function I4(t,e){t.eachEdge(function(t,n){var i=QA(t.getModel().get(["lineStyle","curveness"]),-$4(t,e,n,!0),0),r=xD(t.node1.getLayout()),o=xD(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)})}function T4(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];OA(n.dimensions,function(t){r=r.concat(i.mapDimensionsAll(t))});for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}I4(i.graph,t)}else e&&"none"!==e||C4(t)})}function A4(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function D4(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var k4=Math.PI,L4=[];function O4(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,d=Math.min(o.width,o.height)/2,c=a.count();if(a.setLayout({cx:l,cy:u}),c){if(n){var h=r.pointToData(i),p=h[0],f=h[1],g=[p-l,f-u];CD(g,g),$D(g,g,d),n.setLayout([l+g[0],u+g[1]],!0),P4(n,t.get(["circular","rotateLabel"]),l,u)}E4[e](t,s,a,d,l,u,c),s.eachEdge(function(e,n){var i,r=QA(e.getModel().get(["lineStyle","curveness"]),$4(e,t,n),0),o=xD(e.node1.getLayout()),a=xD(e.node2.getLayout()),s=(o[0]+a[0])/2,d=(o[1]+a[1])/2;+r&&(i=[l*(r*=3)+s*(1-r),u*r+d*(1-r)]),e.setLayout([o,a,i])})}}}var E4={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode(function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n})},symbolSize:function(t,e,n,i,r,o,a){var s=0;L4.length=a;var l=A4(t);e.eachNode(function(t){var e=D4(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=k4/2),L4[t.dataIndex]=n,s+=2*n});var u=(2*k4-s)/a/2,d=0;e.eachNode(function(t){var e=u+L4[t.dataIndex];d+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(d)+r,i*Math.sin(d)+o]),d+=e})}};function P4(t,e,n,i){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-i,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var d=u?"left":"right";a.setTextConfig({rotation:-l,position:d,origin:"center"});var c=a.ensureState("emphasis");TA(c.textConfig||(c.textConfig={}),{position:d})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function N4(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&O4(t,"symbolSize")})}var R4=wD;function B4(t){t.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each(function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])}):s&&"none"!==s?"circular"===s&&O4(t,"value"):C4(t);var l=r.getDataExtent("value"),u=o.getDataExtent("value"),d=a.get("repulsion"),c=a.get("edgeLength"),h=FA(d)?d:[d,d],p=FA(c)?c:[c,c];p=[p[1],p[0]];var f=r.mapArray("value",function(t,e){var n=r.getItemLayout(e),i=TE(t,l,h);return isNaN(i)&&(i=(h[0]+h[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),g=o.mapArray("value",function(e,n){var r=i.getEdgeByIndex(n),o=TE(e,u,p);isNaN(o)&&(o=(p[0]+p[1])/2);var a=r.getModel(),s=QA(r.getModel().get(["lineStyle","curveness"]),-$4(r,t,n,!0),0);return{n1:f[r.node1.dataIndex],n2:f[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}}),y=e.getBoundingRect(),m=function(t,e,n){for(var i=t,r=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,d=0;d<i.length;d++){var c=i[d];c.p||(c.p=mD(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),c.pp=xD(c.p),c.edges=null}var h,p,f=null==n.friction?.6:n.friction,g=f;return{warmUp:function(){g=.8*f},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){h=t},afterStep:function(t){p=t},step:function(t){h&&h(i,r);for(var e=[],n=i.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1;SD(e,(y=a.n2).p,s.p);var d=MD(e)-a.d,c=y.w/(s.w+y.w);isNaN(c)&&(c=0),CD(e,e),!s.fixed&&R4(s.p,s.p,e,c*d*g),!y.fixed&&R4(y.p,y.p,e,-(1-c)*d*g)}}for(o=0;o<n;o++)(x=i[o]).fixed||(SD(e,l,x.p),R4(x.p,x.p,e,u*g));for(o=0;o<n;o++){s=i[o];for(var f=o+1;f<n;f++){var y;SD(e,(y=i[f]).p,s.p),0===(d=MD(e))&&(_D(e,Math.random()-.5,Math.random()-.5),d=1);var m=(s.rep+y.rep)/d/d;!s.fixed&&R4(s.pp,s.pp,e,m),!y.fixed&&R4(y.pp,y.pp,e,-m)}}var v=[];for(o=0;o<n;o++){var x;(x=i[o]).fixed||(SD(v,x.p,x.pp),R4(x.p,x.p,v,g),vD(x.pp,x.p))}var _=(g*=.992)<.01;p&&p(i,r,_),t&&t(_)}}}(f,g,{rect:y,gravity:a.get("gravity"),friction:a.get("friction")});m.beforeStep(function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&vD(t[n].p,i.getNodeByIndex(n).getLayout())}),m.afterStep(function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=i.getEdgeByIndex(a),d=l.n1.p,c=l.n2.p,h=u.getLayout();(h=h?h.slice():[])[0]=h[0]||[],h[1]=h[1]||[],vD(h[0],d),vD(h[1],c),+l.curveness&&(h[2]=[(d[0]+c[0])/2-(d[1]-c[1])*l.curveness,(d[1]+c[1])/2-(c[0]-d[0])*l.curveness]),u.setLayout(h)}}),t.forceLayout=m,t.preservedPoints=n,m.step()}else t.forceLayout=null})}function z4(t,e){var n=[];return t.eachSeriesByType("graph",function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=[],a=[];hN(r.mapArray(function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]}),o,a),a[0]-o[0]===0&&(a[0]+=1,o[0]-=1),a[1]-o[1]===0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,n){return tG(TA(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],d=a[1]-o[1],c=l.width,h=l.height,p=t.coordinateSystem=new _2;p.zoomLimit=t.get("scaleLimit"),p.setBoundingRect(o[0],o[1],u,d),p.setViewRect(l.x,l.y,c,h),p.setCenter(t.get("center"),e),p.setZoom(t.get("zoom")),n.push(p)}}),n}var F4=Mz.prototype,V4=Tz.prototype,G4=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}();function W4(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}rA(e,t)}(G4);var H4=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return rA(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new G4},e.prototype.buildPath=function(t,e){W4(e)?F4.buildPath.call(this,t,e):V4.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return W4(this.shape)?F4.pointAt.call(this,t):V4.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=W4(e)?[e.x2-e.x1,e.y2-e.y1]:V4.tangentAt.call(this,t);return CD(n,n)},e}(rR),j4=["fromSymbol","toSymbol"];function U4(t){return"_"+t+"Type"}function Y4(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=mU(r);return i+l+vU(a||0,l)+(o||"")+(s||"")}function X4(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=mU(r),u=vU(a||0,l),d=yU(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return d.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,d.name=t,d}}function Z4(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 n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var q4=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return rA(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new H4({name:"line",subPixelOptimize:!0});return Z4(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,Uz(r,{shape:{percent:1}},i,e),this.add(r),OA(j4,function(n){var i=X4(n,t,e);this.add(i),this[U4(n)]=Y4(n,t,e)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};Z4(a.shape,o),jz(r,a,i,e),OA(j4,function(n){var i=Y4(n,t,e),r=U4(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=X4(n,t,e);this.add(o)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,d=n&&n.focus,c=n&&n.blurScope;if(!n||t.hasItemOption){var h=t.getItemModel(e),p=h.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=h.getModel(["blur","lineStyle"]).getLineStyle(),s=h.getModel(["select","lineStyle"]).getLineStyle(),u=p.get("disabled"),d=p.get("focus"),c=p.get("blurScope"),l=AF(h)}var f=t.getItemVisual(e,"style"),g=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,OA(j4,function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=f.opacity;for(var n=0;n<BR.length;n++){var i=BR[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),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 y=i.getRawValue(e);TF(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:f.opacity,defaultText:(null==y?t.getName(e):isFinite(y)?DE(y):y)+""});var m=this.getTextContent();if(m){var v=l.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=v.get("position")||"middle";var x=v.get("distance");FA(x)||(x=[x,x]),m.__labelDistance=x}this.setTextConfig({position:null,local:!0,inside:!1}),bB(this,d,c,u)},e.prototype.highlight=function(){sB(this)},e.prototype.downplay=function(){lB(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");Z4(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){for(var r=1,o=this.parent;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),d=SD([],u,l);if(CD(d,d),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var c=void 0,h=void 0,p=i.__labelDistance,f=p[0]*r,g=p[1]*r,y=s/2,m=a.tangentAt(y),v=[m[1],-m[0]],x=a.pointAt(y);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var _=m[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(m[1],m[0]);u[0]<l[0]&&(b=Math.PI+b),i.rotation=b}var w=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,h="top";break;default:w=0,h="middle"}switch(i.__position){case"end":i.x=d[0]*f+u[0],i.y=d[1]*g+u[1],c=d[0]>.8?"left":d[0]<-.8?"right":"center",h=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":i.x=-d[0]*f+l[0],i.y=-d[1]*g+l[1],c=d[0]>.8?"right":d[0]<-.8?"left":"center",h=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=m[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=m[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||h,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(bE),K4=function(){function t(t){this.group=new bE,this._LineCtor=t||q4}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=J4(t);t.diff(r).add(function(n){e._doAdd(t,n,o)}).update(function(n,i){e._doUpdate(r,t,i,n,o)}).remove(function(t){i.remove(r.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=J4(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){if(t5(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){SF(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(t5(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);t5(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}();function J4(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:AF(e)}}function Q4(t){return isNaN(t[0])||isNaN(t[1])}function t5(t){return t&&!Q4(t[0])&&!Q4(t[1])}var e5=[],n5=[],i5=[],r5=cL,o5=AD,a5=Math.abs;function s5(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,d=.1;d<=.9;d+=.1){e5[0]=r5(r[0],o[0],a[0],d),e5[1]=r5(r[1],o[1],a[1],d),(p=a5(o5(e5,e)-l))<s&&(s=p,i=d)}for(var c=0;c<32;c++){var h=i+u;n5[0]=r5(r[0],o[0],a[0],i),n5[1]=r5(r[1],o[1],a[1],i),i5[0]=r5(r[0],o[0],a[0],h),i5[1]=r5(r[1],o[1],a[1],h);var p=o5(n5,e)-l;if(a5(p)<.01)break;var f=o5(i5,e)-l;u/=2,p<0?f>=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function l5(t,e){var n=[],i=fL,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge(function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),d=t.getVisual("toSymbol");l.__original||(l.__original=[xD(l[0]),xD(l[1])],l[2]&&l.__original.push(xD(l[2])));var c=l.__original;if(null!=l[2]){if(vD(r[0],c[0]),vD(r[1],c[2]),vD(r[2],c[1]),u&&"none"!==u){var h=D4(t.node1),p=s5(r,c[0],h*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}if(d&&"none"!==d){h=D4(t.node2),p=s5(r,c[1],h*e);i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]}vD(l[0],r[0]),vD(l[1],r[2]),vD(l[2],r[1])}else{if(vD(o[0],c[0]),vD(o[1],c[1]),SD(a,o[1],o[0]),CD(a,a),u&&"none"!==u){h=D4(t.node1);wD(o[0],o[0],a,h*e)}if(d&&"none"!==d){h=D4(t.node2);wD(o[1],o[1],a,-h*e)}vD(l[0],o[0]),vD(l[1],o[1])}})}function u5(t){return"view"===t.type}var d5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(t,e){var n=new CJ,i=new K4,r=this.group;this._controller=new u1(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(u5(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):jz(s,l,t)}l5(t.getGraph(),A4(t));var u=t.getData();o.updateData(u);var d=t.getEdgeData();a.updateData(d),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,h=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,h);var p=t.get("layout");u.graph.eachNode(function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",function(o){switch(p){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,h),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),O4(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),I4(t.getGraph(),t),i.updateLayout(t)}}).on("dragend",function(){c&&c.setUnfixed(n)}),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(LR(r).focus=e.getAdjacentDataIndices())}}),u.graph.eachEdge(function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(LR(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})});var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode(function(t){P4(t,f,g,y)}),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step(function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())})}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker(function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!m1(e,n,t)}),u5(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){p1(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){f1(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),l5(t.getGraph(),A4(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()})):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=A4(t);e.eachItemGraphicEl(function(t,e){t&&t.setSymbolScale(n)})},e.prototype.updateLayout=function(t){l5(t.getGraph(),A4(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(rj);function c5(t){return"_EC_"+t}var h5=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 n=this._nodesMap;if(!n[c5(t)]){var i=new p5(t,e);return i.hostGraph=this,this.nodes.push(i),n[c5(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[c5(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(HA(t)&&(t=this.nodes[t]),HA(e)&&(e=this.nodes[e]),t instanceof p5||(t=i[c5(t)]),e instanceof p5||(e=i[c5(e)]),t&&e){var o=t.id+"-"+e.id,a=new f5(t,e,n);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 p5&&(t=t.id),e instanceof p5&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof p5||(e=this._nodesMap[c5(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],d=u.node1===s?u.node2:u.node1;if(!d.__visited){if(t.call(i,d,s))return;a.push(d),d.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf(function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0});for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),p5=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))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=dD(),e=dD(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.set(i.dataIndex,!0);for(var r=[i.node1],o=[i.node2],a=0;a<r.length;){var s=r[a];a++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),r.push(s.inEdges[l].node1)}for(a=0;a<o.length;){var u=o[a];a++,e.set(u.dataIndex,!0);for(l=0;l<u.outEdges.length;l++)t.set(u.outEdges[l].dataIndex,!0),o.push(u.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),f5=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=dD(),e=dD();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],r=0;r<n.length;){var o=n[r];r++,e.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)t.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}for(r=0;r<i.length;){var s=i[r];r++,e.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)t.set(s.outEdges[a].dataIndex,!0),i.push(s.outEdges[a].node2)}return{edge:t.keys(),node:e.keys()}},t}();function g5(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},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)}}}function y5(t,e,n,i,r){for(var o=new h5(i),a=0;a<t.length;a++)o.addNode(KA(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var d=e[a],c=d.source,h=d.target;o.addEdge(c,h,u)&&(l.push(d),s.push(KA(sP(d.id,null),c+" > "+h)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=NX(t,n);else{var g=UG.get(f),y=g&&g.dimensions||[];DA(y,"value")<0&&y.concat(["value"]);var m=TX(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(p=new IX(m,n)).initData(t)}var v=new IX(["value"],n);return v.initData(l,s),r&&r(p,v),t3({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}kA(p5,g5("hostGraph","data")),kA(f5,g5("hostGraph","edgeData"));var m5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return rA(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new WQ(i,i),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),tP(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){_4(n=this)&&(n.__curvenessList=[],n.__edgeMap={},b4(n));var a=y5(r,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=JF.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(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=r,t.getModel=i,t})});return OA(a.edges,function(t){!function(t,e,n,i){if(_4(n)){var r=w4(t,e,n),o=n.__edgeMap,a=o[S4(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(i)}}(t.node1,t.node2,this,t.dataIndex)},this),a.data}},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,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),DH("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return GH({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=EA(this.option.categories||[],function(t){return null!=t.value?t:TA({value:0},t)}),e=new IX(["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}(UH),v5={type:"graphRoam",event:"graphRoam",update:"none"};var x5=function(){return function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}}(),_5=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new x5},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(rR);function b5(t,e){var n=null==t?"":t+"";return e&&(GA(e)?n=e.replace("{value}",n):VA(e)&&(n=e(t))),n}var w5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:AE(n[0],e.getWidth()),cy:AE(n[1],e.getHeight()),r:AE(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,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"),d=u.get("roundCap")?aQ:fz,c=u.get("show"),h=u.getModel("lineStyle"),p=h.get("width"),f=[s,l];NN(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,m=[],v=0;c&&v<i.length;v++){var x=new d({shape:{startAngle:y,endAngle:l=s+g*Math.min(Math.max(i[v][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-p,r:r.r},silent:!0});x.setStyle({fill:i[v][1]}),x.setStyle(h.getLineStyle(["color","width"])),m.push(x),y=l}m.reverse(),OA(m,function(t){return o.add(t)});var _=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,_,r,s,l,a,p),this._renderTitleAndDetail(t,e,n,_,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,_,r,s,l,a,p)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var u,d,c=this.group,h=r.cx,p=r.cy,f=r.r,g=+t.get("min"),y=+t.get("max"),m=t.getModel("splitLine"),v=t.getModel("axisTick"),x=t.getModel("axisLabel"),_=t.get("splitNumber"),b=v.get("splitNumber"),w=AE(m.get("length"),f),S=AE(v.get("length"),f),M=o,$=(a-o)/_,C=$/b,I=m.getModel("lineStyle").getLineStyle(),T=v.getModel("lineStyle").getLineStyle(),A=m.get("distance"),D=0;D<=_;D++){if(u=Math.cos(M),d=Math.sin(M),m.get("show")){var k=new Mz({shape:{x1:u*(f-(L=A?A+l:l))+h,y1:d*(f-L)+p,x2:u*(f-w-L)+h,y2:d*(f-w-L)+p},style:I,silent:!0});"auto"===I.stroke&&k.setStyle({stroke:i(D/_)}),c.add(k)}if(x.get("show")){var L=x.get("distance")+A,O=b5(DE(D/_*(y-g)+g),x.get("formatter")),E=i(D/_),P=u*(f-w-L)+h,N=d*(f-w-L)+p,R=x.get("rotate"),B=0;"radial"===R?(B=-M+2*Math.PI)>Math.PI/2&&(B+=Math.PI):"tangential"===R?B=-M-Math.PI/2:HA(R)&&(B=R*Math.PI/180),0===B?c.add(new xR({style:DF(x,{text:O,x:P,y:N,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:E}),silent:!0})):c.add(new xR({style:DF(x,{text:O,x:P,y:N,verticalAlign:"middle",align:"center"},{inheritColor:E}),silent:!0,originX:P,originY:N,rotation:B}))}if(v.get("show")&&D!==_){L=(L=v.get("distance"))?L+l:l;for(var z=0;z<=b;z++){u=Math.cos(M),d=Math.sin(M);var F=new Mz({shape:{x1:u*(f-L)+h,y1:d*(f-L)+p,x2:u*(f-S-L)+h,y2:d*(f-S-L)+p},silent:!0,style:T});"auto"===T.stroke&&F.setStyle({stroke:i((D+z/b)/_)}),c.add(F),M+=C}M-=C}else M+=$}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,d=this._data,c=this._progressEls,h=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),m=y.mapDimension("value"),v=+t.get("min"),x=+t.get("max"),_=[v,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=AE(o.get("width"),r.r),s=AE(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),d=AE(u[0],r.r),c=AE(u[1],r.r),h=o.get("keepAspect");return(i=l?yU(l,d-a/2,c-s,a,s,null,h):new _5({shape:{angle:-Math.PI/2,width:a,r:s,x:d,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?aQ:fz,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,d=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:d}});return i&&(c.z2=TE(y.get(m,t),[v,x],[100,0],!0)),c}(g||p)&&(y.diff(d).add(function(e){var n=y.get(m,e);if(p){var i=w(e,o);Uz(i,{rotation:-((isNaN(+n)?b[0]:TE(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");Uz(r,{shape:{endAngle:TE(n,_,b,a)}},t),u.add(r),OR(t.seriesIndex,y.dataType,e,r),h[e]=r}}).update(function(e,n){var i=y.get(m,e);if(p){var r=d.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,jz(s,{rotation:-((isNaN(+i)?b[0]:TE(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],v=S(e,l?l.shape.endAngle:o),x=f.get("clip");jz(v,{shape:{endAngle:TE(i,_,b,x)}},t),u.add(v),OR(t.seriesIndex,y.dataType,e,v),h[e]=v}}).execute(),y.each(function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof uR){var d=s.style;s.useStyle(TA({image:d.image,x:d.x,y:d.y,width:d.width,height:d.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(TE(y.get(m,t),_,[0,1],!0))),s.z2EmphasisLift=0,$B(s,e),bB(s,r,o,a)}if(g){var c=h[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,$B(c,e),bB(c,r,o,a)}}),this._progressEls=h)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=yU(r,e.cx-i/2+AE(o[0],e.r),e.cy-i/2+AE(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),d=new bE,c=[],h=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add(function(t){c[t]=new xR({silent:!0}),h[t]=new xR({silent:!0})}).update(function(t,e){c[t]=o._titleEls[e],h[t]=o._detailEls[e]}).execute(),a.each(function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new bE,y=i(TE(o,[l,u],[0,1],!0)),m=n.getModel("title");if(m.get("show")){var v=m.get("offsetCenter"),x=r.cx+AE(v[0],r.r),_=r.cy+AE(v[1],r.r);(T=c[e]).attr({z2:f?0:2,style:DF(m,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(T)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+AE(w[0],r.r),M=r.cy+AE(w[1],r.r),$=AE(b.get("width"),r.r),C=AE(b.get("height"),r.r),I=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,T=h[e],A=b.get("formatter");T.attr({z2:f?0:2,style:DF(b,{x:S,y:M,text:b5(o,A),width:isNaN($)?null:$,height:isNaN(C)?null:C,align:"center",verticalAlign:"middle"},{inheritColor:I})}),BF(T,{normal:b},o,function(t){return b5(t,A)}),p&&zF(T,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return b5(a?a.interpolatedValue:o,A)}}),g.add(T)}d.add(g)}),this.group.add(d),this._titleEls=c,this._detailEls=h},e.type="gauge",e}(rj),S5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return rA(e,t),e.prototype.getInitialData=function(t,e){return GQ(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,rotate:0},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}(UH);var M5=["itemStyle","opacity"],$5=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new bz,a=new xR;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return rA(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(M5);l=null==l?1:l,n||Kz(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,Uz(i,{style:{opacity:l}},r,e)):jz(i,{style:{opacity:l},shape:{points:a.points}},r,e),$B(i,o),this._updateLabel(t,e),bB(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;TF(r,AF(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var d=s.linePoints;i.setShape({points:d}),n.textGuideLineConfig={anchor:d?new gk(d[0][0],d[0][1]):null},jz(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),Bq(n,zq(a),{stroke:u})},e}(xz),C5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add(function(t){var e=new $5(i,t);i.setItemGraphicEl(t,e),o.add(e)}).update(function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)}).remove(function(e){qz(r.getItemGraphicEl(e),t,e)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(rj),I5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new WQ(BA(this.getData,this),BA(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return GQ(this,{coordDimensions:["value"],encodeDefaulter:zA($G,this)})},e.prototype._defaultLabelLine=function(t){tP(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},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}(UH);function T5(t,e){t.eachSeriesByType("funnel",function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return tG(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return VA(e)?r.sort(e):"none"!==e&&r.sort(function(t,e){return o?i[t]-i[e]:i[e]-i[t]}),r}(n,r),d=o.x,c=o.y,h="horizontal"===a?[AE(t.get("minSize"),l),AE(t.get("maxSize"),l)]:[AE(t.get("minSize"),s),AE(t.get("maxSize"),s)],p=n.getDataExtent(i),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(p[0],0)),null==g&&(g=p[1]);var y=t.get("funnelAlign"),m=t.get("gap"),v=(("horizontal"===a?s:l)-m*(n.count()-1))/n.count(),x=function(t,e){if("horizontal"===a){var r=TE(n.get(i,t)||0,[f,g],h,!0),o=void 0;switch(y){case"top":o=c;break;case"center":o=c+(l-r)/2;break;case"bottom":o=c+(l-r)}return[[e,o],[e,o+r]]}var u,p=TE(n.get(i,t)||0,[f,g],h,!0);switch(y){case"left":u=d;break;case"center":u=d+(s-p)/2;break;case"right":u=d+s-p}return[[u,e],[u+p,e]]};"ascending"===r&&(v=-v,m=-m,"horizontal"===a?d+=s:c+=l,u=u.reverse());for(var _=0;_<u.length;_++){var b=u[_],w=u[_+1],S=n.getItemModel(b);if("horizontal"===a){var M=S.get(["itemStyle","width"]);null==M?M=v:(M=AE(M,s),"ascending"===r&&(M=-M));var $=x(b,d),C=x(w,d+M);d+=M+m,n.setItemLayout(b,{points:$.concat(C.slice().reverse())})}else{var I=S.get(["itemStyle","height"]);null==I?I=v:(I=AE(I,l),"ascending"===r&&(I=-I));$=x(b,c),C=x(w,c+I);c+=I+m,n.setItemLayout(b,{points:$.concat(C.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each(function(n){var i,r,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),d=t.getItemLayout(n),c=d.points,h="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(h)"insideLeft"===l?(r=(c[0][0]+c[3][0])/2+5,o=(c[0][1]+c[3][1])/2,i="left"):"insideRight"===l?(r=(c[1][0]+c[2][0])/2-5,o=(c[1][1]+c[2][1])/2,i="right"):(r=(c[0][0]+c[1][0]+c[2][0]+c[3][0])/4,o=(c[0][1]+c[1][1]+c[2][1]+c[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var p=void 0,f=void 0,g=void 0,y=void 0,m=u.get("length");"left"===l?(p=(c[3][0]+c[0][0])/2,f=(c[3][1]+c[0][1])/2,r=(g=p-m)-5,i="right"):"right"===l?(p=(c[1][0]+c[2][0])/2,f=(c[1][1]+c[2][1])/2,r=(g=p+m)+5,i="left"):"top"===l?(p=(c[3][0]+c[0][0])/2,o=(y=(f=(c[3][1]+c[0][1])/2)-m)-5,i="center"):"bottom"===l?(p=(c[1][0]+c[2][0])/2,o=(y=(f=(c[1][1]+c[2][1])/2)+m)+5,i="center"):"rightTop"===l?(p="horizontal"===e?c[3][0]:c[1][0],f="horizontal"===e?c[3][1]:c[1][1],"horizontal"===e?(o=(y=f-m)-5,i="center"):(r=(g=p+m)+5,i="top")):"rightBottom"===l?(p=c[2][0],f=c[2][1],"horizontal"===e?(o=(y=f+m)+5,i="center"):(r=(g=p+m)+5,i="bottom")):"leftTop"===l?(p=c[0][0],f="horizontal"===e?c[0][1]:c[1][1],"horizontal"===e?(o=(y=f-m)-5,i="center"):(r=(g=p-m)-5,i="right")):"leftBottom"===l?(p="horizontal"===e?c[1][0]:c[3][0],f="horizontal"===e?c[1][1]:c[2][1],"horizontal"===e?(o=(y=f+m)+5,i="center"):(r=(g=p-m)-5,i="right")):(p=(c[1][0]+c[2][0])/2,f=(c[1][1]+c[2][1])/2,"horizontal"===e?(o=(y=f+m)+5,i="center"):(r=(g=p+m)+5,i="left")),"horizontal"===e?r=g=p:o=y=f,a=[[p,f],[g,y]]}d.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:h}})}(n)})}var A5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new bE,n._initialized=!1,n}return rA(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=L5(t);if(o.diff(a).add(function(t){O5(k5(o,r,t,l,s),o,t,u)}).update(function(e,n){var i=a.getItemGraphicEl(n),r=D5(o,e,l,s);o.setItemGraphicEl(e,i),jz(i,{shape:{points:r}},t,e),Kz(i),O5(i,o,e,u)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),!this._initialized){this._initialized=!0;var d=function(t,e,n){var i=t.model,r=t.getRect(),o=new yR({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),Uz(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,function(){setTimeout(function(){r.removeClipPath()})});r.setClipPath(d)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=L5(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=k5(i,this._dataGroup,l,o,r);u.incremental=!0,O5(u,i,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(rj);function D5(t,e,n,i){for(var r=[],o=0;o<n.length;o++){var a=n[o],s=t.get(t.mapDimension(a),e);E5(s,i.getAxis(a).type)||r.push(i.dataToPoint(s,a))}return r}function k5(t,e,n,i,r){var o=D5(t,n,i,r),a=new bz({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function L5(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),qA(e=HE(e))&&(e=0),{smooth:e}}function O5(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");$B(t,r,"lineStyle"),bB(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function E5(t,e){return"category"===e?null==t:null==t||isNaN(t)}var P5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return rA(e,t),e.prototype.getInitialData=function(t,e){return NX(null,this,{useEncodeDefaulter:BA(N5,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(e,r){t===e&&i.push(n.getRawIndex(r))}),i},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}(UH);function N5(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return OA(e.dimensions,function(t){var e=+t.replace("dim","");n[t]=e}),n}}var R5=["lineStyle","opacity"],B5={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(R5,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r},t.start,t.end)}}}};function z5(t){!function(t){if(t.parallel)return;var e=!1;OA(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}(t),function(t){var e=QE(t.parallelAxis);OA(e,function(e){if(jA(e)){var n=e.parallelIndex||0,i=QE(t.parallel)[n];i&&i.parallelAxisDefault&&CA(e,i.parallelAxisDefault,!1)}})}(t)}var F5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},OA(V5,function(t,e){n.getZr().on(e,this._handlers[e]=BA(t,this))},this)),fj(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){gj(this,"_throttledDispatchExpand"),OA(this._handlers,function(t,n){e.getZr().off(n,t)}),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(TA({type:"parallelAxisExpand"},t))},e.type="parallel",e}(tj),V5={mousedown:function(t){G5(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(G5(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&G5(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function G5(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var W5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&CA(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){OA(["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=[];OA(NA(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this),function(n){t.push("dim"+n.get("dim")),e.push(n.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}(sG),H5=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return rA(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(fq);function j5(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=Y5(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=Y5(s,[0,a]),r=o=Y5(s,[r,o]),i=0}e[0]=Y5(e[0],n),e[1]=Y5(e[1],n);var l=U5(e,i);e[i]+=t;var u,d=r||0,c=n.slice();return l.sign<0?c[0]+=d:c[1]-=d,e[i]=Y5(e[i],c),u=U5(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=U5(e,i),null!=o&&u.span>o&&(e[1-i]=e[i]+u.sign*o),e}function U5(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Y5(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var X5=OA,Z5=Math.min,q5=Math.max,K5=Math.floor,J5=Math.ceil,Q5=DE,t9=Math.PI,e9=function(){function t(t,e,n){this.type="parallel",this._axesMap=dD(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;X5(i,function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new H5(t,NZ(o),[0,0],o.get("type"),i)),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(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();X5(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),PZ(e.scale,e.model)},this)}},this)},t.prototype.resize=function(t,e){this._rect=tG(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,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,d=n9(e.get("axisExpandWidth"),l),c=n9(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>c&&c>1&&d>0&&s>0,p=e.get("axisExpandWindow");p?(t=n9(p[1]-p[0],l),p[1]=p[0]+t):(t=n9(d*(c-1),l),(p=[d*(e.get("axisExpandCenter")||K5(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[K5(Q5(p[0]/d,1))+1,J5(Q5(p[1]/d,1))-1],y=f/d*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:h,axisExpandWidth:d,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),X5(n,function(e,n){var o=(i.axisExpandable?r9:i9)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:t9/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],d=[1,0,0,1,0,0];hk(d,d,u),ck(d,d,l),this._axesLayout[e]={position:l,rotation:u,transform:d,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,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];OA(o,function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)});for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var d=void 0;if(l){d="active";for(var c=t.getValues(a,u),h=0,p=o.length;h<p;h++){if("inactive"===s[h].getActiveState(c[h])){d="inactive";break}}}else d="normal";e(d,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return hF([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return $A(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),c=null!=d[0];if(u)c&&u&&s<r*d[0]?(l="jump",a=s-r*d[2]):c&&u&&s>r*(1-d[0])?(l="jump",a=s-r*(1-d[2])):(a=s-r*d[1])>=0&&(a=s-r*(1-d[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?j5(a,i,o,"all"):l="none";else{var h=i[1]-i[0];(i=[q5(0,o[1]*s/h-h/2)])[1]=Z5(o[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:l}},t}();function n9(t,e){return Z5(q5(t,e[0]),e[1])}function i9(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function r9(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,d=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,d=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:d,nameTruncateMaxWidth:i}}var o9={create:function(t,e){var n=[];return t.eachComponent("parallel",function(i,r){var o=new e9(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)}),t.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",gP).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},a9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return rA(e,t),e.prototype.getAreaSelectStyle=function(){return DP([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=$A(t);if(e)for(var n=e.length-1;n>=0;n--)kE(e[n])},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 n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(sG);kA(a9,WZ);var s9=!0,l9=Math.min,u9=Math.max,d9=Math.pow,c9="globalPan",h9={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},p9={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},f9={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},g9=0,y9=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new bE,n._uid="brushController_"+g9++,OA(W9,function(t,e){this._handlers[e]=BA(t,this)},n),n}return rA(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||function(t,e,n){l1(t)[e]=n}(e,c9,this._uid),OA(this._handlers,function(t,n){e.on(n,t)}),this._brushType=t.brushType,this._brushOption=CA($A(f9),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=l1(t);i[e]===n&&(i[e]=null)}(t,c9,this._uid),OA(this._handlers,function(e,n){t.off(n,e)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};OA(t,function(t){e[t.panelId]=$A(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=EA(t,function(t){return CA($A(f9),t,!0)});var e=this._covers,n=this._covers=[],i=this,r=this._creatingCover;return new iX(e,t,function(t,e){return o(t.__brushOption,e)},o).add(a).update(a).remove(function(t){e[t]!==r&&i.group.remove(e[t])}).execute(),this;function o(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function a(o,a){var s=t[o];if(null!=a&&e[a]===r)n[o]=e[a];else{var l=n[o]=null!=a?(e[a].__brushOption=s,e[a]):v9(i,m9(i,s));b9(i,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),$9(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(ND);function m9(t,e){var n=j9[e.brushType].createCover(t,e);return n.__brushOption=e,_9(n,e),t.group.add(n),n}function v9(t,e){var n=w9(e);return n.endCreating&&(n.endCreating(t,e),_9(e,e.__brushOption)),e}function x9(t,e){var n=e.__brushOption;w9(e).updateCoverShape(t,e,n.range,n)}function _9(t,e){var n=e.z;null==n&&(n=1e4),t.traverse(function(t){t.z=n,t.z2=n})}function b9(t,e){w9(e).updateCommon(t,e),x9(t,e)}function w9(t){return j9[t.__brushOption.brushType]}function S9(t,e,n){var i,r=t._panels;if(!r)return s9;var o=t._transform;return OA(r,function(t){t.isTargetByCursor(e,n,o)&&(i=t)}),i}function M9(t,e){var n=t._panels;if(!n)return s9;var i=e.__brushOption.panelId;return null!=i?n[i]:s9}function $9(t){var e=t._covers,n=e.length;return OA(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function C9(t,e){var n=EA(t._covers,function(t){var e=t.__brushOption,n=$A(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function I9(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function T9(t,e,n,i){var r=new bE;return r.add(new yR({name:"main",style:L9(n),silent:!0,draggable:!0,cursor:"move",drift:zA(P9,t,e,r,["n","s","w","e"]),ondragend:zA(C9,e,{isEnd:!0})})),OA(i,function(n){r.add(new yR({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:zA(P9,t,e,r,n),ondragend:zA(C9,e,{isEnd:!0})}))}),r}function A9(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=u9(r,6),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,d=n[0][1],c=n[1][1],h=d-o+r/2,p=c-o+r/2,f=d-a,g=c-s,y=f+r,m=g+r;k9(t,e,"main",a,s,f,g),i.transformable&&(k9(t,e,"w",l,u,o,m),k9(t,e,"e",h,u,o,m),k9(t,e,"n",l,u,y,o),k9(t,e,"s",l,p,y,o),k9(t,e,"nw",l,u,o,o),k9(t,e,"ne",h,u,o,o),k9(t,e,"sw",l,p,o,o),k9(t,e,"se",h,p,o,o))}function D9(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(L9(n)),r.attr({silent:!i,cursor:i?"move":"default"}),OA([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var r=e.childOfName(n.join("")),o=1===n.length?E9(t,n[0]):function(t,e){var n=[E9(t,e[0]),E9(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?p9[o]+"-resize":null})})}function k9(t,e,n,i,r,o,a){var s,l,u,d,c,h=e.childOfName(n);h&&h.setShape((s=B9(t,e,[[i,r],[i+o,r+a]]),l=l9(s[0][0],s[1][0]),u=l9(s[0][1],s[1][1]),d=u9(s[0][0],s[1][0]),c=u9(s[0][1],s[1][1]),{x:l,y:u,width:d-l,height:c-u}))}function L9(t){return AA({strokeNoScale:!0},t.brushStyle)}function O9(t,e,n,i){var r=[l9(t,n),l9(e,i)],o=[u9(t,n),u9(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function E9(t,e){var n=pF({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return cF(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function P9(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=R9(e,r,o);OA(i,function(t){var e=h9[t];s[e[0]][e[1]]+=l[e[0]]}),a.range=t.fromRectRange(O9(s[0][0],s[1][0],s[0][1],s[1][1])),b9(e,n),C9(e,{isEnd:!1})}function N9(t,e,n,i){var r=e.__brushOption.range,o=R9(t,n,i);OA(r,function(t){t[0]+=o[0],t[1]+=o[1]}),b9(t,e),C9(t,{isEnd:!1})}function R9(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function B9(t,e,n){var i=M9(t,e);return i&&i!==s9?i.clipPath(n,t._transform):$A(n)}function z9(t){var e=t.event;e.preventDefault&&e.preventDefault()}function F9(t,e,n){return t.childOfName("main").contain(e,n)}function V9(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return d9(r*r+o*o,.5)>6}(t)||o){if(a&&!o){"single"===s.brushMode&&$9(t);var l=$A(s);l.brushType=G9(l.brushType,a),l.panelId=a===s9?null:a.panelId,o=t._creatingCover=m9(t,l),t._covers.push(o)}if(o){var u=j9[G9(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(B9(t,o,t._track)),i&&(v9(t,o),u.updateCommon(t,o)),x9(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&S9(t,e,n)&&$9(t)&&(r={isEnd:i,removeOnClick:!0});return r}function G9(t,e){return"auto"===t?e.defaultBrushType:t}var W9={mousedown:function(t){if(this._dragging)H9(this,t);else if(!t.target||!t.target.draggable){z9(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=S9(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=S9(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===s9||s.panelId===o.panelId)&&j9[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){z9(t);var r=V9(this,t,i,!1);r&&C9(this,r)}},mouseup:function(t){H9(this,t)}};function H9(t,e){if(t._dragging){z9(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=V9(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&C9(t,o)}}var j9={lineX:U9(0),lineY:U9(1),rect:{createCover:function(t,e){function n(t){return t}return T9({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=I9(t);return O9(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){A9(t,e,n,i)},updateCommon:D9,contain:F9},polygon:{createCover:function(t,e){var n=new bE;return n.add(new bz({name:"main",style:L9(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new xz({name:"main",draggable:!0,drift:zA(N9,t,e),ondragend:zA(C9,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:B9(t,e,n)})},updateCommon:D9,contain:F9}};function U9(t){return{createCover:function(e,n){return T9({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=I9(e);return[l9(n[0][t],n[1][t]),u9(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=M9(e,n);if(a!==s9&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),A9(e,n,l,r)},updateCommon:D9,contain:F9}}function Y9(t){return t=q9(t),function(e){return yF(e,t)}}function X9(t,e){return t=q9(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function Z9(t,e,n){var i=q9(t);return function(t,r){return i.contain(r[0],r[1])&&!m1(t,e,n)}}function q9(t){return Mk.create(t)}var K9=["axisLine","axisTickLabel","axisName"],J9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new y9(n.getZr())).on("brush",BA(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new bE,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,d=TA({strokeContainThreshold:l},a.getAxisLayout(u)),c=new b0(t,d);OA(K9,c.add,c),this._axisGroup.add(c.getGroup()),this._refreshBrushController(d,s,t,o,l,n),gF(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Mk.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:Y9(u),isTargetByCursor:Z9(u,o,i),getLinearBrushOtherExtent:X9(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return EA(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=EA(e,function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]});(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(tj);var Q9={type:"axisAreaSelect",event:"axisAreaSelected"};var t6={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function e6(t){t.registerComponentView(F5),t.registerComponentModel(W5),t.registerCoordinateSystem("parallel",o9),t.registerPreprocessor(z5),t.registerComponentModel(a9),t.registerComponentView(J9),r0(t,"parallel",a9,t6),function(t){t.registerAction(Q9,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)})})}(t)}var n6=function(){return function(){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}}(),i6=function(t){function e(e){return t.call(this,e)||this}return rA(e,t),e.prototype.getDefaultShape=function(){return new n6},e.prototype.buildPath=function(t,e){var n=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+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){sB(this)},e.prototype.downplay=function(){lB(this)},e}(rR),r6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),d=t.getData("edge"),c=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge(function(e){var n=new i6,i=LR(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,u,h,p,f,g,y,m=e.getModel(),v=m.getModel("lineStyle"),x=v.get("curveness"),_=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),$=e.node2.getModel(),C=$.get("localX"),I=$.get("localY"),T=e.getLayout();n.shape.extent=Math.max(1,T.dy),n.shape.orient=c,"vertical"===c?(r=(null!=w?w*s:_.x)+T.sy,a=(null!=S?S*l:_.y)+_.dy,u=(null!=C?C*s:M.x)+T.ty,p=r,f=a*(1-x)+(h=null!=I?I*l:M.y)*x,g=u,y=a*x+h*(1-x)):(r=(null!=w?w*s:_.x)+_.dx,a=(null!=S?S*l:_.y)+T.sy,p=r*(1-x)+(u=null!=C?C*s:M.x)*x,f=a,g=r*x+u*(1-x),y=h=(null!=I?I*l:M.y)+T.ty),n.setShape({x1:r,y1:a,x2:u,y2:h,cpx1:p,cpy1:f,cpx2:g,cpy2:y}),n.useStyle(v.getItemStyle()),o6(n.style,c,e);var A=""+m.get("value"),D=AF(m,"edgeLabel");TF(n,D,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,QA(o,D.normal&&D.normal.get("formatter"),A),a)}},labelDataIndex:e.dataIndex,defaultText:A}),n.setTextConfig({position:"inside"});var k=m.getModel("emphasis");$B(n,m,"lineStyle",function(t){var n=t.getItemStyle();return o6(n,c,e),n}),o.add(n),d.setItemGraphicEl(e.dataIndex,n);var L=k.get("focus");bB(n,"adjacency"===L?e.getAdjacentDataIndices():"trajectory"===L?e.getTrajectoryDataIndices():L,k.get("blurScope"),k.get("disabled"))}),r.eachNode(function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),d=i.getModel("emphasis"),c=i.get(["itemStyle","borderRadius"])||0,h=new yR({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:c},style:i.getModel("itemStyle").getItemStyle(),z2:10});TF(h,AF(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),$B(h,i),o.add(h),u.setItemGraphicEl(e.dataIndex,h),LR(h).dataType="node";var p=d.get("focus");bB(h,"adjacency"===p?e.getAdjacentDataIndices():"trajectory"===p?e.getTrajectoryDataIndices():p,d.get("blurScope"),d.get("disabled"))}),u.eachItemGraphicEl(function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")}),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var i=new yR({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Uz(i,{shape:{width:t.width+20}},e,n),i}(o.getBoundingRect(),t,function(){o.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(rj);function o6(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");GA(i)&&GA(r)&&(t.fill=new Oz(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}var a6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=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 JF(r[a],this,e));return y5(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}),e.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})}).data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[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,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return DH("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return DH("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},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},edgeLabel:{show:!1,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}(UH);function s6(t,e){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return tG(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){OA(t,function(t){var e=m6(t.outEdges,y6),n=m6(t.inEdges,y6),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)})}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],d=[],c=0,h=0;h<e.length;h++)s[h]=1;for(h=0;h<t.length;h++)l[h]=t[h].inEdges.length,0===l[h]&&u.push(t[h]);var p=-1;for(;u.length;){for(var f=0;f<u.length;f++){var g=u[f],y=g.hostGraph.data.getRawDataItem(g.dataIndex),m=null!=y.depth&&y.depth>=0;m&&y.depth>p&&(p=y.depth),g.setLayout({depth:m?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var v=0;v<g.outEdges.length;v++){var x=g.outEdges[v];s[e.indexOf(x)]=0;var _=x.node2;0===--l[t.indexOf(_)]&&d.indexOf(_)<0&&d.push(_)}}++c,u=d,d=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var b=p>c-1?p:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var d=l.inEdges[u];r.indexOf(d.node1)<0&&r.push(d.node1)}}o=r,r=[],++a}OA(t,function(t){l6(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)})}else"justify"===e&&function(t,e){OA(t,function(t){l6(t)||t.outEdges.length||t.setLayout({depth:e},!0)})}(t,i)}(t,a,0,b);var w="vertical"===o?(r-n)/b:(i-n)/b;!function(t,e,n){OA(t,function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)})}(t,w,o)})(t,e,n,r,o,s,l),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=xP(t,function(t){return t.getLayout()[i]});return r.keys.sort(function(t,e){return t-e}),OA(r.keys,function(t){n.push(r.buckets.get(t))}),n}(t,a);(function(t,e,n,i,r,o){var a=1/0;OA(t,function(t){var e=t.length,s=0;OA(t,function(t){s+=t.getLayout().value});var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<a&&(a=l)}),OA(t,function(t){OA(t,function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))})}),OA(e,function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)})})(s,e,n,i,r,a),u6(s,r,n,i,a);for(var l=1;o>0;o--)d6(s,l*=.99,a),u6(s,r,n,i,a),v6(s,l,a),u6(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";OA(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]})}),OA(t,function(t){var e=0,n=0;OA(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),OA(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t,s)}(l,u,n,i,o,a,0!==NA(l,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function l6(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function u6(t,e,n,i,r){var o="vertical"===r?"x":"y";OA(t,function(t){var a,s,l;t.sort(function(t,e){return t.getLayout()[o]-e.getLayout()[o]});for(var u=0,d=t.length,c="vertical"===r?"dx":"dy",h=0;h<d;h++)(l=u-(s=t[h]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(h=d-2;h>=0;--h)(l=(s=t[h]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}})}function d6(t,e,n){OA(t.slice().reverse(),function(t){OA(t,function(t){if(t.outEdges.length){var i=m6(t.outEdges,c6,n)/m6(t.outEdges,y6);if(isNaN(i)){var r=t.outEdges.length;i=r?m6(t.outEdges,h6,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-g6(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-g6(t,n))*e;t.setLayout({y:a},!0)}}})})}function c6(t,e){return g6(t.node2,e)*t.getValue()}function h6(t,e){return g6(t.node2,e)}function p6(t,e){return g6(t.node1,e)*t.getValue()}function f6(t,e){return g6(t.node1,e)}function g6(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function y6(t){return t.getValue()}function m6(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function v6(t,e,n){OA(t,function(t){OA(t,function(t){if(t.inEdges.length){var i=m6(t.inEdges,p6,n)/m6(t.inEdges,y6);if(isNaN(i)){var r=t.inEdges.length;i=r?m6(t.inEdges,f6,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-g6(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-g6(t,n))*e;t.setLayout({y:a},!0)}}})})}function x6(t){t.eachSeriesByType("sankey",function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var r=1/0,o=-1/0;OA(n,function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)}),OA(n,function(e){var n=new R3({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))})}i.length&&OA(i,function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)})})}var _6=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,d=this._baseAxisDim=l[u],c=l[1-u],h=[r,o],p=h[u].get("type"),f=h[1-u].get("type"),g=t.data;if(g&&i){var y=[];OA(g,function(t,e){var n;FA(t)?(n=t.slice(),t.unshift(e)):FA(t.value)?((n=TA({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)}),t.data=y}var m=this.defaultValueDimensions,v=[{name:d,type:aX(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:aX(f),dimsDef:m.slice()}];return GQ(this,{coordDimensions:v,dimensionsCount:m.length+1,encodeDefaulter:zA(MG,v,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),b6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return rA(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}(UH);kA(b6,_6,!0);var w6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add(function(t){if(i.hasValue(t)){var e=$6(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Kz(n),C6(s,n,i,t)):n=$6(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)}).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.type="boxplot",e}(rj),S6=function(){return function(){}}(),M6=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new S6},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(rR);function $6(t,e,n,i,r){var o=t.ends,a=new M6({shape:{points:r?I6(o,i,t):o}});return C6(t,a,e,n,r),a}function C6(t,e,n,i,r){var o=n.hostModel;(0,MF[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,i),e.useStyle(n.getItemVisual(i,"style")),e.style.strokeNoScale=!0,e.z2=100;var a=n.getItemModel(i),s=a.getModel("emphasis");$B(e,a),bB(e,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function I6(t,e,n){return EA(t,function(t){return(t=t.slice())[e]=n.initBaseline,t})}var T6=OA;function A6(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var i=t.getBaseAxis(),r=DA(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);T6(e,function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;T6(i,function(t){l=Math.max(l,t.getData().count())});var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}T6(i,function(t){var n=t.get("boxWidth");FA(n)||(n=[n,n]),s.push([AE(n[0],e)||0,AE(n[1],e)||0])});var d=.8*e-2,c=d/r*.3,h=(d-c*(r-1))/r,p=h/2-d/2;T6(i,function(t,e){a.push(p),p+=c+h,o.push(Math.min(Math.max(h,s[e][0]),s[e][1]))})}(t),T6(e,function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),d=r.mapDimensionsAll(l[s]);if(null==u||d.length<5)return;for(var c=0;c<r.count();c++){var h=r.get(u,c),p=x(h,d[2],c),f=x(h,d[0],c),g=x(h,d[1],c),y=x(h,d[3],c),m=x(h,d[4],c),v=[];_(v,g,!1),_(v,y,!0),v.push(f,g,m,y),b(v,f),b(v,m),b(v,p),r.setItemLayout(c,{initBaseline:p[s],ends:v})}function x(t,n,o){var l,u=r.get(n,o),d=[];return d[a]=t,d[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(d))[a]+=e,l}function _(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function b(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])}))})}var D6={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==pG){ZE("")}var n=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=kE(t[a].slice()),l=GE(s,.25),u=GE(s,.5),d=GE(s,.75),c=s[0],h=s[s.length-1],p=(null==r?1.5:r)*(d-l),f=o?c:Math.max(c,l-p),g=o?h:Math.min(h,d+p),y=e.itemNameFormatter,m=VA(y)?y({value:a}):GA(y)?y.replace("{value}",a+""):a+"";n.push([m,f,l,u,d,g]);for(var v=0;v<s.length;v++){var x=s[v];if(x<f||x>g){var _=[m,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var k6=["itemStyle","borderColor"],L6=["itemStyle","borderColor0"],O6=["itemStyle","borderColorDoji"],E6=["itemStyle","color"],P6=["itemStyle","color0"];function N6(t,e){return e.get(t>0?E6:P6)}function R6(t,e){return e.get(0===t?O6:t>0?k6:L6)}var B6={seriesType:"candlestick",plan:ej(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=N6(r,i),o.stroke=R6(r,i)||o.fill,TA(e.ensureUniqueItemVisual(n,"style"),o)}}}}},z6=["color","borderColor"],F6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){SF(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(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add(function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&H6(s,a))return;var l=W6(a,n,!0);Uz(l,{shape:{points:a.ends}},t,n),j6(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}}).update(function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var d=e.getItemLayout(a);o&&H6(s,d)?i.remove(u):(u?(jz(u,{shape:{points:d.ends}},t,a),Kz(u)):u=W6(d),j6(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)}).remove(function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)}).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),Z6(t,this.group);var e=t.get("clip",!0)?zJ(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=W6(i.getItemLayout(n));j6(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){Z6(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}(rj),V6=function(){return function(){}}(),G6=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new V6},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(rR);function W6(t,e,n){var i=t.ends;return new G6({shape:{points:n?U6(i,t):i},z2:100})}function H6(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function j6(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,$B(t,r);var o=e.getItemLayout(n).sign;OA(t.states,function(t,e){var n=r.getModel(e),i=N6(o,n),a=R6(o,n)||i,s=t.style||(t.style={});i&&(s.fill=i),a&&(s.stroke=a)});var a=r.getModel("emphasis");bB(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function U6(t,e){return EA(t,function(t){return(t=t.slice())[1]=e.initBaseline,t})}var Y6=function(){return function(){}}(),X6=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return rA(e,t),e.prototype.getDefaultShape=function(){return new Y6},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(rR);function Z6(t,e,n,i){var r=t.getData().getLayout("largePoints"),o=new X6({shape:{points:r},__sign:1,ignoreCoarsePointer:!0});e.add(o);var a=new X6({shape:{points:r},__sign:-1,ignoreCoarsePointer:!0});e.add(a);var s=new X6({shape:{points:r},__sign:0,ignoreCoarsePointer:!0});e.add(s),q6(1,o,t),q6(-1,a,t),q6(0,s,t),i&&(o.incremental=!0,a.incremental=!0),n&&n.push(o,a)}function q6(t,e,n,i){var r=R6(t,n)||N6(t,n),o=n.getModel("itemStyle").getItemStyle(z6);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var K6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return rA(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.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",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(UH);function J6(t){t&&FA(t.series)&&OA(t.series,function(t){jA(t)&&"k"===t.type&&(t.type="candlestick")})}kA(K6,_6,!0);var Q6={seriesType:"candlestick",plan:ej(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=AE(JA(t.get("barMaxWidth"),r),r),a=AE(JA(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?AE(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=EA(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],d=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=tZ(4*n.count),h=0,p=[],f=[],g=i.getStore(),y=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var m=g.get(o,a),v=g.get(s,a),x=g.get(l,a),_=g.get(u,a),b=g.get(d,a);isNaN(m)||isNaN(_)||isNaN(b)?(c[h++]=NaN,h+=3):(c[h++]=t8(g,a,v,x,l,y),p[0]=m,p[1]=_,r=e.dataToPoint(p,null,f),c[h++]=r?r[0]:NaN,c[h++]=r?r[1]:NaN,p[1]=b,r=e.dataToPoint(p,null,f),c[h++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),h=a.get(s,r),p=a.get(l,r),f=a.get(u,r),g=a.get(d,r),y=Math.min(h,p),m=Math.max(h,p),v=M(y,c),x=M(m,c),_=M(f,c),b=M(g,c),w=[];$(w,x,0),$(w,v,1),w.push(I(b),I(x),I(_),I(v));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:t8(a,r,h,p,l,S),initBaseline:h>p?x[1]:v[1],ends:w,brushRect:C(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function $(t,e,n){var r=e.slice(),o=e.slice();r[0]=dF(r[0]+i/2,1,!1),o[0]=dF(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function C(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function I(t){return t[0]=dF(t[0],1),t}}}}};function t8(t,e,n,i,r,o){return n>i?-1:n<i?1:o?0:e>0?t.get(r,e-1)<=i?1:-1:1}function e8(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}var n8=function(t){function e(e,n){var i=t.call(this)||this,r=new bJ(e,n),o=new bE;return i.add(r),i.add(o),i.updateData(e,n),i}return rA(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=yU(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*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)}e8(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}e8(n,t)},e.prototype.highlight=function(){sB(this)},e.prototype.downplay=function(){lB(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=mU(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,d=o.getModel("emphasis");r.setScale(s),r.traverse(function(t){t.setStyle("fill",u)});var c=vU(t.getItemVisual(e,"symbolOffset"),s);c&&(r.x=c[0],r.y=c[1]);var h=t.getItemVisual(e,"symbolRotate");r.rotation=(h||0)*Math.PI/180||0;var p={};p.showEffectOn=i.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=i.getShallow("z")||0,p.zlevel=i.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&&n.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=p,bB(this,d.get("focus"),d.get("blurScope"),d.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(bE),i8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(){this._symbolDraw=new CJ(n8)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=QJ("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e,n,i=t.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=(e=i.getRoamTransform(),uk(n=[1,0,0,1,0,0],e),n),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(rj),r8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return rA(e,t),e.prototype.getInitialData=function(t,e){return NX(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.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}(UH);var o8=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return rA(e,t),e.prototype.createLine=function(t,e,n){return new q4(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");FA(i)||(i=[i,i]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=yU(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(a),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=KA(e.get("delay"),function(e){return e/t.count()*o/3});if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var d=void 0;d=VA(u)?u(n):u,i.__t>0&&(d=-o*i.__t),this._animateSymbol(i,o,d,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during(function(){o._updateSymbolPosition(t)});i||a.done(function(){o.remove(t)}),a.start()}},e.prototype._getLineLength=function(t){return TD(t.__p1,t.__cp1)+TD(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,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=cL,l=hL;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),d=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(d,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*TD(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*TD(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 n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(bE),a8=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return rA(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new bz({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;jz(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,bB(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(bE),s8=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return rA(e,t),e.prototype.createLine=function(t,e,n){return new a8(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=TD(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var d=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,d)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(o8),l8=function(){return function(){this.polyline=!1,this.curveness=0,this.segs=[]}}(),u8=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return rA(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 l8},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],d=i[n++];if(t.moveTo(s,l),r>0){var c=(s+u)/2-(l-d)*r,h=(l+d)/2-(u-s)*r;t.quadraticCurveTo(c,h,u,d)}else t.lineTo(u,d)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],d=i[s++],c=1;c<l;c++){if(BN(u,d,h=i[s++],p=i[s++],o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){u=i[s++],d=i[s++];var h=i[s++],p=i[s++];if(r>0){if(FN(u,d,(u+h)/2-(d-p)*r,(d+p)/2-(h-u)*r,h,p,o,t,e))return a}else if(BN(u,d,h,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),o=Math.max(l,o)}t=this._rect=new Mk(n,i,r,o)}return t},e}(rR),d8=function(){function t(){this.group=new bE}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 n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),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 u8({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.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=LR(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),c8={seriesType:"lines",plan:ej(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,d=r.start;d<r.end;d++)u+=t.getLineCoordsCount(d);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var c=0,h=[];for(d=r.start;d<r.end;d++){var p=t.getLineCoords(d,a);n&&(s[c++]=p);for(var f=0;f<p;f++)h=e.dataToPoint(a[f],!1,h),s[c++]=h[0],s[c++]=h[1]}o.setLayout("linesPoints",s)}else for(d=r.start;d<r.end;d++){var g=o.getItemModel(d),y=(p=t.getLineCoords(d,a),[]);if(n)for(var m=0;m<p;m++)y.push(e.dataToPoint(a[m]));else{y[0]=e.dataToPoint(a[0]),y[1]=e.dataToPoint(a[1]);var v=g.get(["lineStyle","curveness"]);+v&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*v,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*v])}o.setItemLayout(d,y)}}}}}},h8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.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(i);var u=t.get("clip",!0)&&zJ(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){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,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=c8.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new d8:new K4(r?i?s8:a8:i?o8:q4),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||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}(rj),p8="undefined"==typeof Uint32Array?Array:Uint32Array,f8="undefined"==typeof Float64Array?Array:Float64Array;function g8(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=EA(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),IA([e,t[0],t[1]])}))}var y8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return rA(e,t),e.prototype.init=function(e){e.data=e.data||[],g8(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(g8(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=cD(this._flatCoords,e.flatCoords),this._flatCoordsOffset=cD(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);return e.option instanceof Array?e.option:e.getShallow("coords")},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 n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}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),HA(t[0])){for(var n=t.length,i=new p8(n),r=new f8(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var d=0;d<u;d++){var c=t[l++],h=t[l++];r[o++]=c,r[o++]=h}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new IX(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0}),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var o=i.get("fromName"),a=i.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),DH("nameValue",{name:s.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}(UH);function m8(t){return t instanceof Array||(t=[t,t]),t}var v8={seriesType:"lines",reset:function(t){var e=m8(t.get("symbol")),n=m8(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=m8(n.getShallow("symbol",!0)),r=m8(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var x8=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=dA.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,d=this.canvas,c=d.getContext("2d"),h=t.length;d.width=e,d.height=n;for(var p=0;p<h;++p){var f=t[p],g=f[0],y=f[1],m=i(f[2]);c.globalAlpha=m,c.drawImage(a,g-u,y-u)}if(!d.width||!d.height)return d;for(var v=c.getImageData(0,0,d.width,d.height),x=v.data,_=0,b=x.length,w=this.minOpacity,S=this.maxOpacity-w;_<b;){m=x[_+3]/256;var M=4*Math.floor(255*m);if(m>0){var $=o(m)?s:l;m>0&&(m=m*S+w),x[_++]=$[M],x[_++]=$[M+1],x[_++]=$[M+2],x[_++]=$[M+3]*m*256}else _+=4}return c.putImageData(v,0,0),d},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=dA.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function _8(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var b8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):_8(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(_8(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){SF(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,d=FJ(u,"cartesian2d");if(d){var c=u.getAxis("x"),h=u.getAxis("y");o=c.getBandWidth()+.5,a=h.getBandWidth()+.5,s=c.scale.getExtent(),l=h.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),v=t.get(["itemStyle","borderRadius"]),x=AF(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=d?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],$=n;$<i;$++){var C=void 0,I=f.getItemVisual($,"style");if(d){var T=f.get(M[0],$),A=f.get(M[1],$);if(isNaN(f.get(M[2],$))||isNaN(T)||isNaN(A)||T<s[0]||T>s[1]||A<l[0]||A>l[1])continue;var D=u.dataToPoint([T,A]);C=new yR({shape:{x:D[0]-o/2,y:D[1]-a/2,width:o,height:a},style:I})}else{if(isNaN(f.get(M[1],$)))continue;C=new yR({z2:1,shape:u.dataToRect([f.get(M[0],$)]).contentShape,style:I})}if(f.hasItemOption){var k=f.getItemModel($),L=k.getModel("emphasis");g=L.getModel("itemStyle").getItemStyle(),y=k.getModel(["blur","itemStyle"]).getItemStyle(),m=k.getModel(["select","itemStyle"]).getItemStyle(),v=k.get(["itemStyle","borderRadius"]),b=L.get("focus"),w=L.get("blurScope"),S=L.get("disabled"),x=AF(k)}C.shape.r=v;var O=t.getRawValue($),E="-";O&&null!=O[2]&&(E=O[2]+""),TF(C,x,{labelFetcher:t,labelDataIndex:$,defaultOpacity:I.opacity,defaultText:E}),C.ensureState("emphasis").style=g,C.ensureState("blur").style=y,C.ensureState("select").style=m,bB(C,b,w,S),C.incremental=r,r&&(C.states.emphasis.hoverLayer=!0),p.add(C),f.setItemGraphicEl($,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new x8;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 d=Math.max(l.x,0),c=Math.max(l.y,0),h=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=h-d,g=p-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(y,function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=d,r[1]-=c,r.push(i),r}),v=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(v,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=EA(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,o=0;return function(t){var i;for(i=o;i<r;i++)if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}if(i===r)for(i=o-1;i>=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}(v,n.getPieceList(),n.option.selected);s.update(m,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},x);var _=new uR({style:{width:f,height:g,x:d,y:c,image:s.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e}(rj),w8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.getInitialData=function(t,e){return NX(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=UG.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}(UH);var S8=["itemStyle","borderWidth"],M8=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],$8=new KB,C8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:M8[+s],categoryDim:M8[1-+s]};r.diff(o).add(function(t){if(r.hasValue(t)){var e=E8(r,t),n=I8(r,t,e,u),o=R8(r,u,n);r.setItemGraphicEl(t,o),i.add(o),G8(o,u,n)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=E8(r,t),s=I8(r,t,a,u),l=z8(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;jz(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?D8(t,e,n,!0):k8(t,e,n,!0);L8(t,n,!0),O8(t,e,n,!0)}(n,u,s):n=R8(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),G8(n,u,s)}else i.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&B8(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute();var d=t.get("clip",!0)?zJ(t.coordinateSystem,!1,t):null;return d?i.setClipPath(d):i.removeClipPath(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){B8(i,LR(e).dataIndex,t,e)}):n.removeAll()},e.type="pictorialBar",e}(rj);function I8(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,d=n.isAnimationEnabled(),c={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:d?n:null,hoverScale:d&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),d=1-+(n[a.wh]<=0);if(FA(s)){var c=[T8(l,s[0])-u,T8(l,s[1])-u];c[1]<c[0]&&c.reverse(),o=c[d]}else o=null!=s?T8(l,s)-u:e?i.coordSysExtent[a.index][d]-u:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]);var h="x"===a.xy,p=l.inverse;r.pxSign=h&&!p||!h&&p?o>=0?1:-1:o>0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var d,c=l.valueDim,h=l.categoryDim,p=Math.abs(n[h.wh]),f=t.getItemVisual(e,"symbolSize");d=FA(f)?f.slice():null==f?["100%","100%"]:[f,f];d[h.index]=AE(d[h.index],p),d[c.index]=AE(d[c.index],i?p:Math.abs(o)),u.symbolSize=d;var g=u.symbolScale=[d[0]/s,d[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(S8)||0;o&&($8.attr({scaleX:e[0],scaleY:e[1],rotation:n}),$8.updateTransform(),o/=$8.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var h=c.symbolSize,p=vU(n.get("symbolOffset"),h);return function(t,e,n,i,r,o,a,s,l,u,d,c){var h=d.categoryDim,p=d.valueDim,f=c.pxSign,g=Math.max(e[p.index]+s,0),y=g;if(i){var m=Math.abs(l),v=KA(t.get("symbolMargin"),"15%")+"",x=!1;v.lastIndexOf("!")===v.length-1&&(x=!0,v=v.slice(0,v.length-1));var _=AE(v,e[p.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=jE(i),M=S?i:W8((m+w)/b);b=g+2*(_=(m-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?W8((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var $=f*(y/2),C=c.pathPosition=[];C[h.index]=n[h.wh]/2,C[p.index]="start"===a?$:"end"===a?l-$:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var I=c.bundlePosition=[];I[h.index]=n[h.xy],I[p.index]=n[p.xy];var T=c.barRectShape=TA({},n);T[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(C[p.index]+$)),T[h.wh]=n[h.wh];var A=c.clipShape={};A[h.xy]=-n[h.xy],A[h.wh]=d.ecSize[h.wh],A[p.xy]=0,A[p.wh]=n[p.wh]}(n,h,r,o,0,p,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function T8(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function A8(t){var e=t.symbolPatternSize,n=yU(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function D8(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,d=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(F8(t,function(t){t.__pictorialAnimationIndex=d,t.__pictorialRepeatTimes=u,d<u?V8(t,null,f(d),n,i):V8(t,null,{scaleX:0,scaleY:0},n,i,function(){r.remove(t)}),d++});d<u;d++){var h=A8(n);h.__pictorialAnimationIndex=d,h.__pictorialRepeatTimes=u,r.add(h);var p=f(d);V8(h,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},n,i)}function f(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function k8(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?V8(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=A8(n),r.add(o),V8(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function L8(t,e,n){var i=TA({},e.barRectShape),r=t.__pictorialBarRect;r?V8(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new yR({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function O8(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=TA({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)jz(r,{shape:o},s,l);else{o[a.wh]=0,r=new yR({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],MF[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function E8(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=P8,n.isAnimationEnabled=N8,n}function P8(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function N8(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function R8(t,e,n,i){var r=new bE,o=new bE;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?D8(r,e,n):k8(r,0,n),L8(r,n,i),O8(r,e,n,i),r.__pictorialShapeStr=z8(t,n),r.__pictorialSymbolMeta=n,r}function B8(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];F8(i,function(t){o.push(t)}),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),OA(o,function(t){Xz(t,{scaleX:0,scaleY:0},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function z8(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function F8(t,e,n){OA(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function V8(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&MF[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function G8(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),d=o.get("focus"),c=o.get("blurScope"),h=o.get("scale");F8(t,function(t){if(t instanceof uR){var e=t.style;t.useStyle(TA({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,h&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2});var p=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,TF(f,AF(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:xJ(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),bB(t,d,c,o.get("disabled"))}function W8(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var H8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return rA(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=eV(iQ.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%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(iQ);var j8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return rA(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function d(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new iX(this._layersSeries||[],a,d,d),h=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,d,c=[],p=[],f=a[n].indices,g=0;g<f.length;g++){var y=i.getItemLayout(f[g]),m=y.x,v=y.y0,x=y.y;c.push(m,v),p.push(m,v+x),u=i.getItemVisual(f[g],"style")}var _=i.getItemLayout(f[0]),b=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=h[n]=new bE;d=new NJ({shape:{points:c,stackedOnPoints:p,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(d),o.add(S),t.isAnimationEnabled()&&d.setClipPath(function(t,e,n){var i=new yR({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Uz(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}(d.getBoundingRect(),t,function(){d.removeClipPath()}))}else{S=l[s];d=S.childAt(0),o.add(S),h[n]=S,jz(d,{shape:{points:c,stackedOnPoints:p}},t),Kz(d)}TF(d,AF(t),{labelDataIndex:f[g-1],defaultText:i.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),d.setTextConfig({position:null,local:!0});var M=d.getTextContent();M&&(M.x=_.x-b,M.y=_.y0+_.y/2),d.useStyle(u),i.setItemGraphicEl(n,d),$B(d,t),bB(d,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}c.add(BA(p,this,"add")).update(BA(p,this,"update")).remove(BA(p,this,"remove")).execute(),this._layersSeries=a,this._layers=h},e.type="themeRiver",e}(rj);var U8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new WQ(BA(this.getData,this),BA(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=xP(t,function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]}),r=[];i.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]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",gP).models[0].get("type"),i=NA(t.data,function(t){return void 0!==t[2]}),r=this.fixData(i||[]),o=[],a=this.nameMap=dD(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var u=TX(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:aX(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,d=new IX(u,this);return d.initData(r),d},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=xP(n,function(e){return t.get("name",e)}),a=[];return o.buckets.each(function(e,n){e.sort(function(e,n){return t.get(r,e)-t.get(r,n)}),a.push({name:n,indices:e})}),a},e.prototype.getAxisTooltipData=function(t,e,n){FA(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,d=-1,c=o[l].indices.length,h=0;h<c;++h){var p=r.get(t[0],o[l].indices[h]),f=Math.abs(p-e);f<=u&&(i=p,u=f,d=o[l].indices[h])}a.push(d)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return DH("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},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}(UH);function Y8(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();(i.boundaryGap=o,"horizontal"===a.orient)?(o[0]=AE(o[0],r.height),o[1]=AE(o[1],r.height),X8(e,t,r.height-o[0]-o[1])):(o[0]=AE(o[0],r.width),o[1]=AE(o[1],r.width),X8(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",i)})}function X8(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=EA(o,function(e){return EA(e.indices,function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n})}),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(o-i[u])/2;o=0;for(var d=0;d<n;++d){var c=i[d]+r[d];c>o&&(o=c)}return{y0:r,max:o}}(l),d=u.y0,c=n/u.max,h=o.length,p=o[0].indices.length,f=0;f<p;++f){i=d[f]*c,t.setItemLayout(o[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:i,y:l[0][f][1]*c});for(var g=1;g<h;++g)i+=l[g-1][f][1]*c,t.setItemLayout(o[g].indices[f],{layerIndex:g,x:l[g][f][0],y0:i,y:l[g][f][1]*c})}}var Z8=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},LR(o).seriesIndex=n.seriesIndex;var a=new xR({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return rA(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;LR(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=TA({},l);u.label=null;var d=e.getVisual("style");d.lineJoin="bevel";var c=e.getVisual("decal");c&&(d.decal=WU(c,r));var h=uQ(a.getModel("itemStyle"),u,!0);TA(u,h),OA(BR,function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=uQ(n,u);i&&(e.shape=i)}),t?(o.setShape(u),o.shape.r=l.r0,Uz(o,{shape:{r:l.r}},n,e.dataIndex)):(jz(o,{shape:u},n),Kz(o)),o.useStyle(d),this._updateLabel(n);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var f=s.get("focus");bB(this,"relative"===f?cD(e.getAncestorsIndices(),e.getDescendantIndices()):"ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,d=u.getTextContent(),c=this.node.dataIndex,h=i.get("minAngle")/180*Math.PI,p=i.get("show")&&!(null!=h&&Math.abs(o)<h);function f(t,e){var n=t.get(e);return null==n?i.get(e):n}d.ignore=!p,OA(zR,function(i){var h="normal"===i?n.getModel("label"):n.getModel([i,"label"]),p="normal"===i,g=p?d:d.ensureState(i),y=t.getFormattedLabel(c,i);p&&(y=y||e.node.name),g.style=DF(h,{},null,"normal"!==i,!0),y&&(g.style.text=y);var m=h.get("show");null==m||p||(g.ignore=!m);var v,x=f(h,"position"),_=p?u:u.states[i],b=_.style.fill;_.textConfig={outsideFill:"inherit"===h.get("color")?b:null,inside:"outside"!==x};var w=f(h,"distance")||0,S=f(h,"align"),M=f(h,"rotate"),$=.5*Math.PI,C=1.5*Math.PI,I=GN("tangential"===M?Math.PI/2-a:a),T=I>$&&!RE(I-$)&&I<C;"outside"===x?(v=r.r+w,S=T?"right":"left"):S&&"center"!==S?"left"===S?(v=r.r0+w,S=T?"right":"left"):"right"===S&&(v=r.r-w,S=T?"left":"right"):(v=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=f(h,"verticalAlign")||"middle",g.x=v*s+r.cx,g.y=v*l+r.cy;var A=0;"radial"===M?A=GN(-a)+(T?Math.PI:0):"tangential"===M?A=GN(Math.PI/2-a)+(T?Math.PI:0):HA(M)&&(A=M*Math.PI/180),g.rotation=GN(A)}),d.dirtyStyle()},e}(fz),q8="sunburstRootToNode",K8="sunburstHighlight";var J8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),d=[];s.eachNode(function(t){d.push(t)});var c,h,p=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function d(s,d){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new Z8(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(null==s?null:i[s],null==d?null:r[d])}new iX(r,i,s,s).add(d).update(d).remove(zA(d,null)).execute()}(d,p),c=a,(h=s).depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,c,t,e,n):(r.virtualPiece=new Z8(c,t,e,n),l.add(r.virtualPiece)),h.piece.off("click"),r.virtualPiece.on("click",function(t){r._rootToNode(h.parentNode)})):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null),this._initEvents(),this._oldChildren=d},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)XV(a,o.get("target",!0)||"_blank")}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:q8,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(rj),Q8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return rA(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};t7(n);var i=this._levelModels=EA(t.levels||[],function(t){return new JF(t,this,e)},this),r=u3.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t})});return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=p3(i,this),n},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(){x3(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}(UH);function t7(t){var e=0;OA(t.children,function(t){t7(t);var n=t.value;FA(n)&&(n=n[0]),e+=n});var n=t.value;FA(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),FA(t.value)?t.value[0]=n:t.value=n}var e7=Math.PI/180;function n7(t,e,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),i=t.get("radius");FA(i)||(i=[0,i]),FA(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=AE(e[0],r),l=AE(e[1],o),u=AE(i[0],a/2),d=AE(i[1],a/2),c=-t.get("startAngle")*e7,h=t.get("minAngle")*e7,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&i7(f,y);var m=0;OA(f.children,function(t){!isNaN(t.getValue())&&m++});var v=f.getValue(),x=Math.PI/(v||m)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(d-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),$=S?1:-1,C=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),o=0===v&&M?x:r*x;o<h&&(o=h),i=n+$*o;var d=e.depth-g-(_?-1:1),c=u+w*d,f=u+w*(d+1),y=t.getLevelModel(e);if(y){var m=y.get("r0",!0),b=y.get("r",!0),I=y.get("radius",!0);null!=I&&(m=I[0],b=I[1]),null!=m&&(c=AE(m,a/2)),null!=b&&(f=AE(b,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:c,r:f})}if(e.children&&e.children.length){var T=0;OA(e.children,function(t){T+=C(t,n+T)})}return i-n}};if(_){var I=u,T=u+w,A=2*Math.PI;p.setLayout({angle:A,startAngle:c,endAngle:c+A,clockwise:S,cx:s,cy:l,r0:I,r:T})}C(f,c)})}function i7(t,e){var n=t.children||[];t.children=function(t,e){if(VA(e)){var n=EA(t,function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}});return n.sort(function(t,n){return e(t.params,n.params)}),EA(n,function(e){return t[e.index]})}var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}(n,e),n.length&&OA(t.children,function(t){i7(t,e)})}function r7(t){var e={};t.eachSeriesByType("sunburst",function(t){var n=t.getData(),i=n.tree;i.eachNode(function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&GA(o)&&(o=RL(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),TA(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)})})}var o7={color:"fill",borderColor:"stroke"},a7={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},s7=cP(),l7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(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 NX(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=s7(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(UH);function u7(t,e){return e=e||[0,0],EA(["x","y"],function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))},this)}function d7(t,e){return e=e||[0,0],EA([0,1],function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function c7(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function h7(t,e){return e=e||[0,0],EA(["Radius","Angle"],function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s},this)}function p7(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||fD(t,"text")))}function f7(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},fD(a,"text")&&(o.text=a.text),fD(a,"rich")&&(o.rich=a.rich),fD(a,"textFill")&&(o.fill=a.textFill),fD(a,"textStroke")&&(o.stroke=a.textStroke),fD(a,"fontFamily")&&(o.fontFamily=a.fontFamily),fD(a,"fontSize")&&(o.fontSize=a.fontSize),fD(a,"fontStyle")&&(o.fontStyle=a.fontStyle),fD(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=fD(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),fD(a,"textPosition")&&(i.position=a.textPosition),fD(a,"textOffset")&&(i.offset=a.textOffset),fD(a,"textRotation")&&(i.rotation=a.textRotation),fD(a,"textDistance")&&(i.distance=a.textDistance)}return g7(o,t),OA(o.rich,function(t){g7(t,t)}),{textConfig:i,textContent:r}}function g7(t,e){e&&(e.font=e.textFont||e.font,fD(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),fD(e,"textAlign")&&(t.align=e.textAlign),fD(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),fD(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),fD(e,"textWidth")&&(t.width=e.textWidth),fD(e,"textHeight")&&(t.height=e.textHeight),fD(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),fD(e,"textPadding")&&(t.padding=e.textPadding),fD(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),fD(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),fD(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),fD(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),fD(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),fD(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),fD(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function y7(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";m7(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,OA(e.rich,function(t){m7(t,t)}),i}function m7(t,e){e&&(fD(e,"fill")&&(t.textFill=e.fill),fD(e,"stroke")&&(t.textStroke=e.fill),fD(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),fD(e,"font")&&(t.font=e.font),fD(e,"fontStyle")&&(t.fontStyle=e.fontStyle),fD(e,"fontWeight")&&(t.fontWeight=e.fontWeight),fD(e,"fontSize")&&(t.fontSize=e.fontSize),fD(e,"fontFamily")&&(t.fontFamily=e.fontFamily),fD(e,"align")&&(t.textAlign=e.align),fD(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),fD(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),fD(e,"width")&&(t.textWidth=e.width),fD(e,"height")&&(t.textHeight=e.height),fD(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),fD(e,"padding")&&(t.textPadding=e.padding),fD(e,"borderColor")&&(t.textBorderColor=e.borderColor),fD(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),fD(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),fD(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),fD(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),fD(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),fD(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),fD(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),fD(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),fD(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),fD(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var v7={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},x7=RA(v7);PA(tE,function(t,e){return t[e]=1,t},{}),tE.join(", ");var _7=["","style","shape","extra"],b7=cP();function w7(t,e,n,i,r){var o=t+"Animation",a=Wz(t,i,r)||{},s=b7(e).userDuring;return a.duration>0&&(a.during=s?BA(A7,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),TA(a,n[o]),a}function S7(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=b7(t),u=e.style;l.userDuring=e.during;var d={},c={};if(function(t,e,n){for(var i=0;i<x7.length;i++){var r=x7[i],o=v7[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(i=0;i<tE.length;i++){var s=tE[i];null!=e[s]&&(n[s]=e[s])}}(0,e,c),k7("shape",e,c),k7("extra",e,c),!o&&s&&(function(t,e,n){for(var i=e.transition,r=C7(i)?tE:QE(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];n[a]=s}}}(t,e,d),D7("shape",t,e,d),D7("extra",t,e,d),function(t,e,n,i){if(!n)return;var r,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!C7(a)){var l=QE(a);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var d=o[f=l[u]];r[f]=d}}else if(t.getAnimationStyleProps&&(C7(s)||C7(a)||DA(s,"style")>=0)){var c=t.getAnimationStyleProps(),h=c?c.style:null;if(h){!r&&(r=i.style={});var p=RA(n);for(u=0;u<p.length;u++){var f;if(h[f=p[u]]){d=o[f];r[f]=d}}}}}}(t,e,u,d)),c.style=u,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){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(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,c,a),function(t,e){fD(e,"silent")&&(t.silent=e.silent),fD(e,"ignore")&&(t.ignore=e.ignore),t instanceof eN&&fD(e,"invisible")&&(t.invisible=e.invisible);t instanceof rR&&fD(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var h={};OA(_7,function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(h[t]=h[t]||{}),TA(t?h[t]:h,n.enterFrom))});var p=w7("enter",t,e,n,r);p.duration>0&&t.animateFrom(h,p)}else!function(t,e,n,i,r){if(r){var o=w7("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,d);M7(t,e),u?t.dirty():t.markRedraw()}function M7(t,e){for(var n=b7(t).leaveToProps,i=0;i<_7.length;i++){var r=_7[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=b7(t).leaveToProps={}),r&&(n[r]=n[r]||{}),TA(r?n[r]:n,o.leaveTo))}}function $7(t,e,n,i){if(t){var r=t.parent,o=b7(t).leaveToProps;if(o){var a=w7("update",t,e,n,0);a.done=function(){r.remove(t)},t.animateTo(o,a)}else r.remove(t)}}function C7(t){return"all"===t}var I7={},T7={setTransform:function(t,e){return I7.el[t]=e,this},getTransform:function(t){return I7.el[t]},setShape:function(t,e){var n=I7.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=I7.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=I7.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=I7.el.style;if(e)return e[t]},setExtra:function(t,e){return(I7.el.extra||(I7.el.extra={}))[t]=e,this},getExtra:function(t){var e=I7.el.extra;if(e)return e[t]}};function A7(){var t=this,e=t.el;if(e){var n=b7(e).userDuring,i=t.userDuring;n===i?(I7.el=e,i(T7)):t.el=t.userDuring=null}}function D7(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),C7(l))TA(o,a);else for(var u=QE(l),d=0;d<u.length;d++){var c=a[p=u[d]];o[p]=c}else if(C7(s)||DA(s,t)>=0){!o&&(o=i[t]={});var h=RA(a);for(d=0;d<h.length;d++){var p;c=a[p=h[d]];L7(r[p],c)&&(o[p]=c)}}}}}function k7(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=RA(i),a=0;a<o.length;a++){var s=o[a];r[s]=fO(i[s])}}function L7(t,e){return LA(t)?t!==e:null!=t&&isFinite(t)}var O7=cP(),E7=["percent","easing","shape","style","extra"];function P7(t){t.stopAnimation("keyframe"),t.attr(O7(t))}function N7(t,e,n){if(n.isAnimationEnabled()&&e)if(FA(e))OA(e,function(e){N7(t,e,n)});else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=Wz("enter",n,0);r=o&&o.duration}if(i&&r){var a=O7(t);OA(_7,function(n){var o;n&&!t[n]||(i.sort(function(t,e){return t.percent-e.percent}),OA(i,function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=RA(l);if(n||(u=NA(u,function(t){return DA(E7,t)<0})),u.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var d=0;d<s.length;d++)s[d]!==o&&s[d].targetName===o.targetName&&s[d].stopTracks(u);n&&(a[n]=a[n]||{});var c=n?a[n]:a;OA(u,function(e){c[e]=((n?t[n]:t)||{})[e]}),o.whenWithKeys(r*i.percent,l,u,i.easing)}}}),o&&o.delay(e.delay||0).duration(r).start(e.easing))})}}}var R7="emphasis",B7="normal",z7="blur",F7="select",V7=[B7,R7,z7,F7],G7={normal:["itemStyle"],emphasis:[R7,"itemStyle"],blur:[z7,"itemStyle"],select:[F7,"itemStyle"]},W7={normal:["label"],emphasis:[R7,"label"],blur:[z7,"label"],select:[F7,"label"]},H7=["x","y"],j7={normal:{},emphasis:{},blur:{},select:{}},U7={cartesian2d:function(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:BA(u7,t)}}},geo:function(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:BA(d7,t)}}},single:function(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:BA(c7,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:BA(h7,t)}}},calendar:function(t){var e=t.getRect(),n=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:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function Y7(t){return t instanceof rR}function X7(t){return t instanceof eN}var Z7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=ttt(t,o,e,n);r||a.removeAll(),o.diff(r).add(function(e){ntt(n,null,e,s(e,i),t,a,o)}).remove(function(e){var n=r.getItemGraphicEl(e);n&&$7(n,s7(n).option,t)}).update(function(e,l){var u=r.getItemGraphicEl(l);ntt(n,u,e,s(e,i),t,a,o)}).execute();var l=t.get("clip",!0)?zJ(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=ttt(e,o,n,i),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 d=ntt(null,null,u,a(u,r),e,this.group,o);d&&(d.traverse(l),s.push(d))}},e.prototype.eachRendered=function(t){SF(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(rj);function q7(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=htt(i);e=rF(o,null,r,i.layout||"center"),s7(e).customPathData=o}else if("image"===n)e=new uR({}),s7(e).customImagePath=t.style.image;else if("text"===n)e=new xR({});else if("group"===n)e=new bE;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=iF(n);if(!a){ZE("")}e=new a}return s7(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function K7(t,e,n,i,r,o,a){P7(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=H7);var l=i&&i.style;if(l){if("text"===e.type){var u=l;fD(u,"textFill")&&(u.fill=u.textFill),fD(u,"textStroke")&&(u.stroke=u.textStroke)}var d=void 0,c=Y7(e)?l.decal:null;t&&c&&(c.dirty=!0,d=WU(c,t)),l.__decalPattern=d}X7(e)&&(l&&(d=l.__decalPattern)&&(l.decal=d));S7(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),N7(e,i.keyframeAnimation,o)}function J7(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),rB(o)}}function Q7(t,e,n){var i=n===B7,r=i?e:att(e,n),o=r?r.z2:null;null!=o&&((i?t:t.ensureState(n)).z2=o||0)}function ttt(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):U7[o.type](o));for(var s,l,u=AA({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=v(i,B7).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:GA(o)?o:"#000"},d=x(i,B7),c=DF(d,null,u,!1,!0);c.text=d.getShallow("show")?JA(t.getFormattedLabel(i,B7),xJ(e,i)):null;var h=kF(d,u,!1);return b(n,l),l=y7(l,c,h),n&&_(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=v(i,R7).getItemStyle(),o=x(i,R7),a=DF(o,null,null,!0,!0);a.text=o.getShallow("show")?QA(t.getFormattedLabel(i,R7),t.getFormattedLabel(i,B7),xJ(e,i)):null;var l=kF(o,null,!0);return b(n,r),r=y7(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),fD(o7,t)){var i=e.getItemVisual(n,"style");return i?i[o7[t]]:null}if(fD(a7,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push(AA({bandWidth:r,axisKey:i,stackId:eZ+o},t));var a=aZ(e),s=[];for(o=0;o<t.count;o++){var l=a[i][eZ+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}(AA({axis:o.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return NF(t,n)}},a.api||{}),d={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:ett(t.getData())},c={},h={},p={},f={},g=0;g<V7.length;g++){var y=V7[g];p[y]=t.getModel(G7[y]),f[y]=t.getModel(W7[y])}function m(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function v(t,n){return e.hasItemOption?t===s?c[n]||(c[n]=m(t).getModel(G7[n])):m(t).getModel(G7[n]):p[n]}function x(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=m(t).getModel(W7[n])):m(t).getModel(W7[n]):f[n]}return function(t,n){return s=t,l=null,c={},h={},r&&r(AA({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},d),u)};function _(t,e){for(var n in e)fD(e,n)&&(t[n]=e[n])}function b(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function ett(t){var e={};return OA(t.dimensions,function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}}),e}function ntt(t,e,n,i,r,o,a){if(i){var s=itt(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&bB(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function itt(t,e,n,i,r,o){var a=-1,s=e;e&&rtt(e,i,r)&&(a=DA(o.childrenRef(),e),e=null);var l,u,d=!e,c=e;c?c.clearStates():(c=q7(i),s&&(l=s,(u=c).copyTransform(l),X7(u)&&X7(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,Y7(u)&&Y7(l)&&u.setShape(l.shape)))),!1===i.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),j7.normal.cfg=j7.normal.conOpt=j7.emphasis.cfg=j7.emphasis.conOpt=j7.blur.cfg=j7.blur.conOpt=j7.select.cfg=j7.select.conOpt=null,j7.isLegacy=!1,function(t,e,n,i,r,o){if(t.isGroup)return;ott(n,null,o),ott(n,R7,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 d=t.getTextContent();if(!1===a)d&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},d?d.clearStates():(d=q7(a),t.setTextContent(d)),K7(null,d,e,a,null,i,r);for(var c=a&&a.style,h=0;h<V7.length;h++){var p=V7[h];if(p!==B7){var f=o[p].conOpt;J7(p,d,0,stt(a,f,p),null)}}c?d.dirty():d.markRedraw()}}}(c,n,i,r,d,j7),function(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&rtt(a,o,i)&&(a=null),a||(a=q7(o),t.setClipPath(a)),K7(null,a,e,o,null,i,r)}}(c,n,i,r,d),K7(t,c,n,i,j7,r,d),fD(i,"info")&&(s7(c).info=i.info);for(var h=0;h<V7.length;h++){var p=V7[h];if(p!==B7){var f=att(i,p);J7(p,c,0,stt(i,f,p),j7)}}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<V7.length;s++)Q7(i,e,V7[s])}}(c,i,r),"group"===i.type&&function(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(!a&&!l&&!u)return;if(l)return d={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new iX(d.oldChildren,d.newChildren,utt,utt,d).add(dtt).update(dtt).remove(ctt).execute();var d;u&&e.removeAll();for(var c=0;c<a;c++){var h=o[c],p=e.childAt(c);h?(null==h.ignore&&(h.ignore=!1),itt(t,p,n,h,r,e)):p.ignore=!0}for(var f=e.childCount()-1;f>=c;f--){var g=e.childAt(f);ltt(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function rtt(t,e,n){var i,r=s7(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(fD(i,"pathData")||fD(i,"d")))&&htt(a)!==r.customPathData||"image"===o&&fD(s,"image")&&s.image!==r.customImagePath}function ott(t,e,n){var i=e?att(t,e):t,r=e?stt(t,i,R7):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?att(s,e):s:null;if(r&&(n.isLegacy||p7(r,o,!!a,!!l))){n.isLegacy=!0;var u=f7(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var d=l;!d.type&&(d.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function att(t,e){return e?t?t[e]:null:t}function stt(t,e,n){var i=e&&e.style;return null==i&&n===R7&&t&&(i=t.styleEmphasis),i}function ltt(t,e,n){e&&$7(e,s7(t).option,n)}function utt(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function dtt(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;itt(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function ctt(t){var e=this.context,n=e.oldChildren[t];n&&$7(n,s7(n).option,e.seriesModel)}function htt(t){return t&&(t.pathData||t.d)}var ptt=cP(),ftt=$A,gtt=BA,ytt=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var d=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=zA(mtt,e,d);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new bE,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);btt(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 n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=A0(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=ptt(t).pointerEl=new MF[r.type](ftt(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=ptt(t).labelEl=new xR(ftt(e.label));t.add(r),xtt(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=ptt(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=ptt(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),xtt(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=mF(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){nk(t.event)},onmousedown:gtt(this._onHandleDragMove,this,0,0),drift:gtt(this._onHandleDragMove,this),ondragend:gtt(this._onHandleDragEnd,this)}),i.add(r)),btt(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");FA(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,fj(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){mtt(this._axisPointerModel,!e&&this._moveAnimation,this._handle,_tt(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(_tt(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(_tt(i)),ptt(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),gj(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function mtt(t,e,n,i){vtt(ptt(n).lastProp,i)||(ptt(n).lastProp=i,e?jz(n,i,t):(n.stopAnimation(),n.attr(i)))}function vtt(t,e){if(jA(t)&&jA(e)){var n=!0;return OA(e,function(e,i){n=n&&vtt(t[i],e)}),!!n}return t===e}function xtt(t,e){t[e.get(["label","show"])?"show":"hide"]()}function _tt(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function btt(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function wtt(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function Stt(t,e,n,i,r){var o=Mtt(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=GV(a.get("padding")||0),l=a.getFont(),u=oE(o,l),d=r.position,c=u.width+s[1]+s[3],h=u.height+s[0]+s[2],p=r.align;"right"===p&&(d[0]-=c),"center"===p&&(d[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(d[1]-=h),"middle"===f&&(d[1]-=h/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(d,c,h,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:d[0],y:d[1],style:DF(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function Mtt(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:BZ(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};OA(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)}),GA(a)?o=a.replace("{value}",o):VA(a)&&(o=a(s))}return o}function $tt(t,e,n){var i=[1,0,0,1,0,0];return hk(i,i,n.rotation),ck(i,i,n.position),hF([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function Ctt(t,e,n,i,r,o){var a=b0.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),Stt(e,i,r,o,{position:$tt(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function Itt(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function Ttt(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function Att(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var Dtt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=ktt(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var d=wtt(i),c=Ltt[s](o,u,l);c.style=d,t.graphicKey=c.type,t.pointer=c}Ctt(e,t,c0(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=c0(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=$tt(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=ktt(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 d=(s[1]+s[0])/2,c=[d,d];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(ytt);function ktt(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var Ltt={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:Itt([e,n[0]],[e,n[1]],Ott(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:Ttt([e-i/2,n[0]],[i,r],Ott(t))}}};function Ott(t){return"x"===t.dim?0:1}var Ett=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!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}(sG),Ptt=cP(),Ntt=OA;function Rtt(t,e,n){if(!aA.node){var i=e.getZr();Ptt(i).records||(Ptt(i).records={}),function(t,e){if(Ptt(t).initialized)return;function n(n,i){t.on(n,function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);Ntt(Ptt(t).records,function(t){t&&i(t,n,r.dispatchAction)}),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)})}Ptt(t).initialized=!0,n("click",zA(ztt,"click")),n("mousemove",zA(ztt,"mousemove")),n("globalout",Btt)}(i,e),(Ptt(i).records[t]||(Ptt(i).records[t]={})).handler=n}}function Btt(t,e,n){t.handler("leave",null,n)}function ztt(t,e,n,i){e.handler(t,n,i)}function Ftt(t,e){if(!aA.node){var n=e.getZr();(Ptt(n).records||{})[t]&&(Ptt(n).records[t]=null)}}var Vtt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";Rtt("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){Ftt("axisPointer",e)},e.prototype.dispose=function(t,e){Ftt("axisPointer",e)},e.type="axisPointer",e}(tj);function Gtt(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=dP(o,t);if(null==a||a<0||FA(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),d=l.getOtherAxis(u).dim,c=u.dim,h="x"===d||"radius"===d?1:0,p=o.mapDimension(c),f=[];f[h]=o.get(p,a),f[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(EA(l.dimensions,function(t){return o.mapDimension(t)}),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var Wtt=cP();function Htt(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||BA(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){Ztt(r)&&(r=Gtt({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=Ztt(r),u=o.axesInfo,d=s.axesInfo,c="leave"===i||Ztt(r),h={},p={},f={list:[],map:{}},g={showPointer:zA(Utt,p),showTooltip:zA(Ytt,f)};OA(s.coordSysMap,function(t,e){var n=l||t.containPoint(r);OA(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&jtt(t,a,g,!1,h)}})});var y={};return OA(d,function(t,e){var n=t.linkGroup;n&&!p[e]&&OA(n.axesInfo,function(e,i){var r=p[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,Xtt(e),Xtt(t)))),y[t.key]=o}})}),OA(y,function(t,e){jtt(d[e],t,g,!0,h)}),function(t,e,n){var i=n.axesInfo=[];OA(e,function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}(p,d,h),function(t,e,n,i){if(Ztt(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=Wtt(i)[r]||{},a=Wtt(i)[r]={};OA(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&OA(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t})});var s=[],l=[];OA(o,function(t,e){!a[e]&&l.push(t)}),OA(a,function(t,e){!o[e]&&s.push(t)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(d,0,n),h}}function jtt(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return OA(e.seriesModels,function(e,l){var u,d,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(c,t,n);d=h.dataIndices,u=h.nestestValue}else{if(!(d=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],d[0])}if(null!=u&&isFinite(u)){var p=t-u,f=Math.abs(p);f<=a&&((f<a||p>=0&&s<0)&&(a=f,s=p,r=u,o.length=0),OA(d,function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&TA(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function Utt(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function Ytt(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=k0(l),d=t.map[u];d||(d=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(d)),d.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function Xtt(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function Ztt(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function qtt(t){O0.registerAxisPointerClass("CartesianAxisPointer",Dtt),t.registerComponentModel(Ett),t.registerComponentView(Vtt),t.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!FA(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=I0(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Htt)}var Ktt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var d=wtt(i),c=Jtt[u](o,a,l,s);c.style=d,t.graphicKey=c.type,t.pointer=c}var h=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,d,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var h=[1,0,0,1,0,0];hk(h,h,s),ck(h,h,[i.cx,i.cy]),l=hF([a,-r],h);var p=e.getModel("axisLabel").get("rotate")||0,f=b0.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,d=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,m=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",d=Math.abs(l[1]-m)/g<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:d}}(e,n,0,a,i.get(["label","margin"]));Stt(t,n,i,r,h)},e}(ytt);var Jtt={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:Itt(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:Att(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:Att(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},Qtt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.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}(sG),tet=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",gP).models[0]},e.type="polarAxis",e}(sG);kA(tet,WZ);var eet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="angleAxis",e}(tet),net=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="radiusAxis",e}(tet),iet=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return rA(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(fq);iet.prototype.dataToRadius=fq.prototype.dataToCoord,iet.prototype.radiusToData=fq.prototype.coordToData;var ret=cP(),oet=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return rA(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(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=oE(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var d=Math.max(0,Math.floor(u)),c=ret(t.model),h=c.lastAutoInterval,p=c.lastTickCount;return null!=h&&null!=p&&Math.abs(h-d)<=1&&Math.abs(p-r)<=1&&h>d?d=h:(c.lastTickCount=r,c.lastAutoInterval=d),d},e}(fq);oet.prototype.dataToAngle=fq.prototype.dataToCoord,oet.prototype.angleToData=fq.prototype.coordToData;var aet=["radius","angle"],set=function(){function t(t){this.dimensions=aet,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new iet,this._angleAxis=new oet,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){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),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 n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){return uet(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return uet(e)===this?this.pointToData(n):null},t}();function uet(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function det(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();OA(GZ(e,"radius"),function(t){r.scale.unionExtentFromData(e,t)}),OA(GZ(e,"angle"),function(t){i.scale.unionExtentFromData(e,t)})}}),PZ(i.scale,i.model),PZ(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function cet(t,e){var n;if(t.type=e.get("type"),t.scale=NZ(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var het={dimensions:aet,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var r=new set(i+"");r.update=det;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");cet(o,s),cet(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=AE(i[0],r),t.cy=AE(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:FA(l)||(l=[0,l]);var u=[AE(l[0],s),AE(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",gP).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},pet=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function fet(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function get(t){return t.getRadiusAxis().inverse?0:1}function yet(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var met=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return rA(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=EA(n.getViewLabels(),function(t){t=$A(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t});yet(s),yet(o),OA(pet,function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||vet[e](this.group,t,i,o,a,r,s)},this)}},e.type="angleAxis",e}(O0),vet={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,d=l.getExtent(),c=get(n),h=c?0:1,p=360===Math.abs(d[1]-d[0])?"Circle":"Arc";(a=0===o[h]?new MF[p]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-d[0]*u,endAngle:-d[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new yz({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[h]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[get(n)],u=EA(i,function(t){return new Mz({shape:fet(n,[l,l+s],t.coord)})});t.add(sF(u,{style:AA(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[get(n)],d=[],c=0;c<r.length;c++)for(var h=0;h<r[c].length;h++)d.push(new Mz({shape:fet(n,[u,u+l],r[c][h].coord)}));t.add(sF(d,{style:AA(s.getModel("lineStyle").getLineStyle(),AA(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),d=e.get("triggerEvent");OA(a,function(i,r){var a=l,c=i.tickValue,h=o[get(n)],p=n.coordToPoint([h+u,i.coord]),f=n.cx,g=n.cy,y=Math.abs(p[0]-f)/h<.3?"center":p[0]>f?"left":"right",m=Math.abs(p[1]-g)/h<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[c]){var v=s[c];jA(v)&&v.textStyle&&(a=new JF(v.textStyle,l,l.ecModel))}var x=new xR({silent:b0.isLabelSilent(e),style:DF(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:m})});if(t.add(x),d){var _=b0.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,LR(x).eventData=_}},this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],d=0;d<i.length;d++){var c=l++%s.length;u[c]=u[c]||[],u[c].push(new Mz({shape:fet(n,o,i[d].coord)}))}for(d=0;d<u.length;d++)t.add(sF(u[d],{style:AA({stroke:s[d%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new Mz({shape:fet(n,o,r[l][u].coord)}));t.add(sF(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],d=Math.PI/180,c=-i[0].coord*d,h=Math.min(o[0],o[1]),p=Math.max(o[0],o[1]),f=e.get("clockwise"),g=1,y=i.length;g<=y;g++){var m=g===y?i[0].coord:i[g].coord,v=l++%s.length;u[v]=u[v]||[],u[v].push(new fz({shape:{cx:n.cx,cy:n.cy,r0:h,r:p,startAngle:c,endAngle:-m*d,clockwise:f},silent:!0})),c=-m*d}for(g=0;g<u.length;g++)t.add(sF(u[g],{style:AA({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}},xet=["axisLine","axisTickLabel","axisName"],_et=["splitLine","splitArea","minorSplitLine"],bet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return rA(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new bE;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=a.getExtent()[0],d=r.getExtent(),c=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,u),h=new b0(t,c);OA(xet,h.add,h),i.add(h.getGroup()),gF(n,i,t),OA(_et,function(e){t.get([e,"show"])&&!r.scale.isBlank()&&wet[e](this.group,t,o,u,d,s,l)},this)}},e.type="radiusAxis",e}(O0),wet={splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0,u=n.getAngleAxis(),d=Math.PI/180,c=u.getExtent(),h=360===Math.abs(c[1]-c[0])?"Circle":"Arc";s=s instanceof Array?s:[s];for(var p=[],f=0;f<o.length;f++){var g=l++%s.length;p[g]=p[g]||[],p[g].push(new MF[h]({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[f].coord,0),startAngle:-c[0]*d,endAngle:-c[1]*d,clockwise:u.inverse}}))}for(f=0;f<p.length;f++)t.add(sF(p[f],{style:AA({stroke:s[f%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var d=0;d<a[u].length;d++)l.push(new KB({shape:{cx:n.cx,cy:n.cy,r:a[u][d].coord}}));t.add(sF(l,{style:AA({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],d=o[0].coord,c=1;c<o.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new fz({shape:{cx:n.cx,cy:n.cy,r0:d,r:o[c].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=o[c].coord}for(c=0;c<u.length;c++)t.add(sF(u[c],{style:AA({fill:s[c%s.length]},a.getAreaStyle()),silent:!0}))}}};function Met(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function $et(t,e){return e.dim+t.model.componentIndex}function Cet(t,e,n){var i={},r=function(t){var e={};OA(t,function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=$et(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=u.stacks;e[a]=u;var c=Met(t);d[c]||u.autoWidthCount++,d[c]=d[c]||{width:0,maxWidth:0};var h=AE(t.get("barWidth"),l),p=AE(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");h&&!d[c].width&&(h=Math.min(u.remainedWidth,h),d[c].width=h,u.remainedWidth-=h),p&&(d[c].maxWidth=p),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)});var n={};return OA(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=AE(t.categoryGap,r),a=AE(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),OA(i,function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)}),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var d,c=0;OA(i,function(t,e){t.width||(t.width=u),d=t,c+=t.width*(1+a)}),d&&(c-=d.width*a);var h=-c/2;OA(i,function(t,i){n[e][i]=n[e][i]||{offset:h,width:t.width},h+=t.width*(1+a)})}),n}(NA(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(),n=t.coordinateSystem,o=n.getBaseAxis(),a=$et(n,o),s=Met(t),l=r[a][s],u=l.offset,d=l.width,c=n.getOtherAxis(o),h=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var y=e.mapDimension(c.dim),m=e.mapDimension(o.dim),v=EX(e,y),x="radius"!==o.dim||!t.get("roundCap",!0),_=c.model.get("startValue"),b=c.dataToCoord(_||0),w=0,S=e.count();w<S;w++){var M=e.get(y,w),$=e.get(m,w),C=M>=0?"p":"n",I=b;v&&(i[s][$]||(i[s][$]={p:b,n:b}),I=i[s][$][C]);var T=void 0,A=void 0,D=void 0,k=void 0;if("radius"===c.dim){var L=c.dataToCoord(M)-b,O=o.dataToCoord($);Math.abs(L)<f&&(L=(L<0?-1:1)*f),T=I,A=I+L,k=(D=O-u)-d,v&&(i[s][$][C]=A)}else{var E=c.dataToCoord(M,x)-b,P=o.dataToCoord($);Math.abs(E)<g&&(E=(E<0?-1:1)*g),A=(T=P+u)+d,D=I,k=I+E,v&&(i[s][$][C]=k)}e.setItemLayout(w,{cx:h,cy:p,r0:T,r:A,startAngle:-D*Math.PI/180,endAngle:-k*Math.PI/180,clockwise:D>=k})}}})}var Iet={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},Tet={splitNumber:5},Aet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="polar",e}(tj);function Det(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),KA(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var d=e.rotate;return null==d&&(d=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-d:d,r.z2=1,r}var ket=["axisLine","axisTickLabel","axisName"],Let=["splitArea","splitLine"],Oet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return rA(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new bE;var s=Det(e),l=new b0(e,s);OA(ket,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),OA(Let,function(t){e.get([t,"show"])&&Eet[t](this,this.group,this._axisGroup,e)},this),gF(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){N0(this)},e.type="singleAxis",e}(O0),Eet={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),d=r.isHorizontal(),c=[],h=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y<p.length;++y){var m=r.toGlobalCoord(p[y].coord);d?(f[0]=m,f[1]=u.y,g[0]=m,g[1]=u.y+u.height):(f[0]=u.x,f[1]=m,g[0]=u.x+u.width,g[1]=m);var v=new Mz({shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},silent:!0});uF(v.shape,l);var x=h++%s.length;c[x]=c[x]||[],c[x].push(v)}var _=a.getLineStyle(["color"]);for(y=0;y<c.length;++y)e.add(sF(c[y],{style:AA({stroke:s[y%s.length]},_),silent:!0}))}},splitArea:function(t,e,n,i){P0(t,n,i,i)}},Pet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(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}(sG);kA(Pet,WZ.prototype);var Net=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return rA(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}(fq),Ret=["single"],Bet=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=Ret,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new Net(i,NZ(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();OA(e.mapDimensionsAll(this.dimension),function(t){this._axis.scale.unionExtentFromData(e,t)},this),PZ(this._axis.scale,this._axis.model)}},this)},t.prototype.resize=function(t,e){this._rect=tG({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,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-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(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.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(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return zet(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return zet(e)===this?this.pointToData(n):null},t}();function zet(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var Fet={create:function(t,e){var n=[];return t.eachComponent("singleAxis",function(i,r){var o=new Bet(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",gP).models[0];t.coordinateSystem=e&&e.coordinateSystem}}),n},dimensions:Ret},Vet=["x","y"],Get=["width","height"],Wet=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=Uet(a,1-jet(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var d=wtt(i),c=Het[u](o,l,s);c.style=d,t.graphicKey=c.type,t.pointer=c}Ctt(e,t,Det(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=Det(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=$tt(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=jet(r),s=Uet(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=Uet(o,1-a),d=(u[1]+u[0])/2,c=[d,d];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(ytt),Het={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:Itt([e,n[0]],[e,n[1]],jet(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:Ttt([e-i/2,n[0]],[i,r],jet(t))}}};function jet(t){return t.isHorizontal()?0:1}function Uet(t,e){var n=t.getRect();return[n[Vet[e]],n[Vet[e]]+n[Get[e]]]}var Yet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="single",e}(tj);var Xet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(e,n,i){var r=rG(e);t.prototype.init.apply(this,arguments),Zet(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),Zet(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}(sG);function Zet(t,e){var n,i=t.cellSize;1===(n=FA(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=EA([0,1],function(t){return function(t,e){return null!=t[KV[e][0]]||null!=t[KV[e][1]]&&null!=t[KV[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});iG(t,e,{type:"box",ignoreSize:r})}var qet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new yR({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){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,d=0;u.time<=e.end.time;d++){h(u.formatedDate),0===d&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function h(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}h(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new bz({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return GA(t)&&t?(n=t,OA(e,function(t,e){n=n.replace("{"+e+"}",t)}),n):VA(t)?t(e):e.nameMap;var n},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"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,d="horizontal"===n?0:1,c={top:[l,s[d][1]],bottom:[l,s[1-d][1]],left:[s[1-d][0],u],right:[s[d][0],u]},h=e.start.y;+e.end.y>+e.start.y&&(h=h+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:h},g=this._formatterLabel(p,f),y=new xR({z2:30,style:DF(r,{text:g}),silent:r.get("silent")});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!GA(o)||(o&&(e=uV(o)||e),o=e.get(["time","monthAbbr"])||[]);var d="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var h="center"===l,p=r.get("silent"),f=0;f<u[d].length-1;f++){var g=u[d][f].slice(),y=this._firstDayOfMonth[f];if(h){var m=this._firstDayPoints[f];g[c]=(m[c]+u[0][f+1][c])/2}var v=r.get("formatter"),x=o[+y.m-1],_={yyyy:y.y,yy:(y.y+"").slice(2),MM:y.m,M:+y.m,nameMap:x},b=this._formatterLabel(v,_),w=new xR({z2:30,style:TA(DF(r,{text:b}),this._monthTextPositionControl(g,h,n,s,a)),silent:p});i.add(w)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),d=a.getFirstDayOfWeek();if(!l||GA(l))l&&(e=uV(l)||e),l=e.get(["time","dayOfWeekShort"])||EA(e.get(["time","dayOfWeekAbbr"]),function(t){return t[0]});var c=a.getNextNDay(n.end.time,7-n.lweek).time,h=[a.getCellWidth(),a.getCellHeight()];u=AE(u,Math.min(h[1],h[0])),"start"===s&&(c=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var p=o.get("silent"),f=0;f<7;f++){var g,y=a.getNextNDay(c,f),m=a.dataToRect([y.time],!1).center;g=Math.abs((f+d)%7);var v=new xR({z2:30,style:TA(DF(o,{text:l[g]}),this._weekTextPositionControl(m,i,s,u,h)),silent:p});r.add(v)}}},e.type="calendar",e}(tj),Ket=864e5,Jet=function(){function t(e,n,i){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){var e=(t=zE(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:i,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).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 n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];OA([0,1],function(t){u(r,t)&&(o[i[t]]=r[t]*a[t])});var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=tG(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}OA([0,1],function(t){u(r,t)||(r[t]=l[i[t]]/a[t])}),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){FA(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+Ket))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.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 n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=Qet(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=Qet(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(FA(e)&&1===e.length&&(e=e[0]),FA(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}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,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/Ket)-Math.floor(n[0].time/Ket)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),d=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:d,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",function(e){var n=new t(e);i.push(n),e.coordinateSystem=n}),e.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},t.dimensions=["time","value"],t}();function Qet(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function tnt(t,e){var n;return OA(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}var ent=["transition","enterFrom","leaveTo"],nnt=ent.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function int(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?ent:nnt,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var rnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return rA(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=rP(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];OA(a,function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=TA({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(CA(r,i,!0),iG(r,i,{ignoreSize:!0}),oG(n,r),int(n,r),int(n,r,"shape"),int(n,r,"style"),int(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[tnt(e,["left","right"]),tnt(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))},this),n.elements=NA(r,function(t){return t&&delete t.$action,null!=t})},e.prototype._flatten=function(t,e,n){OA(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,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}(sG),ont={path:null,compoundPath:null,group:bE,image:uR,text:xR},ant=cP(),snt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(){this._elMap=dD()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");OA(e,function(e){var a=sP(e.id,null),s=null!=a?n.get(a):null,l=sP(e.parentId,null),u=null!=l?n.get(l):i,d=e.type,c=e.style;"text"===d&&c&&e.hv&&e.hv[1]&&(c.textVerticalAlign=c.textBaseline=c.verticalAlign=c.align=null);var h=e.textContent,p=e.textConfig;if(c&&p7(c,d,!!p,!!h)){var f=f7(c,d,!0);!p&&f.textConfig&&(p=e.textConfig=f.textConfig),!h&&f.textContent&&(h=f.textContent)}var g=function(t){return t=TA({},t),OA(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(qV),function(e){delete t[e]}),t}(e),y=e.$action||"merge",m="merge"===y,v="replace"===y;if(m){var x=s;(C=!s)?x=unt(a,u,e.type,n):(x&&(ant(x).isNew=!1),P7(x)),x&&(S7(x,g,t,{isInit:C}),cnt(x,e,r,o))}else if(v){dnt(s,e,n,t);var _=unt(a,u,e.type,n);_&&(S7(_,g,t,{isInit:!0}),cnt(_,e,r,o))}else"remove"===y&&(M7(s,e),dnt(s,e,n,t));var b=n.get(a);if(b&&h)if(m){var w=b.getTextContent();w?w.attr(h):b.setTextContent(new xR(h))}else v&&b.setTextContent(new xR(h));if(b){var S=e.clipPath;if(S){var M=S.type,$=void 0,C=!1;if(m){var I=b.getClipPath();$=(C=!I||ant(I).type!==M)?lnt(M):I}else v&&(C=!0,$=lnt(M));b.setClipPath($),S7($,S,t,{isInit:C}),N7($,S.keyframeAnimation,t)}var T=ant(b);b.setTextConfig(p),T.option=e,function(t,e,n){var i=LR(t).eventData;t.silent||t.ignore||i||(i=LR(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=n.info)}(b,t,e),bF({el:b,componentModel:t,itemName:b.name,itemTooltipOption:e.tooltip}),N7(b,e.keyframeAnimation,t)}})}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((f=null!=(p=sP((h=n[l]).id,null))?r.get(p):null)&&f.isGroup){var u=(g=f.parent)===i,d=ant(f),c=ant(g);d.width=AE(d.option.width,u?o:c.width)||0,d.height=AE(d.option.height,u?a:c.height)||0}}for(l=n.length-1;l>=0;l--){var h,p,f;if(f=null!=(p=sP((h=n[l]).id,null))?r.get(p):null){var g=f.parent,y=(c=ant(g),{}),m=eG(f,h,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:h.hv,boundingMode:h.bounding},y);if(!ant(f).isNew&&m){for(var v=h.transition,x={},_=0;_<s.length;_++){var b=s[_],w=y[b];v&&(C7(v)||DA(v,b)>=0)?x[b]=w:f[b]=w}jz(f,x,t,0)}else f.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(n){dnt(n,ant(n).option,e,t._lastGraphicModel)}),this._elMap=dD()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(tj);function lnt(t){var e=new(fD(ont,t)?ont[t]:iF(t))({});return ant(e).type=t,e}function unt(t,e,n,i){var r=lnt(n);return e.add(r),i.set(t,r),ant(r).id=t,ant(r).isNew=!0,r}function dnt(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse(function(t){dnt(t,e,n,i)}),$7(t,e,i),n.removeKey(ant(t).id))}function cnt(t,e,n,i){t.isGroup||OA([["cursor",eN.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],function(n){var i=n[0];fD(e,i)?t[i]=JA(e[i],n[1]):null==t[i]&&(t[i]=n[1])}),OA(RA(e),function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=VA(i)?i:null}}),fD(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var hnt=["x","y","radius","angle","single"],pnt=["cartesian2d","polar","singleAxis"];function fnt(t){return t+"Axis"}function gnt(t,e){var n,i=dD(),r=[],o=dD();t.eachComponent({mainType:"dataZoom",query:e},function(t){o.get(t.uid)||s(t)});do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis(function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)}),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis(function(t,e){(i.get(t)||i.set(t,[]))[e]=!0})}return r}function ynt(t){var e=t.ecModel,n={infoList:[],infoMap:dD()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(fnt(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}}),n}var mnt=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}(),vnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return rA(e,t),e.prototype.init=function(t,e,n){var i=xnt(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=xnt(t);CA(this.option,t,!0),CA(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;OA([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=dD();this._fillSpecifiedTargetAxis(e)?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 OA(hnt,function(n){var i=this.getReferringComponents(fnt(n),yP);if(i.specified){e=!0;var r=new mnt;OA(i.models,function(t){r.add(t.componentIndex)}),t.set(n,r)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new mnt;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",gP).models[0];a&&OA(e,function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",gP).models[0]&&o.add(t.componentIndex)})}}}i&&OA(hnt,function(e){if(i){var r=n.findComponents({mainType:fnt(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new mnt;o.add(r[0].componentIndex),t.set(e,o),i=!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,n=this.get("rangeMode");OA([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(fnt(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){OA(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(fnt(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;OA([["start","startValue"],["end","endValue"]],function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;OA(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},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 n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],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}(sG);function xnt(t){var e={};return OA(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var _nt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="dataZoom.select",e}(vnt),bnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(tj),wnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="dataZoom.select",e}(bnt),Snt=OA,Mnt=kE,$nt=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}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(function(t){var e=t.get("coordinateSystem");return DA(pnt,e)>=0}(e)){var n=fnt(this._dimName),i=e.getReferringComponents(n,gP).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return $A(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];Snt(["start","end"],function(l,u){var d=t[l],c=t[l+"Value"];"percent"===r[u]?(null==d&&(d=o[u]),c=i.parse(TE(d,o,n))):(e=!0,d=TE(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==d||isNaN(d)?o[u]:d}),Mnt(s),Mnt(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";j5(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=TE(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];Snt(n,function(t){!function(t,e,n){e&&OA(GZ(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}(i,t.getData(),e)});var r=t.getAxisModel(),o=LZ(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&Snt(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=EA(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,r,l=0;l<i.length;l++){var u=a.get(s[l],t),d=!isNaN(u),c=u<o[0],h=u>o[1];if(d&&!c&&!h)return!0;d&&(r=!0),c&&(e=!0),h&&(n=!0)}return r&&e&&n})}else Snt(i,function(n){if("empty"===r)t.setData(e=e.map(n,function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN}));else{var i={};i[n]=o,e.selectRange(i)}});Snt(i,function(t){e.setApproximateExtent(o,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Snt(["min","max"],function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=TE(n[0]+o,n,[0,100],!0):null!=r&&(o=TE(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=OE(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var Cnt={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,r){var o=t.getComponent(fnt(i),r);e(i,r,o,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new $nt(e,i,o,t),n.push(r.__dzAxisProxy))});var i=dD();return OA(n,function(t){OA(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};var Int=!1;function Tnt(t){Int||(Int=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,Cnt),function(t){t.registerAction("dataZoom",function(t,e){OA(gnt(e,t),function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Ant(t){t.registerComponentModel(_nt),t.registerComponentView(wnt),Tnt(t)}var Dnt=function(){return function(){}}(),knt={};function Lnt(t,e){knt[t]=e}function Ont(t){return knt[t]}var Ent=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;OA(this.option.feature,function(t,n){var i=Ont(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),CA(t,i.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}(sG);function Pnt(t,e){var n=GV(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new yR({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var Nnt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];OA(s,function(t,e){u.push(e)}),new iX(this._featureNames||[],u).add(d).update(d).remove(zA(d,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=tG(i,o,r);QV(e.get("orient"),t,e.get("itemGap"),a.width,a.height),eG(t,i,o,r)}(r,t,n),r.add(Pnt(r.getBoundingRect(),t)),a||r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!VA(l)&&e){var u=l.style||(l.style={}),d=oE(e,xR.makeFont(u)),c=t.x+r.x,h=!1;t.y+r.y+o+d.height>n.getHeight()&&(a.position="top",h=!0);var p=h?-5-d.height:o+10;c+d.width/2>n.getWidth()?(a.position=["100%",p],u.align="right"):c-d.width/2<0&&(a.position=[0,p],u.align="left")}})}function d(d,c){var h,p=u[d],f=u[c],g=s[p],y=new JF(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===p&&(g.title=i.newTitle),p&&!f){if(function(t){return 0===t.indexOf("my")}(p))h={onclick:y.option.onclick,featureName:p};else{var m=Ont(p);if(!m)return;h=new m}l[p]=h}else if(!(h=l[f]))return;h.uid=tV("toolbox-feature"),h.model=y,h.ecModel=e,h.api=n;var v=h instanceof Dnt;p||!f?!y.get("show")||v&&h.unusable?v&&h.remove&&h.remove(e,n):(!function(i,s,l){var u,d,c=i.getModel("iconStyle"),h=i.getModel(["emphasis","iconStyle"]),p=s instanceof Dnt&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};GA(p)?(u={})[l]=p:u=p;GA(f)?(d={})[l]=f:d=f;var g=i.iconPaths={};OA(u,function(l,u){var p=mF(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(c.getItemStyle()),p.ensureState("emphasis").style=h.getItemStyle();var f=new xR({style:{text:d[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null,font:NF({fontStyle:h.get("textFontStyle"),fontFamily:h.get("textFontFamily"),fontSize:h.get("textFontSize"),fontWeight:h.get("textFontWeight")},e)},ignore:!0});p.setTextContent(f),bF({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:d[u]}}),p.__title=d[u],p.on("mouseover",function(){var e=h.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),p.setTextConfig({position:h.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()}),("emphasis"===i.get(["iconStatus",u])?sB:lB)(p),r.add(p),p.on("click",BA(s.onclick,s,e,n,u)),g[u]=p})}(y,h,p),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?sB:lB)(i[t])},h instanceof Dnt&&h.render&&h.render(y,e,n,i)):v&&h.dispose&&h.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){OA(this._features,function(t){t instanceof Dnt&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.remove=function(t,e){OA(this._features,function(n){n instanceof Dnt&&n.remove&&n.remove(t,e)}),this.group.removeAll()},e.prototype.dispose=function(t,e){OA(this._features,function(n){n instanceof Dnt&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(tj);var Rnt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=aA.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var l=a.split(","),u=l[0].indexOf("base64")>-1,d=r?decodeURIComponent(l[1]):l[1];u&&(d=window.atob(d));var c=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var h=d.length,p=new Uint8Array(h);h--;)p[h]=d.charCodeAt(h);var f=new Blob([p]);window.navigator.msSaveOrOpenBlob(f,c)}else{var g=document.createElement("iframe");document.body.appendChild(g);var y=g.contentWindow,m=y.document;m.open("image/svg+xml","replace"),m.write(d),m.close(),y.focus(),m.execCommand("SaveAs",!0,c),document.body.removeChild(g)}}else{var v=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(v&&v[0]||"")+'" /></body>',_=window.open();_.document.write(x),_.document.title=i}else{var b=document.createElement("a");b.download=i+"."+o,b.target="_blank",b.href=a;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(w)}},e.getDefaultOption=function(t){return{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"])}},e}(Dnt),Bnt="__ec_magicType_stack__",znt=[["line","bar"],["stack"]],Fnt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return OA(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{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:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(Vnt[n]){var o,a={series:[]};OA(znt,function(t){DA(t,n)>=0&&OA(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(t){var e=t.subType,r=t.id,o=Vnt[n](e,r,t,i);o&&(AA(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",d=t.getReferringComponents(u,gP).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=d;c++)a[u][d]=a[u][d]||{};a[u][d].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(o=CA({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(Dnt),Vnt={line:function(t,e,n,i){if("bar"===t)return CA({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return CA({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Bnt;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),CA({id:e,stack:r?"":Bnt},i.get(["option","stack"])||{},!0)}};jY({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var Gnt=new Array(60).join("-"),Wnt="\t";function Hnt(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var jnt=new RegExp("[\t]+","g");function Unt(t,e){var n=t.split(new RegExp("\n*"+Gnt+"\n*","g")),i={series:[]};return OA(n,function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Wnt)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=EA(Hnt(e.shift()).split(jnt),function(t){return{name:t,data:[]}}),r=0;r<e.length;r++){var o=Hnt(e[r]).split(jnt);n.push(o.shift());for(var a=0;a<o.length;a++)i[a]&&(i[a].data[r]=o[a])}return{series:i,categories:n}}(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=Hnt(e.shift()),i=[],r=0;r<e.length;r++){var o=Hnt(e[r]);if(o){var a=o.split(jnt),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var d=0;d<a.length;d++)l.push(+a[d]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);i.series.push(r)}}),i}var Ynt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n=e.getDom(),i=this.model;this._dom&&n.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=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),d=i.get("contentToOption"),c=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.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:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:NA([(n=r.seriesGroupByCategoryAxis,i=[],OA(n,function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(EA(t.series,function(t){return t.name})),a=[n.model.getCategories()];OA(t.series,function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),function(t){return t}))});for(var s=[o.join(Wnt)],l=0;l<a[0].length;l++){for(var u=[],d=0;d<a.length;d++)u.push(a[d][l]);s.push(u.join(Wnt))}i.push(s.join("\n"))}),i.join("\n\n"+Gnt+"\n\n")),(e=r.other,EA(e,function(t){var e=t.getRawData(),n=[t.name],i=[];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++)i[a]=arguments[a];n.push((o?o+Wnt:"")+i.join(Wnt))}),n.join("\n")}).join("\n\n"+Gnt+"\n\n"))],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join("\n\n"+Gnt+"\n\n"),meta:r.meta}}(t);if(VA(u)){var h=u(e.getOption());GA(h)?s.innerHTML=h:XA(h)&&s.appendChild(h)}else{l.readOnly=i.get("readOnly");var p=l.style;p.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",p.color=i.get("textColor"),p.borderColor=i.get("textareaBorderColor"),p.backgroundColor=i.get("textareaColor"),l.value=c.value,s.appendChild(l)}var f=c.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),v=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var x=this;function _(){n.removeChild(r),x._dom=null}tk(m,"click",_),tk(v,"click",function(){if(null==d&&null!=u||null!=d&&null==u)_();else{var t;try{t=VA(d)?d(s,e.getOption()):Unt(l.value,f)}catch(Qb){throw _(),new Error("Data view format error "+Qb)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),_()}}),m.innerHTML=a[1],v.innerHTML=a[2],v.style.cssText=m.style.cssText=y,!i.get("readOnly")&&g.appendChild(v),g.appendChild(m),r.appendChild(o),r.appendChild(s),r.appendChild(g),s.style.height=n.clientHeight-80+"px",n.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){return{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"}},e}(Dnt);function Xnt(t,e){return EA(t,function(t,n){var i=e&&e[n];if(jA(i)&&!FA(i)){jA(t)&&!FA(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=AA(t,i),r&&delete t.name,t}return t})}jY({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];OA(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:Xnt(t.data,r)})}else n.push(TA({type:"scatter"},t))}),e.mergeOption(AA({series:n},t.newOption))});var Znt=OA,qnt=cP();function Knt(t){var e=qnt(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var Jnt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.onclick=function(t,e){!function(t){qnt(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{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"])}},e}(Dnt);jY({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var Qnt=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],tit=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=nit(e,t);OA(iit,function(t,e){(!n||!n.include||DA(n.include,e)>=0)&&t(r,i._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=ait[t.brushType](0,n,e);t.__rangeOffset={offset:lit[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){OA(t,function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&OA(i.coordSyses,function(i){var r=ait[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){OA(t,function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=ait[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?lit[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=dit(n),o=dit(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}},this)},t.prototype.makePanelOpts=function(t,e){return EA(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:Y9(i),isTargetByCursor:Z9(i,t,n.coordSysModel),getLinearBrushOtherExtent:X9(i)}})},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&DA(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=nit(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<rit.length;s++)if(rit[s](i,o))return o}return!0},t}();function eit(t){return t[0]>t[1]&&t.reverse(),t}function nit(t,e){return pP(t,e,{includeMainTypes:Qnt})}var iit={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=dD(),a={},s={};(n||i||r)&&(OA(n,function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0}),OA(i,function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0}),OA(r,function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0}),o.each(function(t){var r=t.coordinateSystem,o=[];OA(r.getCartesians(),function(t,e){(DA(n,t.getAxis("x").model)>=0||DA(i,t.getAxis("y").model)>=0)&&o.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:oit.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){OA(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:oit.geo})})}},rit=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],oit={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(cF(t)),e}},ait={lineX:zA(sit,0),lineY:zA(sit,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[eit([r[0],o[0]]),eit([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:EA(n,function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);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}),xyMinMax:r}}};function sit(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=eit(EA([0,1],function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))})),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var lit={lineX:zA(uit,0),lineY:zA(uit,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return EA(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function uit(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function dit(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var cit,hit,pit=OA,fit=JE+"toolbox-dataZoom_",git=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new y9(n.getZr()),this._brushController.on("brush",BA(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new tit(mit(t),e,{include:["grid"]}),s=a.makePanelOpts(r,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return Knt(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){yit[n].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 n={},i=this.ecModel;this._brushController.updateCovers([]),new tit(mit(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}}),function(t,e){var n=Knt(t);Znt(e,function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}}),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=j5(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];pit(t,function(t,n){e.push($A(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{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)"}}},e}(Dnt),yit={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=Knt(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return Znt(n,function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}}),i}(this.ecModel))}};function mit(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}cit="dataZoom",hit=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=pP(t,mit(i));return pit(o.xAxisModels,function(t){return a(t,"xAxis","xAxisIndex")}),pit(o.yAxisModels,function(t){return a(t,"yAxis","yAxisIndex")}),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:fit+e+o};a[n]=o,r.push(a)}},nD(null==AG.get(cit)&&hit),AG.set(cit,hit);var vit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(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}(sG);function xit(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function _it(t){if(aA.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var bit=_it(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function wit(t,e){if(!t)return e;e=VV(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var Sit=wit(_it(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),Mit=wit(bit,"transform"),$it="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(aA.transform3dSupported?"will-change:transform;":"");function Cit(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!aA.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=aA.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+Mit+":"+a+";":[["top",0],["left",0],[bit,a]]}function Iit(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),d=t.getModel("textStyle"),c=FH(t,"html"),h=l+"px "+u+"px "+a+"px "+s;return i.push("box-shadow:"+h),e&&r&&i.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=aA.transformSupported?","+Mit+i:",left"+i+",top"+i),Sit+":"+r}(r,n)),o&&i.push("background-color:"+o),OA(["width","color","radius"],function(e){var n="border-"+e,r=VV(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))}),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=JA(t.get("lineHeight"),Math.round(3*n/2));n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),OA(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}(d)),null!=c&&i.push("padding:"+GV(c).join("px ")+"px"),i.join(";")+";"}function Tit(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){GD(VD,e,i,r,!0)&&GD(t,n,VD[0],VD[1])}(t,a,n,i,r)}else{t[0]=i,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 Ait=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,aA.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&(GA(r)?document.querySelector(r):XA(r)?r:VA(r)&&r(t.getDom()));Tit(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler;QD(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=(o="position",(a=(r=e).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r))?a[o]:null),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r,o,a,s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=$it+Iit(t,!this._firstShow,this._longHide)+Cit(r[0],r[1],!0)+"border-color:"+YV(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(GA(r)&&"item"===n.get("trigger")&&!xit(n)&&(a=function(t,e,n){if(!GA(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=YV(e);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",d=Mit+":";DA(["left","right"],s)>-1?(u+="top:50%",d+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",d+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,h=l+r,p=h*Math.abs(Math.cos(c))+h*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-h)/2))/100+"px")+";"+d+";","border-bottom:"+f,"border-right:"+f,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),GA(t))o.innerHTML=t+a;else if(t){o.innerHTML="",FA(t)||(t=[t]);for(var s=0;s<t.length;s++)XA(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(Tit(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;OA(Cit(n[0],n[1]),function(t){i[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",aA.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||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(BA(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),Dit=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),Oit(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;jA(t)&&ZE(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new xR({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:FH(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),OA(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),OA(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=Lit(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;Oit(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=kit(r.borderWidth||0),a=Lit(r);n.x=t+o+a.left,n.y=e+o+a.top,n.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||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(BA(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function kit(t){return Math.max(0,t)}function Lit(t){var e=kit(t.shadowBlur||0),n=kit(t.shadowOffsetX||0),i=kit(t.shadowOffsetY||0);return{left:kit(e-n),right:kit(e+n),top:kit(e-i),bottom:kit(e+i)}}function Oit(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var Eit=new yR({shape:{x:-1,y:-1,width:2,height:2}}),Pit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(t,e){if(!aA.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?aA.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new Dit(e):new Ait(e,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!aA.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?fj(this,"_updatePosition",50,"fixRate"):gj(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");Rtt("itemTooltip",this._api,BA(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!aA.node&&n.getDom()){var r=Rit(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=fP(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=mP(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse(function(e){var n=LR(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0}),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=Eit;l.x=i.x,l.y=i.y,l.update(),LR(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=Gtt(i,e),d=u.point[0],c=u.point[1];null!=d&&null!=c&&this._tryShow({offsetX:d,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Rit(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===Nit([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===LR(n).ssrType)return;this._lastDataByCoordSys=null,rU(n,function(t){return null!=LR(t).dataIndex?(r=t,!0):null!=LR(t).tooltipConfig?(o=t,!0):void 0},!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=BA(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Nit([e.tooltipOption],i),a=this._renderMode,s=[],l=DH("section",{blocks:[],noHeader:!0}),u=[],d=new VH;OA(t,function(t){OA(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=Mtt(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=DH("section",{header:o,noHeader:!iD(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),OA(t.seriesDataIndices,function(l){var h=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=h.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=BZ(e.axis,{value:r}),f.axisValueLabel=o,f.marker=d.makeTooltipMarker("item",YV(f.color),a);var g=HW(h.formatTooltip(p,!0,null)),y=g.frag;if(y){var m=Nit([h],i).get("valueFormatter");c.blocks.push(m?TA({valueFormatter:m},y):y)}g.text&&u.push(g.text),s.push(f)}})}})}),l.blocks.reverse(),u.reverse();var c=e.position,h=o.get("order"),p=NH(l,d,a,h,n.get("useUTC"),o.get("textStyle"));p&&u.unshift(p);var f="richText"===a?"\n\n":"<br/>",g=u.join(f);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,d)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=LR(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,d=s.getData(u),c=this._renderMode,h=t.positionDefault,p=Nit([d.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new VH;g.marker=y.makeTooltipMarker("item",YV(g.color),c);var m=HW(s.formatTooltip(l,!1,u)),v=p.get("order"),x=p.get("valueFormatter"),_=m.frag,b=_?NH(x?TA({valueFormatter:x},_):_,y,c,v,i.get("useUTC"),p.get("textStyle")):m.text,w="item_"+s.name+"_"+l;this._showOrMove(p,function(){this._showTooltipContent(p,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)}),n({type:"showTip",dataIndexInside:l,dataIndex:d.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=LR(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(GA(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=$A(o)).content=UD(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,d=Nit(s,this._tooltipModel,u?{position:u}:null),c=d.get("content"),h=Math.random()+"",p=new VH;this._showOrMove(d,function(){var n=$A(d.get("formatterParams")||{});this._showTooltipContent(d,c,n,h,t.offsetX,t.offsetY,t.position,e,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var d=t.get("formatter");a=a||t.get("position");var c=e,h=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(d)if(GA(d)){var p=t.ecModel.get("useUTC"),f=FA(n)?n[0]:n;c=d,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=SV(f.axisValue,c,p)),c=UV(c,n,!0)}else if(VA(d)){var g=BA(function(e,i){e===this._ticket&&(u.setContent(i,l,t,h,a),this._updatePosition(t,a,r,o,u,n,s))},this);this._ticket=i,c=d(n,i,g)}else c=d;u.setContent(c,l,t,h,a),u.show(t,h),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||FA(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:FA(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),d=t.get("align"),c=t.get("verticalAlign"),h=a&&a.getBoundingRect().clone();if(a&&h.applyTransform(a.transform),VA(e)&&(e=e([n,i],o,r.el,h,{viewSize:[s,l],contentSize:u.slice()})),FA(e))n=AE(e[0],s),i=AE(e[1],l);else if(jA(e)){var p=e;p.width=u[0],p.height=u[1];var f=tG(p,{width:s,height:l});n=f.x,i=f.y,d=null,c=null}else if(GA(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,d=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+d/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+d+a;break;case"left":s=e.x-r-a,l=e.y+d/2-o/2;break;case"right":s=e.x+u+a,l=e.y+d/2-o/2}return[s,l]}(e,h,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,d?null:20,c?null:20);n=g[0],i=g[1]}if(d&&(n-=Bit(d)?u[0]/2:"right"===d?u[0]:0),c&&(i-=Bit(c)?u[1]/2:"bottom"===c?u[1]:0),xit(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&OA(n,function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&OA(a,function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&OA(a,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&OA(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];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){!aA.node&&e.getDom()&&(gj(this,"_updatePosition"),this._tooltipContent.dispose(),Ftt("itemTooltip",e))},e.type="tooltip",e}(tj);function Nit(t,e,n){var i,r=e.ecModel;n?(i=new JF(n,r,r),i=new JF(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof JF&&(a=a.get("tooltip",!0)),GA(a)&&(a={formatter:a}),a&&(i=new JF(a,i,r)))}return i}function Rit(t,e){return t.dispatchAction||BA(e.dispatchAction,e)}function Bit(t){return"center"===t||"middle"===t}var zit=["rect","polygon","keep","clear"];function Fit(t,e){var n=QE(t?t.brush:[]);if(n.length){var i=[];OA(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))});var r=t&&t.toolbox;FA(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o,a,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,i),a={},OA(o=u,function(t){a[t]=1}),o.length=0,OA(a,function(t,e){o.push(e)}),e&&!u.length&&u.push.apply(u,zit)}}var Vit=OA;function Git(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Wit(t,e,n){var i={};return Vit(e,function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Vit(t[e],function(t,i){if(R3.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new R3(r),"opacity"===i&&((r=$A(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new R3(r))}})}),i}function Hit(t,e,n){var i;OA(n,function(t){e.hasOwnProperty(t)&&Git(e[t])&&(i=!0)}),i&&OA(n,function(n){e.hasOwnProperty(n)&&Git(e[n])?t[n]=$A(e[n]):delete t[n]})}var jit={lineX:Uit(0),lineY:Uit(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&jZ(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(jZ(i,r,o)||jZ(i,r+a,o)||jZ(i,r,o+s)||jZ(i,r+a,o+s)||Mk.create(t).contain(l[0],l[1])||vF(r,o,r+a,o,i)||vF(r,o,r,o+s,i)||vF(r+a,o,r+a,o+s,i)||vF(r,o+s,r+a,o+s,i))||void 0}}};function Uit(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return Yit(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),Yit(s[0],a)||Yit(s[1],a)||Yit(a[0],s)||Yit(a[1],s)}}}}function Yit(t,e){return e[0]<=t&&t<=e[1]}var Xit=["inBrush","outOfBrush"],Zit="__ecBrushSelect",qit="__ecInBrushSelectEvent";function Kit(t){t.eachComponent({mainType:"brush"},function(e){(e.brushTargetManager=new tit(e.option,t)).setInputRanges(e.areas,t)})}function Jit(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})}),Kit(t),t.eachComponent({mainType:"brush"},function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:$A(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],d=[],c=[],h=!1;n||(i=s.throttleType,r=s.throttleDelay);var p=EA(e.areas,function(t){var e=ert[t.brushType],n=AA({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return jit[e].point(i,n,t)},rect:function(i){return jit[e].rect(i,n,t)}};return n}(n),n}),f=Wit(e.option,Xit,function(t){t.mappingMethod="fixed"});function g(t){return"all"===l||!!u[t]}function y(t){return!!t.length}FA(l)&&OA(l,function(t){u[t]=1}),t.eachSeries(function(n,i){var r=c[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;h=h||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),function(t,e){"active"===t&&(d[e]=1)})}(n,i):function(n,i,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(FA(n)?DA(n,e)<0:e!==n)}(e,i))return;if(OA(p,function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),h=h||y(r)}),g(i)&&y(r)){var o=n.getData();o.each(function(t){trt(n,r,o,t)&&(d[t]=1)})}}(n,i,r)}),t.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=c[e],r=t.getData(),o=g(e)?function(t){return d[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return trt(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?h:y(i))&&function(t,e,n,i,r){var o,a={};function s(t){return Qj(n,o,t)}function l(t,e){eU(n,o,t,e)}OA(t,function(t){var n=R3.prepareVisualTypes(e[t]);a[t]=n}),n.each(function(t,u){o=t;var d=n.getRawDataItem(o);if(!d||!1!==d.visualMap)for(var c=i.call(r,t),h=e[c],p=a[c],f=0,g=p.length;f<g;f++){var y=p[f];h[y]&&h[y].applyVisual(t,s,l)}})}(Xit,f,r,o)})}),function(t,e,n,i,r){if(!r)return;var o=t.getZr();if(o[qit])return;o[Zit]||(o[Zit]=Qit);var a=fj(o,Zit,n,e);a(t,i)}(e,i,r,o,n)}function Qit(t,e){if(!t.isDisposed()){var n=t.getZr();n[qit]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[qit]=!1}}function trt(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}var ert={rect:function(t){return nrt(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];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&&nrt(e)}};function nrt(t){return new Mk(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var irt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new y9(e.getZr())).on("brush",BA(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){Kit(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:$A(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:$A(n),$from:e})},e.type="brush",e}(tj),rrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return rA(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Hit(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=EA(t,function(t){return ort(this.option,t)},this))},e.prototype.setBrushOption=function(t){this.brushOption=ort(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}(sG);function ort(t,e){return CA({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new JF(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var art=["rect","polygon","lineX","lineY","keep","clear"],srt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return rA(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length}),this._brushType=i,this._brushMode=r,OA(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return OA(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:art.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"])}},e}(Dnt);var lrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return rA(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}(sG),urt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=JA(t.get("textBaseline"),t.get("textVerticalAlign")),l=new xR({style:DF(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),d=t.get("subtext"),c=new xR({style:DF(o,{text:d,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!h&&!f,c.silent=!p&&!f,h&&l.on("click",function(){XV(h,"_"+t.get("target"))}),p&&c.on("click",function(){XV(p,"_"+t.get("subtarget"))}),LR(l).eventData=LR(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),d&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var m=tG(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),i.x=m.x,i.y=m.y,i.markRedraw();var v={align:a,verticalAlign:s};l.setStyle(v),c.setStyle(v),g=i.getBoundingRect();var x=m.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new yR({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(tj);var drt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return rA(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),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,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],OA(n,function(e,n){var i,o=sP(nP(e),"");jA(e)?(i=$A(e)).value=n:i=n,t.push(i),r.push(o)})):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new IX([{name:"value",type:o}],this)).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}(sG),crt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="timeline.slider",e.defaultOption=eV(drt.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}(drt);kA(crt,WW.prototype);var hrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="timeline",e}(tj),prt=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return rA(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(fq),frt=Math.PI,grt=cP(),yrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return DH("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},OA(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](i,r,a,t)},this),this._renderAxisLabel(i,o,a,t),this._position(i,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 n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return tG(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":GA(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:frt/2},h="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,y=f?p.get("itemGap"):0,m=g+y,v=t.get(["label","rotate"])||0;v=v*frt/180;var x=p.get("position",!0),_=f&&p.get("showPlayBtn",!0),b=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,M=h;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=m),b&&(r=[S,0],S+=m),w&&(o=[M-g,0],M-=m)):(_&&(i=[M-g,0],M-=m),b&&(r=[0,0],S+=m),w&&(o=[M-g,0],M-=m));var $=[S,M];return t.get("inverse")&&$.reverse(),{viewRect:l,mainLength:h,orient:s,rotation:c[s],labelRotation:v,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||d[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:$,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;ck(o,o,[-a,-s]),hk(o,o,-frt/2),ck(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),d=y(i.getBoundingRect()),c=[n.x,n.y],h=[i.x,i.y];h[0]=c[0]=l[0][0];var p,f=t.labelPosOpt;null==f||GA(f)?(m(c,u,l,1,p="+"===f?0:1),m(h,d,l,1,1-p)):(m(c,u,l,1,p=f>=0?0:1),h[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(h),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new ZX({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new cZ({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new KX}}(e,i);r.getTicks=function(){return n.mapArray(["value"],function(t){return{value:t}})};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new prt("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new bE;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new Mz({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:TA({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Mz({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:AA({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],OA(a,function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),d=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:BA(r._changeTimeline,r,t.value)},h=mrt(s,l,e,c);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=d.getItemStyle(),_B(h);var p=LR(h);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(h)})},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],OA(a,function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),d=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),h=new xR({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:BA(r._changeTimeline,r,a),silent:!1,style:DF(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});h.ensureState("emphasis").style=DF(u),h.ensureState("progress").style=DF(d),e.add(h),_B(h),grt(h).dataIndex=a,r._tickLabels.push(h)})}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function d(t,n,l,u){if(t){var d=uE(JA(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=mF(t.get(["controlStyle",e]),i||{},new Mk(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-d/2,d,d],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),_B(c)}}d(t.nextBtnPosition,"next",BA(this._changeTimeline,this,u?"-":"+")),d(t.prevBtnPosition,"prev",BA(this._changeTimeline,this,u?"+":"-")),d(t.playPosition,l?"stop":"play",BA(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=BA(s._handlePointerDrag,s),t.ondragend=BA(s._handlePointerDragend,s),vrt(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){vrt(t,s._progressLine,o,n,i)}};this._currentPointer=mrt(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=kE(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var o=this._findNearestTick(n),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){return hF(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=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,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",grt(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(hrt);function mrt(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),o&&o.onUpdate(r)):((r=yU(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=CA({rectHover:!0,z2:100},i,!0);var l=mU(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var u=vU(t.get("symbolOffset"),l);u&&(i.x=(i.x||0)+u[0],i.y=(i.y||0)+u[1]);var d=t.get("symbolRotate");return i.rotation=(d||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function vrt(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));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)}}}function xrt(t){var e=t&&t.timeline;FA(e)||(e=e?[e]:[]),OA(e,function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(_rt(t),brt(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});brt(i,"position")||(i.position=t.controlPosition),"none"!==i.position||brt(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}OA(t.data||[],function(t){jA(t)&&!FA(t)&&(!brt(t,"value")&&brt(t,"name")&&(t.value=t.name),_rt(t))})}(t)})}function _rt(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};OA(i,function(t,e){o[e]||brt(r,e)||(r[e]=t)}),n.label&&!brt(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function brt(t,e){return t.hasOwnProperty(e)}function wrt(t,e){if(!t)return!1;for(var n=FA(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function Srt(t){tP(t,"label",["show"])}var Mrt=cP(),$rt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return rA(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(aA.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,n,i){var r=this.mainType;n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),o=Mrt(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&Srt(n),OA(n.data,function(t){t instanceof Array?(Srt(t[0]),Srt(t[1])):Srt(t)}),TA(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),Mrt(t)[r]=o):Mrt(t)[r]=null},this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return DH("section",{header:this.name,blocks:[DH("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.prototype.getDataParams=function(t,e){var n=WW.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return Mrt(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(sG);kA($rt,WW.prototype);var Crt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},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}($rt);function Irt(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function Trt(t,e,n,i,r,o){var a=[],s=EX(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=Ert(e,s,t),u=e.indicesOfNearest(s,l)[0];a[r]=e.get(n,u),a[o]=e.get(s,u);var d=e.get(i,u),c=LE(e.get(i,u));return(c=Math.min(c,20))>=0&&(a[o]=+a[o].toFixed(c)),[a,d]}var Art={min:zA(Trt,"min"),max:zA(Trt,"max"),average:zA(Trt,"average"),median:zA(Trt,"median")};function Drt(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!FA(e.coord)&&FA(r)){var o=krt(e,n,i,t);if((e=$A(e)).type&&Art[e.type]&&o.baseAxis&&o.valueAxis){var a=DA(r,o.baseAxis.dim),s=DA(r,o.valueAxis.dim),l=Art[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&FA(r))for(var u=e.coord,d=0;d<2;d++)Art[u[d]]&&(u[d]=Ert(n,n.mapDimension(r[d]),u[d]));else e.coord=[];return e}}function krt(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function Lrt(t,e){return!(t&&t.containData&&e.coord&&!Irt(e))||t.containData(e.coord)}function Ort(t,e){return t?function(t,n,i,r){return XW(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return XW(t.value,e[r])}}function Ert(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var Prt=cP(),Nrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.init=function(){this.markerGroupMap=dD()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each(function(t){Prt(t).keep=!1}),e.eachSeries(function(t){var r=$rt.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)}),r.each(function(t){!Prt(t).keep&&i.group.remove(t.group)})},e.prototype.markKeep=function(t){Prt(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;OA(t,function(t){var i=$rt.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl(function(t){t&&(e?uB(t):dB(t))})})},e.type="marker",e}(tj);function Rrt(t,e,n){var i=e.coordinateSystem;t.each(function(r){var o,a=t.getItemModel(r),s=AE(a.get("x"),n.getWidth()),l=AE(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),d=t.get(i.dimensions[1],r);o=i.dataToPoint([u,d])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)})}var Brt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=$rt.getMarkerModelFromSeries(t,"markPoint");e&&(Rrt(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new CJ),u=function(t,e,n){var i;i=t?EA(t&&t.dimensions,function(t){return TA(TA({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new IX(i,n),o=EA(n.get("data"),zA(Drt,e));t&&(o=NA(o,zA(Lrt,t)));var a=Ort(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),Rrt(e.getData(),t,i),u.each(function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(VA(i)||VA(r)||VA(o)||VA(s)){var d=e.getRawValue(t),c=e.getDataParams(t);VA(i)&&(i=i(d,c)),VA(r)&&(r=r(d,c)),VA(o)&&(o=o(d,c)),VA(s)&&(s=s(d,c))}var h=n.getModel("itemStyle").getItemStyle(),p=tU(a,"color");h.fill||(h.fill=p),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:h})}),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl(function(t){t.traverse(function(t){LR(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(Nrt);var zrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},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}($rt),Frt=cP(),Vrt=function(t,e,n,i){var r,o=t.getData();if(FA(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=KA(i.yAxis,i.xAxis);else{var u=krt(i,o,e,t);s=u.valueAxis,l=Ert(o,PX(o,u.valueDataDim),a)}var d="x"===s.dim?0:1,c=1-d,h=$A(i),p={coord:[]};h.type=null,h.coord=[],h.coord[c]=-1/0,p.coord[c]=1/0;var f=n.get("precision");f>=0&&HA(l)&&(l=+l.toFixed(Math.min(f,20))),h.coord[d]=p.coord[d]=l,r=[h,p,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[Drt(t,r[0]),Drt(t,r[1]),TA({},r[2])];return g[2].type=g[2].type||null,CA(g[2],g[0]),CA(g[2],g[1]),g};function Grt(t){return!isNaN(t)&&!isFinite(t)}function Wrt(t,e,n,i){var r=1-t,o=i.dimensions[t];return Grt(e[r])&&Grt(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function Hrt(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(Wrt(1,n,i,t)||Wrt(0,n,i,t)))return!0}return Lrt(t,e[0])&&Lrt(t,e[1])}function jrt(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=AE(s.get("x"),r.getWidth()),u=AE(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=a.dimensions,c=t.get(d[0],e),h=t.get(d[1],e);o=a.dataToPoint([c,h])}if(FJ(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");d=a.dimensions;Grt(t.get(d[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):Grt(t.get(d[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var Urt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=$rt.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=Frt(e).from,o=Frt(e).to;r.each(function(e){jrt(r,e,!0,t,n),jrt(o,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new K4);this.group.add(l.group);var u=function(t,e,n){var i;i=t?EA(t&&t.dimensions,function(t){return TA(TA({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new IX(i,n),o=new IX(i,n),a=new IX([],n),s=EA(n.get("data"),zA(Vrt,e,t,n));t&&(s=NA(s,zA(Hrt,t)));var l=Ort(!!t,i);return r.initData(EA(s,function(t){return t[0]}),null,l),o.initData(EA(s,function(t){return t[1]}),null,l),a.initData(EA(s,function(t){return t[2]})),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),d=u.from,c=u.to,h=u.line;Frt(e).from=d,Frt(e).to=c,e.setData(h);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function m(e,n,r){var o=e.getItemModel(n);jrt(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=tU(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:JA(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:JA(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:JA(o.get("symbolSize"),f[r?0:1]),symbol:JA(o.get("symbol",!0),p[r?0:1]),style:s})}FA(p)||(p=[p,p]),FA(f)||(f=[f,f]),FA(g)||(g=[g,g]),FA(y)||(y=[y,y]),u.from.each(function(t){m(d,t,!0),m(c,t,!1)}),h.each(function(t){var e=h.getItemModel(t).getModel("lineStyle").getLineStyle();h.setItemLayout(t,[d.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=d.getItemVisual(t,"style").fill),h.setItemVisual(t,{fromSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:d.getItemVisual(t,"symbolOffset"),fromSymbolRotate:d.getItemVisual(t,"symbolRotate"),fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})}),l.updateData(h),u.line.eachItemGraphicEl(function(t){LR(t).dataModel=e,t.traverse(function(t){LR(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(Nrt);var Yrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},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}($rt),Xrt=cP(),Zrt=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=Drt(t,r),s=Drt(t,o),l=a.coord,u=s.coord;l[0]=KA(l[0],-1/0),l[1]=KA(l[1],-1/0),u[0]=KA(u[0],1/0),u[1]=KA(u[1],1/0);var d=IA([{},a,s]);return d.coord=[a.coord,s.coord],d.x0=a.x,d.y0=a.y,d.x1=s.x,d.y1=s.y,d}};function qrt(t){return!isNaN(t)&&!isFinite(t)}function Krt(t,e,n,i){var r=1-t;return qrt(e[r])&&qrt(n[r])}function Jrt(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return FJ(t,"cartesian2d")?!(!n||!i||!Krt(1,n,i)&&!Krt(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!Irt(e)&&!Irt(n))||t.containZone(e.coord,n.coord)}(t,r,o):Lrt(t,r)||Lrt(t,o)}function Qrt(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=AE(s.get(n[0]),r.getWidth()),u=AE(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var d=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),h=a.clampData(d),p=a.clampData(c),f=[];"x0"===n[0]?f[0]=h[0]>p[0]?c[0]:d[0]:f[0]=h[0]>p[0]?d[0]:c[0],"y0"===n[1]?f[1]=h[1]>p[1]?c[1]:d[1]:f[1]=h[1]>p[1]?d[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[v=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(FJ(a,"cartesian2d")){var y=a.getAxis("x"),m=a.getAxis("y"),v=t.get(n[0],e),x=t.get(n[1],e);qrt(v)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):qrt(x)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var tot=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],eot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=$rt.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=EA(tot,function(r){return Qrt(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new bE});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=EA(t&&t.dimensions,function(t){var n=e.getData();return TA(TA({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})});r=EA(o,function(t,e){return{name:t,type:a[e%2].type}}),i=new IX(r,n)}else i=new IX(r=[{name:"value",type:"float"}],n);var s=EA(n.get("data"),zA(Zrt,e,t,n));t&&(s=NA(s,zA(Jrt,t)));var l=t?function(t,e,n,i){return XW(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return XW(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each(function(e){var n=EA(tot,function(n){return Qrt(u,e,n,t,i)}),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),d=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],h=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];kE(c),kE(h);var p=!!(l[0]>c[1]||l[1]<c[0]||d[0]>h[1]||d[1]<h[0]);u.setItemLayout(e,{points:n,allClipped:p});var f=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=tU(a,"color");f.fill||(f.fill=g,GA(f.fill)&&(f.fill=FL(f.fill,.4))),f.stroke||(f.stroke=g),u.setItemVisual(e,"style",f)}),u.diff(Xrt(l).data).add(function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new xz({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}}).update(function(t,n){var i=Xrt(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?jz(i,{shape:{points:r.points}},e,t):i=new xz({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))}).remove(function(t){var e=Xrt(l).data.getItemGraphicEl(t);l.group.remove(e)}).execute(),u.eachItemGraphicEl(function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),TF(t,AF(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:GA(r.fill)?FL(r.fill,1):"#000"}),$B(t,i),bB(t,null,null,i.get(["emphasis","disabled"])),LR(t).dataModel=e}),Xrt(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(Nrt);var not=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return rA(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),FA(e)&&OA(e,function(t,i){GA(t)&&(t={type:t}),e[i]=CA(t,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}(n,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,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&lP(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,r=dD(),o=EA(i,function(t){return(GA(t)||HA(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new JF(t,this,this.ecModel))},this);this._data=NA(o,function(t){return!!t})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&OA(this._data,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;OA(t,function(t){e[t.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;OA(t,function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&DA(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}(sG),iot=zA,rot=OA,oot=bE,aot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return rA(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new oot),this.group.add(this._selectorGroup=new oot),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=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),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},d=t.get("padding"),c=tG(l,u,d),h=this.layoutInner(t,r,c,i,a,s),p=tG(AA({width:h.width,height:h.height},l),u,d);this.group.x=p.x-h.x,this.group.y=p.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Pnt(h,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=dD(),u=e.get("selectedMode"),d=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&d.push(t.id)}),rot(e.getData(),function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new oot;return c.newline=!0,void s.add(c)}var h=n.getSeriesByName(a)[0];if(!l.get(a))if(h){var p=h.getData(),f=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),y=p.getVisual("style"),m=this._createItem(h,a,o,r,e,t,f,y,g,u,i);m.on("click",iot(sot,a,null,i,d)).on("mouseover",iot(uot,h.name,null,i,d)).on("mouseout",iot(dot,h.name,null,i,d)),n.ssr&&m.eachChild(function(t){var e=LR(t);e.seriesIndex=h.seriesIndex,e.dataIndex=o,e.ssrType="legend"}),l.set(a,!0)}else n.eachRawSeries(function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var h=c.indexOfName(a),p=c.getItemVisual(h,"style"),f=c.getItemVisual(h,"legendIcon"),g=PL(p.fill);g&&0===g[3]&&(g[3]=.2,p=TA(TA({},p),{fill:VL(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},p,f,u,i);y.on("click",iot(sot,null,a,i,d)).on("mouseover",iot(uot,null,a,i,d)).on("mouseout",iot(dot,null,a,i,d)),n.ssr&&y.eachChild(function(t){var e=LR(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"}),l.set(a,!0)}},this)},this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();rot(t,function(t){var i=t.type,r=new xR({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),TF(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),_B(r)})},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,d){var c=t.visualDrawType,h=r.get("itemWidth"),p=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),m=i.get("icon"),v=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),rot(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),d=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?WU(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[d]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var h=e.getModel("lineStyle"),p=h.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[d];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=h.get("inactiveColor"),p.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(l=m||l||"roundRect",i,a,s,c,f,d),x=new oot,_=i.getModel("textStyle");if(!VA(t.getLegendIcon)||m&&"inherit"!==m){var b="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=yU(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:h,itemHeight:p,icon:l,iconRotate:b,itemStyle:v.itemStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:h,itemHeight:p,icon:l,iconRotate:g,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:y}));var w="left"===o?h+5:-5,S=o,M=r.get("formatter"),$=e;GA(M)&&M?$=M.replace("{name}",null!=e?e:""):VA(M)&&($=M(e));var C=f?_.getTextColor():i.get("inactiveColor");x.add(new xR({style:DF(_,{text:$,x:w,y:p/2,fill:C,align:S,verticalAlign:"middle"},{inheritColor:C})}));var I=new yR({shape:x.getBoundingRect(),style:{fill:"transparent"}}),T=i.getModel("tooltip");return T.get("show")&&bF({el:I,componentModel:r,itemName:e,itemTooltipOption:T.option}),x.add(I),x.eachChild(function(t){t.silent=!0}),I.silent=!u,this.getContentGroup().add(x),_B(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();QV(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){QV("horizontal",s,t.get("selectorItemGap",!0));var d=s.getBoundingRect(),c=[-d.x,-d.y],h=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",y=0===p?"y":"x";"end"===o?c[p]+=l[f]+h:u[p]+=d[f]+h,c[1-p]+=l[g]/2-d[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[f]=l[f]+h+d[f],m[g]=Math.max(l[g],d[g]),m[y]=Math.min(0,d[y]+c[1-p]),m}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}(tj);function sot(t,e,n,i){dot(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),uot(t,e,n,i)}function lot(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function uot(t,e,n,i){lot(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function dot(t,e,n,i){lot(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function cot(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function hot(t,e,n){var i="allSelect"===t||"inverseSelect"===t,r={},o=[];n.eachComponent({mainType:"legend",query:e},function(n){i?n[t]():n[t](e.name),pot(n,r),o.push(n.componentIndex)});var a={};return n.eachComponent("legend",function(t){OA(r,function(e,n){t[e?"select":"unSelect"](n)}),pot(t,a)}),i?{selected:a,legendIndex:o}:{name:e.name,selected:a}}function pot(t,e){var n=e||{};return OA(t.getData(),function(e){var i=e.get("name");if("\n"!==i&&""!==i){var r=t.isSelected(i);fD(n,i)?n[i]=n[i]&&r:n[i]=r}}),n}function fot(t){t.registerComponentModel(not),t.registerComponentView(aot),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,cot),t.registerSubTypeDefaulter("legend",function(){return"plain"}),function(t){t.registerAction("legendToggleSelect","legendselectchanged",zA(hot,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",zA(hot,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",zA(hot,"inverseSelect")),t.registerAction("legendSelect","legendselected",zA(hot,"select")),t.registerAction("legendUnSelect","legendunselected",zA(hot,"unSelect"))}(t)}var got=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=rG(e);t.prototype.init.call(this,e,n,i),yot(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),yot(this,this.option,e)},e.type="legend.scroll",e.defaultOption=eV(not.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}(not);function yot(t,e,n){var i=[1,1];i[t.getOrient().index]=0,iG(e,n,{type:"box",ignoreSize:!!i})}var mot=bE,vot=["width","height"],xot=["x","y"],_ot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return rA(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new mot),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new mot)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var u=this._controllerGroup,d=n.get("pageIconSize",!0),c=FA(d)?d:[d,d];p("pagePrev",0);var h=n.getModel("pageTextStyle");function p(t,e){var i=t+"DataIndex",o=mF(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:BA(l._pageGo,l,i,n,r)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});o.name=t,u.add(o)}u.add(new xR({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=vot[s],u=xot[s],d=vot[1-s],c=xot[1-s];r&&QV("horizontal",a,t.get("selectorItemGap",!0));var h=t.get("selectorButtonGap",!0),p=a.getBoundingRect(),f=[-p.x,-p.y],g=$A(n);r&&(g[l]=n[l]-p[l]-h);var y=this._layoutContentAndController(t,i,g,s,l,d,c,u);if(r){if("end"===o)f[s]+=y[l]+h;else{var m=p[l]+h;f[s]-=m,y[u]-=m}y[l]+=p[l]+h,f[1-s]+=y[c]+y[d]/2-p[d]/2,y[d]=Math.max(y[d],p[d]),y[c]=Math.min(y[c],p[c]+f[1-s]),a.x=f[0],a.y=f[1],a.markRedraw()}return y},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,d=this._controllerGroup;QV(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),QV("horizontal",d,t.get("pageButtonItemGap",!0));var c=l.getBoundingRect(),h=d.getBoundingRect(),p=this._showController=c[r]>n[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-h.x,-h.y],m=JA(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-h[r]:g[i]+=h[r]+m);y[1-i]+=c[o]/2-h[o]/2,l.setPosition(f),u.setPosition(g),d.setPosition(y);var v={x:0,y:0};if(v[r]=p?n[r]:c[r],v[o]=Math.max(c[o],h[o]),v[a]=Math.min(0,h[a]+y[1-i]),u.__rectSize=n[r],p){var x={x:0,y:0};x[r]=Math.max(n[r]-h[r]-m,0),x[o]=v[o],u.setClipPath(new yR({shape:x})),u.__rectSize=x[r]}else d.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var _=this._getPageInfo(t);return null!=_.pageIndex&&jz(l,{x:_.contentPosition[0],y:_.contentPosition[1]},p?t:null),this._updatePageInfoView(t,_),v},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;OA(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",GA(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=vot[r],a=xot[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],d=l.length,c=d?1:0,h={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var p=v(u);h.contentPosition[r]=-p.s;for(var f=s+1,g=p,y=p,m=null;f<=d;++f)(!(m=v(l[f]))&&y.e>g.s+i||m&&!x(m,g.s))&&(g=y.i>g.i?y:m)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=g.i),++h.pageCount),y=m;for(f=s-1,g=p,y=p,m=null;f>=-1;--f)(m=v(l[f]))&&x(y,m.s)||!(g.i<y.i)||(y=g,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=g.i),++h.pageCount,++h.pageIndex),g=m;return h;function v(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function x(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild(function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)}),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(aot);function bot(t){tX(fot),t.registerComponentModel(got),t.registerComponentView(_ot),function(t){t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})}(t)}var wot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="dataZoom.inside",e.defaultOption=eV(vnt.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(vnt),Sot=cP();function Mot(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function $ot(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function Cot(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function Iot(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=Sot(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=dD());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){OA(ynt(t).infoList,function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:zA(Cot,e),dispatchAction:zA($ot,t),dataZoomInfoMap:null,controller:null},i=n.controller=new u1(t.getZr());return OA(["pan","zoom","scrollMove"],function(t){i.on(t,function(e){var i=[];n.dataZoomInfoMap.each(function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}}),i.length&&n.dispatchAction(i)})}),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=dD())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={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");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),fj(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else Mot(i,t)})})}var Tot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return rA(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){Sot(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}(i,e,{pan:BA(Aot.pan,this),zoom:BA(Aot.zoom,this),scrollMove:BA(Aot.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=Sot(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||Mot(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(bnt),Aot={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=kot[e](null,[i.originX,i.originY],a,n,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/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return j5(0,o,[0,100],0,d.minSpan,d.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:Dot(function(t,e,n,i,r,o){var a=kot[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:Dot(function(t,e,n,i,r,o){return kot[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function Dot(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return j5(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var kot={grid:function(t,e,n,i,r){var o=n.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,n,i,r){var o=n.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"===n.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,n,i,r){var o=n.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}};function Lot(t){Tnt(t),t.registerComponentModel(wot),t.registerComponentView(Tot),Iot(t)}var Oot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=eV(vnt.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:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(vnt),Eot=yR,Pot="horizontal",Not="vertical",Rot=["line","bar","candlestick","scatter"],Bot={easing:"cubicOut",duration:100,delay:0},zot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return rA(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=BA(this._onBrush,this),this._onBrushEnd=BA(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),fj(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(){gj(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 bE;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===Pot?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=rG(t.option);OA(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var s=tG(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===Not&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==Pot||r?n===Pot&&r?{scaleY:a?1:-1,scaleX:-1}:n!==Not||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,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new Eot({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new Eot({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:BA(this._onClickPanel,this)}),o=this.api.getZr();i?(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)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),d=.3*(u[1]-u[0]);u=[u[0]-d,u[1]+d];var c,h=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=p[1]/(r.count()-1),m=0,v=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(v>0&&e%v)m+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:TE(t,u,h,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([m,0]),g.push([m,0])),f.push([m,i]),g.push([m,i]),m+=y,c=n}}),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new bE,i=new xz({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new bz({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis(function(r,o){OA(t.getAxisProxy(r,o).getTargetSeriesModels(),function(t){if(!(n||!0!==e&&DA(Rot,t.get("type"))<0)){var a,s=i.getComponent(fnt(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),d=e.filler=new Eot({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(d),r.add(new Eot({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),OA([0,1],function(e){var o=a.get("handleIcon");!pU[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=yU(o,-1,0,2,2,null,!0);s.attr({cursor:Fot(this._orient),draggable:!0,drift:BA(this._onDragMove,this,e),ondragend:BA(this._onDragEnd,this),onmouseover:BA(this._showDataInfo,this,!0),onmouseout:BA(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=AE(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),_B(s);var d=a.get("handleColor");null!=d&&(s.style.fill=d),r.add(n[e]=s);var c=a.getModel("textStyle"),h=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new xR({silent:!0,invisible:!h,style:DF(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))},this);var c=d;if(u){var h=AE(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new yR({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:h}}),f=.8*h,g=e.moveHandleIcon=yU(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+h/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(h,10));(c=e.moveZone=new yR({invisible:!0,shape:{y:o[1]-y,height:h+y}})).on("mouseover",function(){s.enterEmphasis(p)}).on("mouseout",function(){s.leaveEmphasis(p)}),r.add(p),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:Fot(this._orient),drift:BA(this._onDragMove,this,"all"),ondragstart:BA(this._showDataInfo,this,!0),ondragend:BA(this._onDragEnd,this),onmouseover:BA(this._showDataInfo,this,!0),onmouseout:BA(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[TE(t[0],[0,100],e,!0),TE(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];j5(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?TE(o.minSpan,a,r,!0):null,null!=o.maxSpan?TE(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=kE([TE(i[0],r,a,!0),TE(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=kE(n.slice()),r=this._size;OA([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[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,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],d=u.getClipPath();d||(d=new yR,u.setClipPath(d)),d.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.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 d=kE(this._handleEnds.slice());function c(t){var e=cF(n.handles[t].parent,this.group),a=pF(0===t?"right":"left",e),s=this._handleWidth/2+5,l=hF([d[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===Pot?"middle":a,align:r===Pot?a:"center",text:o[t]})}c.call(this,0),c.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.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 VA(i)?i(t,o):GA(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,i=t||this._dragging?n:e,r=this._displayables,o=r.handleLabels;o[0].attr("invisible",!i),o[1].attr("invisible",!i),r.moveHandle&&this.api[i?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,nk(i.event);var r=hF([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new gk(e,n),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 n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=kE([TE(n.x,i,r,!0),TE(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(nk(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new Eot({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.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?Bot:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=ynt(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(bnt);function Fot(t){return"vertical"===t?"ns-resize":"ew-resize"}function Vot(t){t.registerComponentModel(Oot),t.registerComponentView(zot),Tnt(t)}var Got=function(t,e,n){var i=$A((Wot[t]||{})[e]);return n&&FA(i)?i[i.length-1]:i},Wot={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]}},Hot=R3.mapVisual,jot=R3.eachVisual,Uot=FA,Yot=OA,Xot=kE,Zot=TE,qot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return rA(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Hit(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=BA(t,this),this.controllerVisuals=Wit(this.option.controller,e,t),this.targetVisuals=Wit(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,n){e.push(n)}):e=QE(t),e},e.prototype.eachTargetSeries=function(t,e){OA(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],FA(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return GA(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):VA(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(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=Xot([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 n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],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,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});CA(i,n),CA(r,n);var o=this.isCategory();function a(n){Uot(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},Yot(i,function(t,e){if(R3.isValidType(e)){var n=Got(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";Yot(this.stateList,function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&$A(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&$A(n)||(o?s[0]:[s[0],s[0]])),l.symbol=Hot(l.symbol,function(t){return"none"===t?r:t});var u=l.symbolSize;if(null!=u){var d=-1/0;jot(u,function(t){t>d&&(d=t)}),l.symbolSize=Hot(u,function(t){return Zot(t,[0,d],[0,s[0]],!0)})}},this)}.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}(sG),Kot=[20,140],Jot=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.optionUpdated=function(e,n){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]=Kot[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=Kot[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):FA(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),OA(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=kE((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,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},e.prototype.getVisualMeta=function(t){var e=Qot(this,"outOfRange",this.getExtent()),n=Qot(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var d=i.length;return{stops:i,outerColors:[d?i[0].color:"transparent",d?i[d-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=eV(qot.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}(qot);function Qot(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}var tat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return rA(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=GV(e.get("padding")||0),i=t.getBoundingRect();t.add(new yR({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)];return OA(R3.prepareVisualTypes(u),function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),R3.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)}),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;eG(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(tj),eat=[["left","right","width"],["top","bottom","height"]];function nat(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=eat[a],l=[0,null,10],u={},d=0;d<3;d++)u[eat[1-a][d]]=l[d],u[s[d]]=2===d?n[0]:i[s[d]];var c=[["x","width",3],["y","height",0]][a],h=tG(u,o,i.padding);return s[(h.margin[c[2]]||0)+h[c[0]]+.5*h[c[1]]<.5*o[c[1]]?0:1]}function iat(t,e){return OA(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}var rat=TE,oat=OA,aat=Math.min,sat=Math.max,lat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return rA(e,t),e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=BA(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=BA(this._hideIndicator,this)},e.prototype.doRender=function(t,e,n,i){i&&"selectDataRange"===i.type&&i.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 n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),d=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new xR({style:DF(c,{x:l[0],y:l[1],verticalAlign:"horizontal"===d?"middle":u,align:"horizontal"===d?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=nat(e,this.api,i),s=n.mainGroup=this._createBarGroup(a),l=new bE;s.add(l),l.add(n.outOfRange=uat()),l.add(n.inRange=uat(null,o?cat(this._orient):null,BA(this._dragHandle,this,"all",!1),BA(this._dragHandle,this,"all",!0))),l.setClipPath(new yR({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),d=sat(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,d,r),this._createHandle(e,s,1,i,d,r)),this._createIndicator(e,s,i,d,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=BA(this._dragHandle,this,n,!1),s=BA(this._dragHandle,this,n,!0),l=uE(t.get("handleSize"),i[0]),u=yU(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),d=cat(this._orient);u.attr({cursor:d,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){nk(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),CB(u,!0),e.add(u);var c=this.visualMapModel.textStyleModel,h=new xR({cursor:d,draggable:!0,drift:a,onmousemove:function(t){nk(t.event)},ondragend:s,style:DF(c,{x:0,y:0,text:""})});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var p=[l,0],f=this._shapes;f.handleThumbs[n]=u,f.handleLabelPoints[n]=p,f.handleLabels[n]=h},e.prototype._createIndicator=function(t,e,n,i,r){var o=uE(t.get("indicatorSize"),n[0]),a=yU(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof uR){var l=a.style;a.useStyle(TA({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,d=new xR({silent:!0,invisible:!0,style:DF(u,{x:0,y:0,text:""})});this.group.add(d);var c=[("horizontal"===r?i/2:6)+n[0]/2,0],h=this._shapes;h.indicator=a,h.indicatorLabel=d,h.indicatorLabelPoint=c,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],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():dat(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[rat(e[0],n,i,!0),rat(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];j5(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[rat(i[0],r,o,!0),rat(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new Oz(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new bE("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{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 n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);oat([0,1],function(u){var d=r[u];d.setStyle("fill",e.handlesColor[u]),d.y=t[u];var c=rat(t[u],[0,a[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");d.scaleX=d.scaleY=h/a[0],d.x=a[0]-h/2;var p=hF(n.handleLabelPoints[u],cF(d,this.group));if("horizontal"===this._orient){var f="left"===l||"top"===l?(a[0]-h)/2:(a[0]-h)/-2;p[1]+=f}o[u].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,n,i){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 d=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),h=rat(t,o,s,!0),p=a[0]-c/2,f={x:u.x,y:u.y};u.y=h,u.x=p;var g=hF(l.indicatorLabelPoint,cF(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),v="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:v?m:"middle",align:v?"center":m});var x={x:p,y:h,style:{fill:d}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;S<w.length;S++)this.api.enterBlur(w[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=aat(sat(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[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 n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=aat(sat(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");r&&(i=rat(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=rat(t,r,o,!0),u=[rat(s[0],r,o,!0),rat(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 d=this._hoverLinkDataIndices,c=[];(e||dat(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=sP(t[i].seriesId,null);if(null==o)return;for(var a=QE(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var d=a[l];s&&s[d]?s[d]=null:(e[o]||(e[o]={}))[d]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(d,c);this._dispatchHighDown("downplay",iat(h[0],n)),this._dispatchHighDown("highlight",iat(h[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(rU(t.target,function(t){var n=LR(t);if(null!=n.dataIndex)return e=n,!0},!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},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 n=0;n<e.length;n++)this.api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",iat(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,n,i){var r=cF(e,i?null:this.group);return FA(t)?hF(t,r,n):pF(t,r,n)},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.type="visualMap.continuous",e}(tat);function uat(t,e,n,i){return new xz({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){nk(t.event)},ondragend:i})}function dat(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function cat(t){return"vertical"===t?"ns-resize":"ew-resize"}var hat={type:"selectDataRange",event:"dataRangeSelected",update:"update"},pat=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})},fat=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",function(e){var i,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,o=BA(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},OA(i,function(t){var e=R3.prepareVisualTypes(r[t]);s[t]=e}),{progress:function(t,e){var n,i;function l(t){return Qj(e,i,t)}function u(t,n){eU(e,i,t,n)}null!=a&&(n=e.getDimensionIndex(a));for(var d=e.getStore();null!=(i=t.next());){var c=e.getRawDataItem(i);if(!c||!1!==c.visualMap)for(var h=null!=a?d.get(n,i):i,p=o(h),f=r[p],g=s[p],y=0,m=g.length;y<m;y++){var v=g[y];f[v]&&f[v].applyVisual(h,l,u)}}}}))}),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(BA(gat,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}}),t.getData().setVisual("visualMeta",i)}}];function gat(t,e,n,i){for(var r=e.targetVisuals[i],o=R3.prepareVisualTypes(r),a={color:tU(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],d=r["opacity"===u?"__alphaForOpacity":u];d&&d.applyVisual(n,c,h)}return a.color;function c(t){return a[t]}function h(t,e){a[t]=e}}var yat=OA;function mat(t){var e=t&&t.visualMap;FA(e)||(e=e?[e]:[]),yat(e,function(t){if(t){vat(t,"splitList")&&!vat(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&FA(e)&&yat(e,function(t){jA(t)&&(vat(t,"start")&&!vat(t,"min")&&(t.min=t.start),vat(t,"end")&&!vat(t,"max")&&(t.max=t.end))})}})}function vat(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var xat=!1;function _at(t){xat||(xat=!0,t.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(hat,pat),OA(fat,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(mat))}function bat(t){t.registerComponentModel(Jot),t.registerComponentView(lat),_at(t)}var wat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return rA(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],Sat[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=$A(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=EA(this._pieceList,function(t){return t=$A(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=R3.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}OA(e.pieces,function(t){OA(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),OA(n,function(t,n){var i=!1;OA(this.stateList,function(t){i=i||o(e,t,n)||o(e.target,t,n)},this),!i&&OA(this.stateList,function(t){(e[t]||(e[t]={}))[n]=Got(n,"inRange"===t?"active":"inactive",r)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,OA(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var o=!1;OA(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!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=$A(t)},e.prototype.getValueState=function(t){var e=R3.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries(function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(e,i){R3.findPieceIndex(e,n)===t&&r.push(i)},this),e.push({seriesId:i.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 n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=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])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return OA(r,function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])},this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=eV(qot.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}(qot),Sat={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),WE(t),OA(t,function(t,e){t.index=e,t.text=this.formatValueText(t.interval)},this)},categories:function(t){var e=this.option;OA(e.categories,function(e){t.push({text:this.formatValueText(e,!0),value:e})},this),Mat(e,t)},pieces:function(t){var e=this.option;OA(e.pieces,function(e,n){jA(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],d=0;d<2;d++){for(var c=[["gte","gt","min"],["lte","lt","max"]][d],h=0;h<3&&null==o[d];h++)o[d]=e[c[h]],a[d]=s[h],u[d]=2===h;null==o[d]&&(o[d]=l[d])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=R3.retrieveVisuals(e),t.push(i)},this),Mat(e,t),WE(t),OA(t,function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};function Mat(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var $at=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return rA(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,d=KA(e.get("showLabel",!0),!u),c=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,d,a),OA(l.viewPieceList,function(i){var l=i.piece,u=new bE;u.onclick=BA(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(u,h,[0,0,s[0],s[1]],c),d){var p=this.visualMapModel.getValueState(h);u.add(new xR({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1},silent:c}))}t.add(u)},this),u&&this._renderEndsText(t,u[1],s,d,a),QV(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:iat(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return nat(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new bE,a=this.visualMapModel.textStyleModel;o.add(new xR({style:DF(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=EA(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=yU(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=$A(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,OA(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}(tat);function Cat(t){t.registerComponentModel(wat),t.registerComponentView($at),_at(t)}var Iat={label:{enabled:!0},decal:{show:!1}},Tat=cP(),Aat={};function Dat(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=$A(Iat);CA(i.label,t.getLocaleModel().get("aria"),!1),CA(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=dD();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),Tat(t).scope=n}}),t.eachRawSeries(function(e){if(!t.isSeriesFiltered(e))if(VA(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=NG(e.ecModel,e.name,Aat,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=Tat(e).scope;n.each(function(t){var e=n.getRawIndex(t);a[e]=t});var l=o.count();o.each(function(t){var i=a[t],r=o.getName(t)||t+"",d=NG(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,d))})}}function u(t,e){var n=t?TA(TA({},e),t):e;return n.dirty=!0,n}})}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=AA(a.option,o),!a.get("enabled"))return;if(i.setAttribute("role","img"),a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,d=a.get(["series","maxCount"])||10,c=Math.min(l,d);if(l<1)return;var h=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=h?r(a.get(["general","withTitle"]),{title:h}):a.get(["general","withoutTitle"]);var p=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries(function(e,n){if(n<c){var i=void 0,o=e.get("name")?"withName":"withoutName";i=r(i=l>1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[_]||b.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var d=a.get(["data","separator","middle"]),h=a.get(["data","separator","end"]),f=a.get(["data","excludeDimensionId"]),g=[],y=0;y<s.count();y++)if(y<u){var m=s.getName(y),v=f?NA(s.getValues(y),function(t,e){return-1===DA(f,e)}):s.getValues(y),x=a.get(["data",m?"withName":"withoutName"]);g.push(r(x,{name:m,value:v.join(d)}))}i+=g.join(d)+h,p.push(i)}var _,b});var f=a.getModel(["series","multiple","separator"]),g=f.get("middle"),y=f.get("end");s+=p.join(g)+y,i.setAttribute("aria-label",s)}()}function r(t,e){if(!GA(t))return t;var n=t;return OA(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}}function kat(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},OA(["description","general","series","data"],function(t){null!=e[t]&&(e.label[t]=e[t])})}}var Lat={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Oat=function(){function t(t){var e;if(null==(this._condVal=GA(t)?new RegExp(t):(e=t,"[object RegExp]"===pA.call(e)?t:null))){ZE("")}}return t.prototype.evaluate=function(t){var e=typeof t;return GA(e)?this._condVal.test(t):!!HA(e)&&this._condVal.test(t+"")},t}(),Eat=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),Pat=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}(),Nat=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}(),Rat=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),Bat=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function zat(t,e){if(!0===t||!1===t){var n=new Eat;return n.value=t,n}return Vat(t)||ZE(""),t.and?Fat("and",t,e):t.or?Fat("or",t,e):t.not?function(t,e){var n=t.not,i="";Vat(n)||ZE(i);var r=new Rat;r.child=zat(n,e),r.child||ZE(i);return r}(t,e):function(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=RA(t),a=t.parser,s=a?qW(a):null,l=0;l<o.length;l++){var u=o[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var d=fD(Lat,u)?Lat[u]:u,c=t[u],h=s?s(c):c,p=eH(d,h)||"reg"===d&&new Oat(h);p||ZE(n),r.push(p)}}r.length||ZE(n);var f=new Bat;return f.valueGetterParam=i,f.valueParser=s,f.getValue=e.getValue,f.subCondList=r,f}(t,e)}function Fat(t,e,n){var i=e[t];FA(i)||ZE(""),i.length||ZE("");var r="and"===t?new Pat:new Nat;return r.children=EA(i,function(t){return zat(t,n)}),r.children.length||ZE(""),r}function Vat(t){return jA(t)&&!LA(t)}var Gat=function(){function t(t,e){this._cond=zat(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var Wat={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,o=(n=t.config,i={valueGetterAttrMap:dD({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;fD(t,"dimension")||ZE("");var n=r.getDimensionInfo(e);return n||ZE(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new Gat(n,i)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}},Hat={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=QE(n);r.length||ZE(i);var o=[];OA(r,function(t){var n=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==n&&ZE(i),"asc"!==r&&"desc"!==r&&ZE(i),s&&"min"!==s&&"max"!==s){ZE("")}if("asc"!==r&&"desc"!==r){ZE("")}var l=e.getDimensionInfo(n);l||ZE(i);var u=a?qW(a):null;a&&!u&&ZE(i),o.push({dimIdx:l.index,parser:u,comparator:new QW(r,s)})});var a=e.sourceFormat;a!==pG&&a!==fG&&ZE(i);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort(function(t,n){for(var i=0;i<o.length;i++){var r=o[i],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,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:s}}};var jat=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return rA(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new wH(this),SH(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),SH(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:vG},e}(sG),Uat=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return rA(e,t),e.type="dataset",e}(tj);var Yat=RN.CMD;function Xat(t,e){return Math.abs(t-e)<1e-5}function Zat(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],u=0,d=0,c=0,h=0;function p(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function f(t,n,i,r){Xat(t,i)&&Xat(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,d=Math.cos(t),c=Math.sin(t),h=Math.cos(n),p=Math.sin(n),f=d*o+i,g=c*a+r,y=h*o+i,m=p*a+r,v=o*l*u,x=a*l*u;e.push(f-v*c,g+x*d,y+v*p,m-x*h,y,m)}for(var y=0;y<s;){var m=a[y++],v=1===y;switch(v&&(c=u=a[y],h=d=a[y+1],m!==Yat.L&&m!==Yat.C&&m!==Yat.Q||(e=[c,h])),m){case Yat.M:u=c=a[y++],d=h=a[y++],p(c,h);break;case Yat.L:f(u,d,n=a[y++],i=a[y++]),u=n,d=i;break;case Yat.C:e.push(a[y++],a[y++],a[y++],a[y++],u=a[y++],d=a[y++]);break;case Yat.Q:n=a[y++],i=a[y++],r=a[y++],o=a[y++],e.push(u+2/3*(n-u),d+2/3*(i-d),r+2/3*(n-r),o+2/3*(i-o),r,o),u=r,d=o;break;case Yat.A:var x=a[y++],_=a[y++],b=a[y++],w=a[y++],S=a[y++],M=a[y++]+S;y+=1;var $=!a[y++];n=Math.cos(S)*b+x,i=Math.sin(S)*w+_,v?p(c=n,h=i):f(u,d,n,i),u=Math.cos(M)*b+x,d=Math.sin(M)*w+_;for(var C=($?-1:1)*Math.PI/2,I=S;$?I>M:I<M;I+=C){g(I,$?Math.max(I+C,M):Math.min(I+C,M),x,_,b,w)}break;case Yat.R:c=u=a[y++],h=d=a[y++],n=c+a[y++],i=h+a[y++],p(n,h),f(n,h,n,i),f(n,i,c,i),f(c,i,c,h),f(c,h,n,h);break;case Yat.Z:e&&f(u,d,c,h),u=c,d=h}}return e&&e.length>2&&l.push(e),l}function qat(t,e,n,i,r,o,a,s,l,u){if(Xat(t,n)&&Xat(e,i)&&Xat(r,a)&&Xat(o,s))l.push(a,s);else{var d=2/u,c=d*d,h=a-t,p=s-e,f=Math.sqrt(h*h+p*p);h/=f,p/=f;var g=n-t,y=i-e,m=r-a,v=o-s,x=g*g+y*y,_=m*m+v*v;if(x<c&&_<c)l.push(a,s);else{var b=h*g+p*y,w=-h*m-p*v;if(x-b*b<c&&b>=0&&_-w*w<c&&w>=0)l.push(a,s);else{var S=[],M=[];lL(t,n,r,a,.5,S),lL(e,i,o,s,.5,M),qat(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),qat(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function Kat(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var d=n-a*s;if(d>0)for(u=0;u<d;u++)l[u%a]+=1;return l}function Jat(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-i,d=l>Math.abs(u),c=Kat([l,u],d?0:1,e),h=(d?s:u)/c.length,p=0;p<c.length;p++)for(var f=(d?u:s)/c[p],g=0;g<c[p];g++){var y={};d?(y.startAngle=o+h*p,y.endAngle=o+h*(p+1),y.r0=i+f*g,y.r=i+f*(g+1)):(y.startAngle=o+f*g,y.endAngle=o+f*(g+1),y.r0=i+h*p,y.r=i+h*(p+1)),y.clockwise=t.clockwise,y.cx=t.cx,y.cy=t.cy,n.push(y)}}function Qat(t,e,n,i){return t*i-n*e}function tst(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,d=a-r,c=s-o,h=Qat(d,c,l,u);if(Math.abs(h)<1e-6)return null;var p=Qat(t-r,e-o,d,c)/h;return p<0||p>1?null:new gk(p*l+t,p*u+e)}function est(t,e,n){var i=new gk;gk.sub(i,n,e),i.normalize();var r=new gk;return gk.sub(r,t,e),r.dot(i)}function nst(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function ist(t){var e=t.points,n=[],i=[];hN(e,n,i);var r=new Mk(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new gk,d=new gk;return o>a?(u.x=d.x=s+o/2,u.y=l,d.y=l+a):(u.y=d.y=l+a/2,u.x=s,d.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=tst(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:est(l,e,n),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],d=r[r.length-1];if(d.idx<u.idx){var c=u;u=d,d=c}var h=[u.pt.x,u.pt.y],p=[d.pt.x,d.pt.y],f=[h],g=[p];for(o=u.idx+1;o<=d.idx;o++)nst(f,t[o].slice());for(nst(f,p),nst(f,h),o=d.idx+1;o<=u.idx+i;o++)nst(g,t[o%i].slice());return nst(g,h),nst(g,p),[{points:f},{points:g}]}(e,u,d)}function rst(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);rst(t,o[0],r,i),rst(t,o[1],n-r,i)}return i}function ost(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function ast(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=Kat([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",d=o?"y":"x",c=t[s]/a.length,h=0;h<a.length;h++)for(var p=t[l]/a[h],f=0;f<a[h];f++){var g={};g[u]=h*c,g[d]=f*p,g[s]=c,g[l]=p,g.x+=t.x,g.y+=t.y,n.push(g)}}(r,e,i),n=yR;break;case"sector":Jat(r,e,i),n=fz;break;case"circle":Jat({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=fz;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,s=EA(function(t,e){var n=Zat(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var d=o[u++],c=o[u++],h=o[u++],p=o[u++],f=o[u++],g=o[u++];qat(s,l,d,c,h,p,f,g,a,e),s=f,l=g}i.push(a)}return i}(t.getUpdatedPathProxy(),a),function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)}),l=s.length;if(0===l)rst(ist,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var d=0,c=EA(s,function(t){var e=[],n=[];hN(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return d+=i,{poly:t,area:i}});c.sort(function(t,e){return e.area-t.area});var h=e;for(u=0;u<l;u++){var p=c[u];if(h<=0)break;var f=u===l-1?h:Math.ceil(p.area/d*e);f<0||(rst(ist,{points:p.poly},f,i),h-=f)}}n=xz}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(ZB(t));return n}(t,e);var g=[];for(u=0;u<i.length;u++){var y=new n;y.setShape(i[u]),ost(t,y),g.push(y)}return g}function sst(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,d=Math.ceil(l/u)+1,c=[a[0],a[1]],h=l,p=2;p<s;){var f=a[p-2],g=a[p-1],y=a[p++],m=a[p++],v=a[p++],x=a[p++],_=a[p++],b=a[p++];if(h<=0)c.push(y,m,v,x,_,b);else{for(var w=Math.min(h,d-1)+1,S=1;S<=w;S++){var M=S/w;lL(f,y,v,_,M,r),lL(g,m,x,b,M,o),f=r[3],g=o[3],c.push(r[1],o[1],r[2],o[2],f,g),y=r[5],m=o[5],v=r[6],x=o[6]}h-=w-1}}return a===t?[c,e]:[t,c]}function lst(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function ust(t){for(var e=0,n=0,i=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],d=t[o+1],c=s*d-u*l;e+=c,n+=(s+u)*c,i+=(l+d)*c}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function dst(t,e,n,i){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 d=6*u,c=0,h=0;h<s;h+=2){var p=0===h?d:(d+h-2)%l+2,f=t[p]-n[0],g=t[p+1]-n[1],y=e[h]-i[0]-f,m=e[h+1]-i[1]-g;c+=y*y+m*m}c<o&&(o=c,a=u)}return a}function cst(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function hst(t){return t.__isCombineMorphing}var pst="__mOriginal_";function fst(t,e,n){var i=pst+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.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 gst(t,e){var n=pst+e;t[n]&&(t[e]=t[n],t[n]=null)}function yst(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function mst(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],d=void 0,c=void 0;l?u?(i=d=(n=sst(l,u))[0],r=c=n[1]):(c=lst(r||l,l),d=l):(d=lst(i||u,u),c=u),o.push(d),a.push(c)}return[o,a]}(Zat(n),Zat(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&yst(o,s),l&&yst(a,l),fst(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=ust(s),d=ust(l);null==r&&(r=u[2]<0!=d[2]<0);var c=[],h=[],p=0,f=1/0,g=[],y=s.length;r&&(s=cst(s));for(var m=6*dst(s,l,u,d),v=y-2,x=0;x<v;x+=2){var _=(m+x)%v+2;c[x+2]=s[_]-u[0],c[x+3]=s[_+1]-u[1]}c[0]=s[m]-u[0],c[1]=s[m+1]-u[1];for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),$=0;for(x=0;x<s.length;x+=2){var C=c[x],I=c[x+1],T=l[x]-d[0],A=l[x+1]-d[1],D=T*M-A*S,k=T*S+A*M;g[x]=D,g[x+1]=k;var L=D-C,O=k-I;$+=L*L+O*O}if($<f){f=$,p=w;for(var E=0;E<g.length;E++)h[E]=g[E]}}o.push({from:c,to:h,fromCp:u,toCp:d,rotation:-p})}return o}(o,a,10,Math.PI),d=[];fst(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,c=a.rotation*n,h=a.fromCp,p=a.toCp,f=Math.sin(c),g=Math.cos(c);DD(r,h,p,n);for(var y=0;y<s.length;y+=2){var m=s[y],v=s[y+1],x=m*i+(S=l[y])*n,_=v*i+(M=l[y+1])*n;d[y]=x*g-_*f+r[0],d[y+1]=x*f+_*g+r[1]}var b=d[0],w=d[1];t.moveTo(b,w);for(y=2;y<s.length;){var S=d[y++],M=d[y++],$=d[y++],C=d[y++],I=d[y++],T=d[y++];b===S&&w===M&&$===I&&C===T?t.lineTo(I,T):t.bezierCurveTo(S,M,$,C,I,T),b=I,w=T}}}})}function vst(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return mst(t,e),e.__morphT=0,e.animateTo({__morphT:1},AA({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){gst(e,"buildPath"),gst(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function xst(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var a,s=0,l=32768;l>0;l/=2){var u=0,d=0;(t&l)>0&&(u=1),(e&l)>0&&(d=1),s+=l*l*(3*u^d),0===d&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function _st(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=EA(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),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]});return EA(o,function(o,a){return{cp:o,z:xst(o[0],o[1],e,n,i,r),path:t[a]}}).sort(function(t,e){return t.z-e.z}).map(function(t){return t.path})}function bst(t){return ast(t.path,t.count)}function wst(t){return FA(t[0])}function Sst(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.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++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var Mst={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=ZB(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function $st(t,e,n,i,r,o){if(t.length&&e.length){var a=Wz("update",i,r);if(a&&a.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},a);wst(t)&&(s=t,l=e),wst(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,h=s?Sst(l,s):Sst(c?e:t,[c?t:e]),p=0,f=0;f<h.length;f++)p+=h[f].many.length;var g=0;for(f=0;f<h.length;f++)y(h[f],c,g,p),g+=h[f].many.length}}function y(t,e,i,r,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var c=AA({dividePath:Mst[n],individualDelay:u&&function(t,e,n,o){return u(t+i,r)}},d),h=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];hst(r)?t(r.childrenRef()):r instanceof rR&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||bst)({path:e,count:r});if(o.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};i=_st(i),o=_st(o);for(var a=n.done,s=n.during,l=n.individualDelay,u=new QO,d=0;d<r;d++){var c=i[d],h=o[d];h.parent=e,h.copyTransform(u),l||mst(c,h)}function p(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function f(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,gst(e,"addSelfToZr"),gst(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},fst(e,"addSelfToZr",{after:function(t){p(t)}}),fst(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var g=o.length;if(l){var y=g,m=function(){0===--y&&(f(),a&&a())};for(d=0;d<g;d++){var v=l?AA({delay:(n.delay||0)+l(d,g,i[d],o[d]),done:m},n):n;vst(i[d],o[d],v)}}else e.__morphT=0,e.animateTo({__morphT:1},AA({during:function(t){for(var n=0;n<g;n++){var i=o[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){f();for(var e=0;e<t.length;e++)gst(t[e],"updateTransform");a&&a()}},n));return e.__zr&&p(e.__zr),{fromIndividuals:i,toIndividuals:o,count:g}}(s,l,c):function(t,e,n){var i=e.length,r=[],o=n.dividePath||bst;if(hst(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];hst(i)?t(i.childrenRef()):i instanceof rR&&r.push(i)}}(t.childrenRef());var a=r.length;if(a<i)for(var s=0,l=a;l<i;l++)r.push(ZB(r[s++%a]));r.length=i}else{r=o({path:t,count:i});var u=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(u);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=_st(r),e=_st(e);var d=n.individualDelay;for(l=0;l<i;l++){var c=d?AA({delay:(n.delay||0)+d(l,i,r[l],e[l])},n):n;vst(r[l],e[l],c)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,c),p=h.fromIndividuals,f=h.toIndividuals,g=p.length,m=0;m<g;m++){v=u?AA({delay:u(m,g)},d):d;o(p[m],f[m],e?s[m]:t.one,e?t.one:s[m],v)}else{var v,x=e?s[0]:l,_=e?l:s[0];if(hst(x))y({many:[x],one:_},!0,i,r,!0);else vst(x,_,v=u?AA({delay:u(i,r)},d):d),o(x,_,x,_,v)}}}function Cst(t){if(!t)return[];if(FA(t)){for(var e=[],n=0;n<t.length;n++)e.push(Cst(t[n]));return e}var i=[];return t.traverse(function(t){t instanceof rR&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)}),i}var Ist=cP();function Tst(t,e,n,i){var r=function(t,e){for(var n=t.dimensions,i=0;i<n.length;i++){var r=t.getDimensionInfo(n[i]);if(r&&0===r.otherDims[e])return n[i]}}(t,i?"itemChildGroupId":"itemGroupId");if(r){var o=function(t,e,n){var i=t.getDimensionInfo(n),r=i&&i.ordinalMeta;if(i){var o=t.get(i.name,e);return r&&r.categories[o]||o+""}}(t,e,r);return o}var a=t.getRawDataItem(e),s=i?"childGroupId":"groupId";return a&&a[s]?a[s]+"":i?void 0:n||t.getId(e)}function Ast(t){var e=[];return OA(t,function(t){var n=t.data,i=t.dataGroupId;if(!(n.count()>1e4))for(var r=n.getIndices(),o=0;o<r.length;o++)e.push({data:n,groupId:Tst(n,o,i,!1),childGroupId:Tst(n,o,i,!0),divide:t.divide,dataIndex:o})}),e}function Dst(t,e,n){t.traverse(function(t){t instanceof rR&&Uz(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function kst(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function Lst(t){t.stopAnimation(),t.isGroup&&t.traverse(function(t){t.stopAnimation()})}function Ost(t,e,n){var i=Wz("update",n,e);i&&t.traverse(function(t){if(t instanceof eN){var e=function(t){return Gz(t).oldStyle}(t);e&&t.animateFrom({style:e},i)}})}function Est(t,e,n){var i=Ast(t),r=Ast(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?TA(TA({},n.style),t.style):t.style},r)}var a=!1,s=0,l=dD(),u=dD();i.forEach(function(t){t.groupId&&l.set(t.groupId,!0),t.childGroupId&&u.set(t.childGroupId,!0)});for(var d=0;d<r.length;d++){var c=r[d].groupId;if(u.get(c)){s=1;break}var h=r[d].childGroupId;if(h&&l.get(h)){s=2;break}}function p(t,e){return function(n){var i=n.data,r=n.dataIndex;return e?i.getId(r):t?1===s?n.childGroupId:n.groupId:2===s?n.childGroupId:n.groupId}}var f=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(i,r),g={};if(!f)for(d=0;d<r.length;d++){var y=r[d],m=y.data.getItemGraphicEl(y.dataIndex);m&&(g[m.id]=!0)}function v(t,e){var n=i[e],s=r[t],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),d=s.data.getItemGraphicEl(s.dataIndex);u!==d?u&&g[u.id]||d&&(Lst(d),u?(Lst(u),kst(u),a=!0,$st(Cst(u),Cst(d),s.divide,l,t,o)):Dst(d,l,t)):d&&Ost(d,s.dataIndex,l)}new iX(i,r,p(!0,f),p(!1,f),null,"multiple").update(v).updateManyToOne(function(t,e){var n=r[t],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),d=NA(EA(e,function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)}),function(t){return t&&t!==u&&!g[t.id]});u&&(Lst(u),d.length?(OA(d,function(t){Lst(t),kst(t)}),a=!0,$st(Cst(d),Cst(u),n.divide,l,t,o)):Dst(u,l,n.dataIndex))}).updateOneToMany(function(t,e){var n=i[e],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!g[s.id]){var l=NA(EA(t,function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)}),function(t){return t&&t!==s}),u=r[t[0]].data.hostModel;l.length&&(OA(l,function(t){return Lst(t)}),s?(Lst(s),kst(s),a=!0,$st(Cst(s),Cst(l),n.divide,u,t[0],o)):OA(l,function(e){return Dst(e,u,t[0])}))}}).updateManyToMany(function(t,e){new iX(e,t,function(t){return i[t].data.getId(i[t].dataIndex)},function(t){return r[t].data.getId(r[t].dataIndex)}).update(function(n,i){v(t[n],e[i])}).execute()}).execute(),a&&OA(e,function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=Wz("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse(function(t){t instanceof rR&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)})})}function Pst(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function Nst(t){return FA(t)?t.sort().join(","):t}function Rst(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function Bst(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}tX([function(t){t.registerPainter("canvas",mJ)}]),tX([function(t){t.registerPainter("svg",cJ)}]),tX([function(t){t.registerChartView(JJ),t.registerSeriesModel(vJ),t.registerLayout(QJ("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,nQ("line"))},function(t){t.registerChartView(hQ),t.registerSeriesModel(rQ),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,zA(sZ,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,lZ("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,nQ("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})})},function(t){t.registerChartView(VQ),t.registerSeriesModel(jQ),nU("pie",t.registerAction),t.registerLayout(zA(LQ,"pie")),t.registerProcessor(EQ("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(HA(i)&&!isNaN(i)&&i<0)})}})},function(t){tX(j0),t.registerSeriesModel(UQ),t.registerChartView(qQ),t.registerLayout(QJ("scatter"))},function(t){tX(o1),t.registerChartView(q0),t.registerSeriesModel(K0),t.registerLayout(U0),t.registerProcessor(EQ("radar")),t.registerPreprocessor(Z0)},function(t){tX(E2),t.registerChartView(g2),t.registerSeriesModel(y2),t.registerLayout(v2),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,m2),nU("map",t.registerAction)},function(t){t.registerChartView(U2),t.registerSeriesModel(f3),t.registerLayout(y3),t.registerVisual(m3),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=k2(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})})}(t)},function(t){t.registerSeriesModel(_3),t.registerChartView(O3),t.registerVisual(q3),t.registerLayout(u4),function(t){for(var e=0;e<v3.length;e++)t.registerAction({type:v3[e],update:"updateView"},gD);t.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,n){var i=d3(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=h3(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})})}(t)},function(t){t.registerChartView(d5),t.registerSeriesModel(m5),t.registerProcessor(g4),t.registerVisual(y4),t.registerVisual(v4),t.registerLayout(T4),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,N4),t.registerLayout(B4),t.registerCoordinateSystem("graphView",{dimensions:_2.dimensions,create:z4}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},gD),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},gD),t.registerAction(v5,function(t,e,n){e.eachComponent({mainType:"series",query:t},function(e){var i=k2(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})})},function(t){t.registerChartView(w5),t.registerSeriesModel(S5)},function(t){t.registerChartView(C5),t.registerSeriesModel(I5),t.registerLayout(T5),t.registerProcessor(EQ("funnel"))},function(t){tX(e6),t.registerChartView(A5),t.registerSeriesModel(P5),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,B5)},function(t){t.registerChartView(r6),t.registerSeriesModel(a6),t.registerLayout(s6),t.registerVisual(x6),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])})})},function(t){t.registerSeriesModel(b6),t.registerChartView(w6),t.registerLayout(A6),t.registerTransform(D6)},function(t){t.registerChartView(F6),t.registerSeriesModel(K6),t.registerPreprocessor(J6),t.registerVisual(B6),t.registerLayout(Q6)},function(t){t.registerChartView(i8),t.registerSeriesModel(r8),t.registerLayout(QJ("effectScatter"))},function(t){t.registerChartView(h8),t.registerSeriesModel(y8),t.registerLayout(c8),t.registerVisual(v8)},function(t){t.registerChartView(b8),t.registerSeriesModel(w8)},function(t){t.registerChartView(C8),t.registerSeriesModel(H8),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,zA(sZ,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,lZ("pictorialBar"))},function(t){t.registerChartView(j8),t.registerSeriesModel(U8),t.registerLayout(Y8),t.registerProcessor(EQ("themeRiver"))},function(t){t.registerChartView(J8),t.registerSeriesModel(Q8),t.registerLayout(zA(n7,"sunburst")),t.registerProcessor(zA(EQ,"sunburst")),t.registerVisual(r7),function(t){t.registerAction({type:q8,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=d3(t,[q8],e);if(i){var r=e.getViewRoot();r&&(t.direction=h3(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})}),t.registerAction({type:K8,update:"none"},function(t,e,n){t=TA({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e){var n=d3(t,[K8],e);n&&(t.dataIndex=n.node.dataIndex)}),n.dispatchAction(TA(t,{type:"highlight"}))}),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(t,e,n){t=TA({},t),n.dispatchAction(TA(t,{type:"downplay"}))})}(t)},function(t){t.registerChartView(Z7),t.registerSeriesModel(l7)}]),tX(function(t){tX(j0),tX(qtt)}),tX(function(t){tX(qtt),O0.registerAxisPointerClass("PolarAxisPointer",Ktt),t.registerCoordinateSystem("polar",het),t.registerComponentModel(Qtt),t.registerComponentView(Aet),r0(t,"angle",eet,Iet),r0(t,"radius",net,Tet),t.registerComponentView(met),t.registerComponentView(bet),t.registerLayout(zA(Cet,"bar"))}),tX(E2),tX(function(t){tX(qtt),O0.registerAxisPointerClass("SingleAxisPointer",Wet),t.registerComponentView(Yet),t.registerComponentView(Oet),t.registerComponentModel(Pet),r0(t,"single",Pet,Pet.defaultOption),t.registerCoordinateSystem("single",Fet)}),tX(e6),tX(function(t){t.registerComponentModel(Xet),t.registerComponentView(qet),t.registerCoordinateSystem("calendar",Jet)}),tX(function(t){t.registerComponentModel(rnt),t.registerComponentView(snt),t.registerPreprocessor(function(t){var e=t.graphic;FA(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}),tX(function(t){t.registerComponentModel(Ent),t.registerComponentView(Nnt),Lnt("saveAsImage",Rnt),Lnt("magicType",Fnt),Lnt("dataView",Ynt),Lnt("dataZoom",git),Lnt("restore",Jnt),tX(Ant)}),tX(function(t){tX(qtt),t.registerComponentModel(vit),t.registerComponentView(Pit),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},gD),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},gD)}),tX(qtt),tX(function(t){t.registerComponentView(irt),t.registerComponentModel(rrt),t.registerPreprocessor(Fit),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,Jit),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"},gD),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},gD),Lnt("brush",srt)}),tX(function(t){t.registerComponentModel(lrt),t.registerComponentView(urt)}),tX(function(t){t.registerComponentModel(crt),t.registerComponentView(yrt),t.registerSubTypeDefaulter("timeline",function(){return"slider"}),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),AA({currentIndex:i.option.currentIndex},t)}),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)})}(t),t.registerPreprocessor(xrt)}),tX(function(t){t.registerComponentModel(Crt),t.registerComponentView(Brt),t.registerPreprocessor(function(t){wrt(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}),tX(function(t){t.registerComponentModel(zrt),t.registerComponentView(Urt),t.registerPreprocessor(function(t){wrt(t.series,"markLine")&&(t.markLine=t.markLine||{})})}),tX(function(t){t.registerComponentModel(Yrt),t.registerComponentView(eot),t.registerPreprocessor(function(t){wrt(t.series,"markArea")&&(t.markArea=t.markArea||{})})}),tX(function(t){tX(fot),tX(bot)}),tX(function(t){tX(Lot),tX(Vot)}),tX(Lot),tX(Vot),tX(function(t){tX(bat),tX(Cat)}),tX(bat),tX(Cat),tX(function(t){t.registerPreprocessor(kat),t.registerVisual(t.PRIORITY.VISUAL.ARIA,Dat)}),tX(function(t){t.registerTransform(Wat),t.registerTransform(Hat)}),tX(function(t){t.registerComponentModel(jat),t.registerComponentView(Uat)}),tX(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){OA(QE(n.seriesTransition),function(t){OA(QE(t.to),function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][jH]=!0)})})}),t.registerUpdateLifecycle("series:transition",function(t,e,n){var i=Ist(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)OA(QE(r),function(t){!function(t,e,n,i){var r=[],o=[];OA(QE(t.from),function(t){var n=Bst(e.oldSeries,t);n>=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:Rst(e.oldData[n]),groupIdDim:t.dimension})}),OA(QE(t.to),function(t){var i=Bst(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:Rst(r),groupIdDim:t.dimension})}}),r.length>0&&o.length>0&&Est(r,o,i)}(t,i,n,e)});else{var o=function(t,e){var n=dD(),i=dD(),r=dD();return OA(t.oldSeries,function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=Pst(e),l=Nst(s);i.set(l,{dataGroupId:o,data:a}),FA(s)&&OA(s,function(t){r.set(t,{key:l,dataGroupId:o,data:a})})}),OA(e.updatedSeries,function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=Pst(t),s=Nst(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:Rst(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:Rst(o),data:o}]});else if(FA(a)){var u=[];OA(a,function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:Rst(e.data),data:e.data})}),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:Rst(o)}]})}else{var d=r.get(a);if(d){var c=n.get(d.key);c||(c={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:Rst(d.data)}],newSeries:[]},n.set(d.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:Rst(o)})}}}}),n}(i,n);OA(o.keys(),function(t){var n=o.get(t);Est(n.oldSeries,n.newSeries,e)})}OA(n.updatedSeries,function(t){t[jH]&&(t[jH]=!1)})}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],d=0;d<a.length;d++){var c=a[d].getData();c.count()<1e4&&(s.push(a[d]),l.push(a[d].get("dataGroupId")),u.push(c))}})}),tX(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=Qq(e).labelManager;i||(i=Qq(e).labelManager=new Jq),i.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=Qq(e).labelManager;n.updatedSeries.forEach(function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})});var zst=Object.prototype.hasOwnProperty;var Fst=function(t,e){return null!=t&&zst.call(t,e)},Vst=PM,Gst=NM;var Wst=function(t){return"symbol"==typeof t||Gst(t)&&"[object Symbol]"==Vst(t)},Hst=jM,jst=Wst,Ust=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yst=/^\w*$/;var Xst=function(t,e){if(Hst(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!jst(t))||(Yst.test(t)||!Ust.test(t)||null!=e&&t in Object(e))},Zst=bC(Object,"create"),qst=Zst;var Kst=function(){this.__data__=qst?qst(null):{},this.size=0};var Jst=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Qst=Zst,tlt=Object.prototype.hasOwnProperty;var elt=function(t){var e=this.__data__;if(Qst){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return tlt.call(e,t)?e[t]:void 0},nlt=Zst,ilt=Object.prototype.hasOwnProperty;var rlt=Zst;var olt=Kst,alt=Jst,slt=elt,llt=function(t){var e=this.__data__;return nlt?void 0!==e[t]:ilt.call(e,t)},ult=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=rlt&&void 0===e?"__lodash_hash_undefined__":e,this};function dlt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}dlt.prototype.clear=olt,dlt.prototype.delete=alt,dlt.prototype.get=slt,dlt.prototype.has=llt,dlt.prototype.set=ult;var clt=dlt;var hlt=function(){this.__data__=[],this.size=0};var plt=function(t,e){return t===e||t!=t&&e!=e},flt=plt;var glt=function(t,e){for(var n=t.length;n--;)if(flt(t[n][0],e))return n;return-1},ylt=glt,mlt=Array.prototype.splice;var vlt=glt;var xlt=glt;var _lt=glt;var blt=hlt,wlt=function(t){var e=this.__data__,n=ylt(e,t);return!(n<0)&&(n==e.length-1?e.pop():mlt.call(e,n,1),--this.size,!0)},Slt=function(t){var e=this.__data__,n=vlt(e,t);return n<0?void 0:e[n][1]},Mlt=function(t){return xlt(this.__data__,t)>-1},$lt=function(t,e){var n=this.__data__,i=_lt(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function Clt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Clt.prototype.clear=blt,Clt.prototype.delete=wlt,Clt.prototype.get=Slt,Clt.prototype.has=Mlt,Clt.prototype.set=$lt;var Ilt=Clt,Tlt=clt,Alt=Ilt,Dlt=SC;var klt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Llt=function(t,e){var n=t.__data__;return klt(e)?n["string"==typeof e?"string":"hash"]:n.map},Olt=Llt;var Elt=Llt;var Plt=Llt;var Nlt=Llt;var Rlt=function(){this.size=0,this.__data__={hash:new Tlt,map:new(Dlt||Alt),string:new Tlt}},Blt=function(t){var e=Olt(this,t).delete(t);return this.size-=e?1:0,e},zlt=function(t){return Elt(this,t).get(t)},Flt=function(t){return Plt(this,t).has(t)},Vlt=function(t,e){var n=Nlt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function Glt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Glt.prototype.clear=Rlt,Glt.prototype.delete=Blt,Glt.prototype.get=zlt,Glt.prototype.has=Flt,Glt.prototype.set=Vlt;var Wlt=Glt,Hlt=Wlt;function jlt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(jlt.Cache||Hlt),n}jlt.Cache=Hlt;var Ult=jlt;var Ylt=function(t){var e=Ult(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e},Xlt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zlt=/\\(\\)?/g,qlt=Ylt(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Xlt,function(t,n,i,r){e.push(i?r.replace(Zlt,"$1"):n||t)}),e});var Klt=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r},Jlt=Klt,Qlt=jM,tut=Wst,eut=MM?MM.prototype:void 0,nut=eut?eut.toString:void 0;var iut=function t(e){if("string"==typeof e)return e;if(Qlt(e))return Jlt(e,t)+"";if(tut(e))return nut?nut.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},rut=iut;var out=function(t){return null==t?"":rut(t)},aut=jM,sut=Xst,lut=qlt,uut=out;var dut=function(t,e){return aut(t)?t:sut(t,e)?[t]:lut(uut(t))},cut=Wst;var hut=function(t){if("string"==typeof t||cut(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},put=dut,fut=HM,gut=jM,yut=r$,mut=o$,vut=hut;var xut=function(t,e,n){for(var i=-1,r=(e=put(e,t)).length,o=!1;++i<r;){var a=vut(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&mut(r)&&yut(a,r)&&(gut(t)||fut(t))},_ut=Fst,but=xut;const wut=yb(function(t,e){return null!=t&&but(t,e,_ut)});var Sut=Math.ceil,Mut=Math.max;var $ut=plt,Cut=V$,Iut=r$,Tut=E$;var Aut=function(t,e,n){if(!Tut(n))return!1;var i=typeof e;return!!("number"==i?Cut(n)&&Iut(e,n.length):"string"==i&&e in n)&&$ut(n[e],t)},Dut=/\s/;var kut=function(t){for(var e=t.length;e--&&Dut.test(t.charAt(e)););return e},Lut=/^\s+/;var Out=function(t){return t?t.slice(0,kut(t)+1).replace(Lut,""):t},Eut=E$,Put=Wst,Nut=/^[-+]0x[0-9a-f]+$/i,Rut=/^0b[01]+$/i,But=/^0o[0-7]+$/i,zut=parseInt;var Fut=function(t){if("number"==typeof t)return t;if(Put(t))return NaN;if(Eut(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Eut(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Out(t);var n=Rut.test(t);return n||But.test(t)?zut(t.slice(2),n?2:8):Nut.test(t)?NaN:+t},Vut=1/0;var Gut=function(t){return t?(t=Fut(t))===Vut||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0},Wut=function(t,e,n,i){for(var r=-1,o=Mut(Sut((e-t)/(n||1)),0),a=Array(o);o--;)a[i?o:++r]=t,t+=n;return a},Hut=Aut,jut=Gut;const Uut=yb(function(t){return function(e,n,i){return i&&"number"!=typeof i&&Hut(e,n,i)&&(n=i=void 0),e=jut(e),void 0===n?(n=e,e=0):n=jut(n),i=void 0===i?e<n?1:-1:jut(i),Wut(e,n,i,t)}}());var Yut=Ilt;var Xut=Ilt,Zut=SC,qut=Wlt;var Kut=Ilt,Jut=function(){this.__data__=new Yut,this.size=0},Qut=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},tdt=function(t){return this.__data__.get(t)},edt=function(t){return this.__data__.has(t)},ndt=function(t,e){var n=this.__data__;if(n instanceof Xut){var i=n.__data__;if(!Zut||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new qut(i)}return n.set(t,e),this.size=n.size,this};function idt(t){var e=this.__data__=new Kut(t);this.size=e.size}idt.prototype.clear=Jut,idt.prototype.delete=Qut,idt.prototype.get=tdt,idt.prototype.has=edt,idt.prototype.set=ndt;var rdt=idt;var odt=Wlt,adt=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},sdt=function(t){return this.__data__.has(t)};function ldt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new odt;++e<n;)this.add(t[e])}ldt.prototype.add=ldt.prototype.push=adt,ldt.prototype.has=sdt;var udt=ldt,ddt=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1},cdt=function(t,e){return t.has(e)};var hdt=function(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t),d=o.get(e);if(u&&d)return u==e&&d==t;var c=-1,h=!0,p=2&n?new udt:void 0;for(o.set(t,e),o.set(e,t);++c<s;){var f=t[c],g=e[c];if(i)var y=a?i(g,f,c,e,t,o):i(f,g,c,t,e,o);if(void 0!==y){if(y)continue;h=!1;break}if(p){if(!ddt(e,function(t,e){if(!cdt(p,e)&&(f===t||r(f,t,n,i,o)))return p.push(e)})){h=!1;break}}else if(f!==g&&!r(f,g,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h};var pdt=SM.Uint8Array,fdt=plt,gdt=hdt,ydt=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n},mdt=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n},vdt=MM?MM.prototype:void 0,xdt=vdt?vdt.valueOf:void 0;var _dt=function(t,e,n,i,r,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new pdt(t),new pdt(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return fdt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=ydt;case"[object Set]":var l=1&i;if(s||(s=mdt),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=2,a.set(t,e);var d=gdt(s(t),s(e),i,r,o,a);return a.delete(t),d;case"[object Symbol]":if(xdt)return xdt.call(t)==xdt.call(e)}return!1};var bdt=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t},wdt=jM;var Sdt=function(t,e,n){var i=e(t);return wdt(t)?i:bdt(i,n(t))};var Mdt=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o},$dt=function(){return[]},Cdt=Object.prototype.propertyIsEnumerable,Idt=Object.getOwnPropertySymbols,Tdt=Sdt,Adt=Idt?function(t){return null==t?[]:(t=Object(t),Mdt(Idt(t),function(e){return Cdt.call(t,e)}))}:$dt,Ddt=j$;var kdt=function(t){return Tdt(t,Ddt,Adt)},Ldt=Object.prototype.hasOwnProperty;var Odt=rdt,Edt=hdt,Pdt=_dt,Ndt=function(t,e,n,i,r,o){var a=1&n,s=kdt(t),l=s.length;if(l!=kdt(e).length&&!a)return!1;for(var u=l;u--;){var d=s[u];if(!(a?d in e:Ldt.call(e,d)))return!1}var c=o.get(t),h=o.get(e);if(c&&h)return c==e&&h==t;var p=!0;o.set(t,e),o.set(e,t);for(var f=a;++u<l;){var g=t[d=s[u]],y=e[d];if(i)var m=a?i(y,g,d,e,t,o):i(g,y,d,t,e,o);if(!(void 0===m?g===y||r(g,y,n,i,o):m)){p=!1;break}f||(f="constructor"==d)}if(p&&!f){var v=t.constructor,x=e.constructor;v==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof x&&x instanceof x||(p=!1)}return o.delete(t),o.delete(e),p},Rdt=GC,Bdt=jM,zdt=n$,Fdt=m$,Vdt="[object Arguments]",Gdt="[object Array]",Wdt="[object Object]",Hdt=Object.prototype.hasOwnProperty;var jdt=function(t,e,n,i,r,o){var a=Bdt(t),s=Bdt(e),l=a?Gdt:Rdt(t),u=s?Gdt:Rdt(e),d=(l=l==Vdt?Wdt:l)==Wdt,c=(u=u==Vdt?Wdt:u)==Wdt,h=l==u;if(h&&zdt(t)){if(!zdt(e))return!1;a=!0,d=!1}if(h&&!d)return o||(o=new Odt),a||Fdt(t)?Edt(t,e,n,i,r,o):Pdt(t,e,l,n,i,r,o);if(!(1&n)){var p=d&&Hdt.call(t,"__wrapped__"),f=c&&Hdt.call(e,"__wrapped__");if(p||f){var g=p?t.value():t,y=f?e.value():e;return o||(o=new Odt),r(g,y,n,i,o)}}return!!h&&(o||(o=new Odt),Ndt(t,e,n,i,r,o))},Udt=NM;var Ydt=function t(e,n,i,r,o){return e===n||(null==e||null==n||!Udt(e)&&!Udt(n)?e!=e&&n!=n:jdt(e,n,i,r,t,o))},Xdt=rdt,Zdt=Ydt;var qdt=E$;var Kdt=function(t){return t==t&&!qdt(t)},Jdt=Kdt,Qdt=j$;var tct=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}},ect=function(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=Object(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],u=t[l],d=s[1];if(a&&s[2]){if(void 0===u&&!(l in t))return!1}else{var c=new Xdt;if(i)var h=i(u,d,l,t,e,c);if(!(void 0===h?Zdt(d,u,3,i,c):h))return!1}}return!0},nct=function(t){for(var e=Qdt(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,Jdt(r)]}return e},ict=tct;var rct=dut,oct=hut;var act=function(t,e){for(var n=0,i=(e=rct(e,t)).length;null!=t&&n<i;)t=t[oct(e[n++])];return n&&n==i?t:void 0},sct=act;var lct=function(t,e){return null!=t&&e in Object(t)},uct=xut;var dct=Ydt,cct=function(t,e,n){var i=null==t?void 0:sct(t,e);return void 0===i?n:i},hct=function(t,e){return null!=t&&uct(t,e,lct)},pct=Xst,fct=Kdt,gct=tct,yct=hut;var mct=function(t){return function(e){return null==e?void 0:e[t]}},vct=act;var xct=mct,_ct=function(t){return function(e){return vct(e,t)}},bct=Xst,wct=hut;var Sct=function(t){var e=nct(t);return 1==e.length&&e[0][2]?ict(e[0][0],e[0][1]):function(n){return n===t||ect(n,t,e)}},Mct=function(t,e){return pct(t)&&fct(e)?gct(yct(t),e):function(n){var i=cct(n,t);return void 0===i&&i===e?hct(n,t):dct(e,i,3)}},$ct=K$,Cct=jM,Ict=function(t){return bct(t)?xct(wct(t)):_ct(t)};var Tct=function(t){return"function"==typeof t?t:null==t?$ct:"object"==typeof t?Cct(t)?Mct(t[0],t[1]):Sct(t):Ict(t)},Act=q$,Dct=V$;var kct=Klt,Lct=Tct,Oct=function(t,e){var n=-1,i=Dct(t)?Array(t.length):[];return Act(t,function(t,r,o){i[++n]=e(t,r,o)}),i},Ect=jM;const Pct=yb(function(t,e){return(Ect(t)?kct:Oct)(t,Lct(e))});var Nct=Math.floor;var Rct=function(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Nct(e/2))&&(t+=t)}while(e);return n};var Bct=function(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(r);++i<r;)o[i]=t[i+e];return o},zct=Bct;var Fct=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:zct(t,e,n)},Vct=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Gct=function(t){return Vct.test(t)},Wct=mct("length"),Hct="\\ud800-\\udfff",jct="["+Hct+"]",Uct="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Yct="\\ud83c[\\udffb-\\udfff]",Xct="[^"+Hct+"]",Zct="(?:\\ud83c[\\udde6-\\uddff]){2}",qct="[\\ud800-\\udbff][\\udc00-\\udfff]",Kct="(?:"+Uct+"|"+Yct+")"+"?",Jct="[\\ufe0e\\ufe0f]?",Qct=Jct+Kct+("(?:\\u200d(?:"+[Xct,Zct,qct].join("|")+")"+Jct+Kct+")*"),tht="(?:"+[Xct+Uct+"?",Uct,Zct,qct,jct].join("|")+")",eht=RegExp(Yct+"(?="+Yct+")|"+tht+Qct,"g");var nht=Wct,iht=Gct,rht=function(t){for(var e=eht.lastIndex=0;eht.test(t);)++e;return e};var oht=function(t){return iht(t)?rht(t):nht(t)};var aht=function(t){return t.split("")},sht="\\ud800-\\udfff",lht="["+sht+"]",uht="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",dht="\\ud83c[\\udffb-\\udfff]",cht="[^"+sht+"]",hht="(?:\\ud83c[\\udde6-\\uddff]){2}",pht="[\\ud800-\\udbff][\\udc00-\\udfff]",fht="(?:"+uht+"|"+dht+")"+"?",ght="[\\ufe0e\\ufe0f]?",yht=ght+fht+("(?:\\u200d(?:"+[cht,hht,pht].join("|")+")"+ght+fht+")*"),mht="(?:"+[cht+uht+"?",uht,hht,pht,lht].join("|")+")",vht=RegExp(dht+"(?="+dht+")|"+mht+yht,"g");var xht=aht,_ht=Gct,bht=function(t){return t.match(vht)||[]};var wht=Rct,Sht=iut,Mht=Fct,$ht=Gct,Cht=oht,Iht=function(t){return _ht(t)?bht(t):xht(t)},Tht=Math.ceil;var Aht=Gut;var Dht=function(t){var e=Aht(t),n=e%1;return e==e?n?e-n:e:0},kht=function(t,e){var n=(e=void 0===e?" ":Sht(e)).length;if(n<2)return n?wht(e,t):e;var i=wht(e,Tht(t/Cht(e)));return $ht(e)?Mht(Iht(i),0,t).join(""):i.slice(0,t)},Lht=oht,Oht=Dht,Eht=out;const Pht=yb(function(t,e,n){t=Eht(t);var i=(e=Oht(e))?Lht(t):0;return e&&i<e?kht(e-i,n)+t:t});var Nht={exports:{}};!function(t){var e;e=()=>{var t=(()=>{var t,e,a,s,l,u,d,c,h,p,f,g,y,m,v,x,_,b,w,S,M,$,C,I,T,A,D,k,L,O,E,P,N,R,B,z,F,V,G,W,H,j,U,Y,X,Z,q,K,J,Q,tt,et,nt,it,rt,ot,at,st,lt,ut,dt,ct,ht,pt,ft,gt,yt,mt,vt,xt,_t,bt,wt,St,Mt,$t,Ct,It,Tt,At,Dt,kt,Lt,Ot,Et,Pt,Nt,Rt,Bt,zt,Ft,Vt,Gt,Wt,Ht,jt,Ut,Yt,Xt,Zt,qt,Kt,Jt,Qt,te,ee,ne,ie,re,oe=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,se=Object.getOwnPropertyNames,le=Object.prototype.hasOwnProperty,ue={};((t,e)=>{for(var n in e)oe(t,n,{get:e[n],enumerable:!0})})(ue,{Iti:()=>Bn,default:()=>Fn});var de=[];for(const n of[["af","93",0,null,"0"],["ax","358",1,["18","4"],"0"],["al","355",0,null,"0"],["dz","213",0,null,"0"],["as","1",5,["684"],"1"],["ad","376"],["ao","244"],["ai","1",6,["264"],"1"],["ag","1",7,["268"],"1"],["ar","54",0,null,"0"],["am","374",0,null,"0"],["aw","297"],["ac","247"],["au","61",0,["4"],"0"],["at","43",0,null,"0"],["az","994",0,null,"0"],["bs","1",8,["242"],"1"],["bh","973"],["bd","880",0,null,"0"],["bb","1",9,["246"],"1"],["by","375",0,null,"8"],["be","32",0,null,"0"],["bz","501"],["bj","229"],["bm","1",10,["441"],"1"],["bt","975"],["bo","591",0,null,"0"],["ba","387",0,null,"0"],["bw","267"],["br","55",0,null,"0"],["io","246"],["vg","1",11,["284"],"1"],["bn","673"],["bg","359",0,null,"0"],["bf","226"],["bi","257"],["kh","855",0,null,"0"],["cm","237"],["ca","1",1,["204","226","236","249","250","257","263","289","306","343","354","365","367","368","382","403","416","418","428","431","437","438","450","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905","942"],"1"],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"],"1"],["cf","236"],["td","235"],["cl","56"],["cn","86",0,null,"0"],["cx","61",2,["4","89164"],"0"],["cc","61",1,["4","89162"],"0"],["co","57",0,null,"0"],["km","269"],["cg","242"],["cd","243",0,null,"0"],["ck","682"],["cr","506"],["ci","225"],["hr","385",0,null,"0"],["cu","53",0,null,"0"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"],"1"],["do","1",2,["809","829","849"],"1"],["ec","593",0,null,"0"],["eg","20",0,null,"0"],["sv","503"],["gq","240"],["er","291",0,null,"0"],["ee","372"],["sz","268"],["et","251",0,null,"0"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0,["4"],"0"],["fr","33",0,null,"0"],["gf","594",0,null,"0"],["pf","689"],["ga","241"],["gm","220"],["ge","995",0,null,"0"],["de","49",0,null,"0"],["gh","233",0,null,"0"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"],"1"],["gp","590",0,null,"0"],["gu","1",15,["671"],"1"],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36",0,null,"06"],["is","354"],["in","91",0,null,"0"],["id","62",0,null,"0"],["ir","98",0,null,"0"],["iq","964",0,null,"0"],["ie","353",0,null,"0"],["im","44",2,["1624","74576","7524","7624","7924"],"0"],["il","972",0,null,"0"],["it","39",0,["3"]],["jm","1",4,["658","876"],"1"],["jp","81",0,null,"0"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962",0,null,"0"],["kz","7",1,["33","7"],"8"],["ke","254",0,null,"0"],["ki","686",0,null,"0"],["xk","383",0,null,"0"],["kw","965"],["kg","996",0,null,"0"],["la","856",0,null,"0"],["lv","371"],["lb","961",0,null,"0"],["ls","266"],["lr","231",0,null,"0"],["ly","218",0,null,"0"],["li","423",0,null,"0"],["lt","370",0,null,"0"],["lu","352"],["mo","853"],["mg","261",0,null,"0"],["mw","265",0,null,"0"],["my","60",0,null,"0"],["mv","960"],["ml","223"],["mt","356"],["mh","692",0,null,"1"],["mq","596",0,null,"0"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373",0,null,"0"],["mc","377",0,null,"0"],["mn","976",0,null,"0"],["me","382",0,null,"0"],["ms","1",16,["664"],"1"],["ma","212",0,["6","7"],"0"],["mz","258"],["mm","95",0,null,"0"],["na","264",0,null,"0"],["nr","674"],["np","977",0,null,"0"],["nl","31",0,null,"0"],["nc","687"],["nz","64",0,null,"0"],["ni","505"],["ne","227"],["ng","234",0,null,"0"],["nu","683"],["nf","672"],["kp","850",0,null,"0"],["mk","389",0,null,"0"],["mp","1",17,["670"],"1"],["no","47",0,["4","9"]],["om","968"],["pk","92",0,null,"0"],["pw","680"],["ps","970",0,null,"0"],["pa","507"],["pg","675"],["py","595",0,null,"0"],["pe","51",0,null,"0"],["ph","63",0,null,"0"],["pl","48"],["pt","351"],["pr","1",3,["787","939"],"1"],["qa","974"],["re","262",0,null,"0"],["ro","40",0,null,"0"],["ru","7",0,["33"],"8"],["rw","250",0,null,"0"],["ws","685"],["sm","378"],["st","239"],["sa","966",0,null,"0"],["sn","221"],["rs","381",0,null,"0"],["sc","248"],["sl","232",0,null,"0"],["sg","65"],["sx","1",21,["721"],"1"],["sk","421",0,null,"0"],["si","386",0,null,"0"],["sb","677"],["so","252",0,null,"0"],["za","27",0,null,"0"],["kr","82",0,null,"0"],["ss","211",0,null,"0"],["es","34"],["lk","94",0,null,"0"],["bl","590",1,null,"0"],["sh","290"],["kn","1",18,["869"],"1"],["lc","1",19,["758"],"1"],["mf","590",2,null,"0"],["pm","508",0,null,"0"],["vc","1",20,["784"],"1"],["sd","249",0,null,"0"],["sr","597"],["sj","47",1,["4","79","9"]],["se","46",0,null,"0"],["ch","41",0,null,"0"],["sy","963",0,null,"0"],["tw","886",0,null,"0"],["tj","992"],["tz","255",0,null,"0"],["th","66",0,null,"0"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"],"1"],["tn","216"],["tr","90",0,null,"0"],["tm","993",0,null,"8"],["tc","1",23,["649"],"1"],["tv","688"],["vi","1",24,["340"],"1"],["ug","256",0,null,"0"],["ua","380",0,null,"0"],["ae","971",0,null,"0"],["gb","44",0,null,"0"],["us","1",0,null,"1"],["uy","598",0,null,"0"],["uz","998"],["vu","678"],["va","39",1,["06698","3"]],["ve","58",0,null,"0"],["vn","84",0,null,"0"],["wf","681"],["eh","212",1,["5288","5289","6","7"],"0"],["ye","967",0,null,"0"],["zm","260",0,null,"0"],["zw","263",0,null,"0"]])de.push({name:"",iso2:n[0],dialCode:n[1],priority:n[2]||0,areaCodes:n[3]||null,nodeById:{},nationalPrefix:n[4]||null,normalisedName:"",initials:"",dialCodePlus:""});var ce,he=new Set(de.map(t=>t.iso2)),pe=t=>he.has(t),fe=de,ge="open:countrydropdown",ye="close:countrydropdown",me="countrychange",ve="input",xe="iti__hide",_e="iti__v-hide",be="iti__arrow--up",we="iti__globe",Se="iti__flag",Me="iti__loading",$e="iti__country",Ce="iti__highlight",Ie="ArrowUp",Te="ArrowDown",Ae=" ",De="Enter",ke="Escape",Le="Tab",Oe="insertFromPaste",Ee="deleteContentForward",Pe={ALPHA_UNICODE:new RegExp("\\p{L}","u"),NON_PLUS_NUMERIC:/[^+0-9]/,NON_PLUS_NUMERIC_GLOBAL:/[^+0-9]/g,HIDDEN_SEARCH_CHAR:/^[a-zA-ZÀ-ÿа-яА-Я ]$/},Ne=100,Re=1e3,Be=-99,ze=-99,Fe=500,Ve=78,Ge=42,We=6,He=3,je=200,Ue="1",Ye="44",Xe="7",Ze=10,qe="us",Ke={AGGRESSIVE:"aggressive",POLITE:"polite",OFF:"off"},Je="auto",Qe=new Set(["FIXED_LINE","MOBILE","FIXED_LINE_OR_MOBILE","TOLL_FREE","PREMIUM_RATE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL","UNKNOWN"]),tn="countryCode",en="dialCode",nn="aria-expanded",rn="aria-label",on="aria-selected",an="aria-activedescendant",sn="aria-haspopup",ln="aria-controls",un="aria-hidden",dn="aria-autocomplete",cn="aria-modal",hn={selectedCountryAriaLabel:"Change country, selected ${countryName} (${dialCode})",noCountrySelected:"Select country",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",clearSearchAriaLabel:"Clear search",searchEmptyState:"No results found",searchSummaryAria:t=>0===t?"No results found":1===t?"1 result found":`${t} results found`},pn=hn,fn=t=>"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia(t).matches,gn=()=>fn(`(max-width: ${Fe}px)`),yn={allowDropdown:!0,allowedNumberTypes:["MOBILE","FIXED_LINE"],allowNumberExtensions:!1,allowPhonewords:!1,autoPlaceholder:Ke.POLITE,containerClass:"",countryNameLocale:"en",countryOrder:null,countrySearch:!0,customPlaceholder:null,dropdownAlwaysOpen:!1,dropdownContainer:null,excludeCountries:[],fixDropdownWidth:!0,formatAsYouType:!0,formatOnDisplay:!0,geoIpLookup:null,hiddenInput:null,i18n:{},initialCountry:"",loadUtils:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",searchInputClass:"",separateDialCode:!1,showFlags:!0,strictMode:!1,useFullscreenPopup:(()=>{if("undefined"!=typeof navigator&&"undefined"!=typeof window){const t=fn("(max-height: 600px)"),e=fn("(pointer: coarse)");return gn()||e&&t}return!1})()},mn=t=>JSON.stringify(t),vn=t=>Boolean(t)&&"object"==typeof t&&!Array.isArray(t),xn=t=>"function"==typeof t,_n=t=>{if(!t||"object"!=typeof t)return!1;const e=t;return 1===e.nodeType&&"string"==typeof e.tagName&&"function"==typeof e.appendChild},bn=new Set(Object.values(Ke)),wn=t=>{console.warn(`[intl-tel-input] ${t}`)},Sn=(t,e,n)=>{wn(`Option '${t}' must be ${e}; got ${mn(n)}. Ignoring.`)},Mn=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),$n=(t,e)=>{const n="an array of ISO2 country code strings";if(!Array.isArray(e))return Sn(t,n,e),!1;const i=[];for(const r of e){if("string"!=typeof r)return Sn(t,n,e),!1;const o=r.toLowerCase();pe(o)?i.push(r):wn(`Invalid country code in '${t}': '${r}'. Skipping.`)}return i},Cn=t=>t.replace(/\D/g,""),In=(t="")=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),Tn=t=>Object.keys(t).filter(e=>Boolean(t[e])).join(" "),An=(t,e,n)=>{const i=document.createElement(t);return e&&Object.entries(e).forEach(([t,e])=>i.setAttribute(t,e)),n&&n.appendChild(i),i},Dn=(D=class{constructor(o,_,b){i(this,x),i(this,t),i(this,e),i(this,a),i(this,s),i(this,l),i(this,u),i(this,d),i(this,c),i(this,h),i(this,p),i(this,f),i(this,g),i(this,y),i(this,m),i(this,v),r(this,u,null),r(this,d,null),r(this,m,null),r(this,v,null),this.highlightedItem=null,o.dataset.intlTelInputId=b.toString(),this.telInput=o,r(this,t,_),r(this,e,b),this.hadInitialPlaceholder=Boolean(o.getAttribute("placeholder")),r(this,a,!!this.telInput.closest("[dir=rtl]")),n(this,t).separateDialCode&&r(this,s,this.telInput.style.paddingLeft)}static validateInput(t){const e=null==t?void 0:t.tagName;if(!Boolean(t)||"object"!=typeof t||"INPUT"!==e||"function"!=typeof t.setAttribute){const e=Object.prototype.toString.call(t);throw new TypeError(`The first argument must be an HTMLInputElement, not ${e}`)}}generateMarkup(t){r(this,l,t),this.telInput.classList.add("iti__tel-input"),this.telInput.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","tel"),this.telInput.hasAttribute("inputmode")||this.telInput.setAttribute("inputmode","tel");const e=o(this,x,_).call(this);o(this,x,b).call(this,e),e.appendChild(this.telInput),o(this,x,$).call(this),o(this,x,C).call(this,e)}filterCountriesByQuery(t){let e;e=""===t?n(this,l):((t,e)=>{const n=In(e),i=[],r=[],o=[],a=[],s=[],l=[];for(const d of t)d.iso2===n?i.push(d):d.normalisedName.startsWith(n)?r.push(d):d.normalisedName.includes(n)?o.push(d):n===d.dialCode||n===d.dialCodePlus?a.push(d):d.dialCodePlus.includes(n)?s.push(d):d.initials.includes(n)&&l.push(d);const u=(t,e)=>t.priority-e.priority;return[...i,...r,...o,...a.sort(u),...s.sort(u),...l]})(n(this,l),t),o(this,x,R).call(this,e)}handleSearchChange(){n(this,u)&&clearTimeout(n(this,u)),r(this,u,setTimeout(()=>{o(this,x,P).call(this),r(this,u,null)},Ne))}handleSearchClear(){this.searchInput.value="",this.searchInput.focus(),o(this,x,P).call(this)}scrollCountryListToItem(t){const e=this.countryList,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=i.top-n.top+e.scrollTop;i.top<n.top?e.scrollTop=r:i.bottom>n.bottom&&(e.scrollTop=r-n.height+i.height)}highlightListItem(e,i){const r=this.highlightedItem;if(r&&r.classList.remove(Ce),this.highlightedItem=e,this.highlightedItem){if(this.highlightedItem.classList.add(Ce),n(this,t).countrySearch){const t=this.highlightedItem.getAttribute("id")||"";this.searchInput.setAttribute(an,t)}i&&this.highlightedItem.focus()}}handleUpDownKey(t){var e,n;let i=t===Ie?null==(e=this.highlightedItem)?void 0:e.previousElementSibling:null==(n=this.highlightedItem)?void 0:n.nextElementSibling;!i&&this.countryList.childElementCount>1&&(i=t===Ie?this.countryList.lastElementChild:this.countryList.firstElementChild),i&&(this.scrollCountryListToItem(i),this.highlightListItem(i,!1))}destroy(){this.telInput.iti=void 0,delete this.telInput.dataset.intlTelInputId,n(this,t).separateDialCode&&(this.telInput.style.paddingLeft=n(this,s));const i=this.telInput.parentNode;i.before(this.telInput),i.remove(),this.telInput=null,this.countryContainer=null,this.selectedCountry=null,this.selectedCountryInner=null,this.searchInput=null,this.searchClearButton=null,this.countryList=null,this.hiddenInput=null,this.hiddenInputCountry=null,this.highlightedItem=null,r(this,c,null),r(this,h,null),r(this,p,null),r(this,f,null),r(this,g,null),r(this,y,null),r(this,m,null),r(this,v,null);for(const t of n(this,l))delete t.nodeById[n(this,e)];r(this,l,null)}openDropdown(){const{countrySearch:e,dropdownAlwaysOpen:i,dropdownContainer:r}=n(this,t);if(o(this,x,w).call(this),r)o(this,x,z).call(this);else{const t=o(this,x,B).call(this),e=this.telInput.offsetHeight+He;t?n(this,p).style.top=`${e}px`:n(this,p).style.bottom=`${e}px`}if(n(this,p).classList.remove(xe),this.selectedCountry.setAttribute(nn,"true"),e){const t=this.countryList.firstElementChild;t&&(this.highlightListItem(t,!1),this.countryList.scrollTop=0),i||this.searchInput.focus()}n(this,h).classList.add(be)}closeDropdown(){const{countrySearch:e,dropdownContainer:i}=n(this,t);n(this,p).classList.add(xe),this.selectedCountry.setAttribute(nn,"false"),e&&(this.searchInput.removeAttribute(an),this.highlightedItem&&(this.highlightedItem.classList.remove(Ce),this.highlightedItem=null)),n(this,h).classList.remove(be),i?(n(this,m).remove(),n(this,m).style.top="",n(this,m).style.bottom="",n(this,m).style.paddingLeft="",n(this,m).style.paddingRight=""):(n(this,p).style.top="",n(this,p).style.bottom="")}isDropdownClosed(){return n(this,p).classList.contains(xe)}setCountry(e){const{allowDropdown:i,showFlags:r,separateDialCode:a,i18n:s}=n(this,t),{name:l,dialCode:u,iso2:d=""}=e;if(i&&o(this,x,N).call(this,d),this.selectedCountry){const t=d&&r?`${Se} iti__${d}`:`${Se} ${we}`;let e,n,i;d?(n=l,e=s.selectedCountryAriaLabel.replace("${countryName}",l).replace("${dialCode}",`+${u}`),i=r?"":'\n <svg width="256" height="256" viewBox="0 0 512 512" class="iti__globe-svg">\n <path d="M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39"/>\n <path d="m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40"/>\n </svg>'):(n=s.noCountrySelected,e=s.noCountrySelected,i='\n <svg width="256" height="256" viewBox="0 0 512 512" class="iti__globe-svg">\n <path d="M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39"/>\n <path d="m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40"/>\n </svg>'),this.selectedCountryInner.className=t,this.selectedCountry.setAttribute("title",n),this.selectedCountry.setAttribute(rn,e),this.selectedCountryInner.innerHTML=i}if(a){const t=u?`+${u}`:"";n(this,c).textContent=t,o(this,x,T).call(this)}}},t=new WeakMap,e=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,c=new WeakMap,h=new WeakMap,p=new WeakMap,f=new WeakMap,g=new WeakMap,y=new WeakMap,m=new WeakMap,v=new WeakMap,x=new WeakSet,_=function(){const{allowDropdown:e,showFlags:i,containerClass:r,useFullscreenPopup:o}=n(this,t),s=Tn({iti:!0,"iti--allow-dropdown":e,"iti--show-flags":i,"iti--inline-dropdown":!o,[r]:Boolean(r)}),l=An("div",{class:s});return n(this,a)&&l.setAttribute("dir","ltr"),this.telInput.before(l),l},b=function(i){const{allowDropdown:a,separateDialCode:s,showFlags:l}=n(this,t);if(a||l||s){this.countryContainer=An("div",{class:`iti__country-container ${_e}`},i),a?(this.selectedCountry=An("button",{type:"button",class:"iti__selected-country",[nn]:"false",[rn]:n(this,t).i18n.noCountrySelected,[sn]:"dialog",[ln]:`iti-${n(this,e)}__dropdown-content`},this.countryContainer),this.telInput.disabled&&this.selectedCountry.setAttribute("disabled","true")):this.selectedCountry=An("div",{class:"iti__selected-country"},this.countryContainer);const l=An("div",{class:"iti__selected-country-primary"},this.selectedCountry);this.selectedCountryInner=An("div",{class:Se},l),a&&r(this,h,An("div",{class:"iti__arrow",[un]:"true"},l)),s&&r(this,c,An("div",{class:"iti__selected-dial-code"},this.selectedCountry)),a&&o(this,x,S).call(this)}},w=function(){const{fixDropdownWidth:e}=n(this,t);if(e&&!n(this,p).style.width){const t=this.telInput.offsetWidth;t>0&&(n(this,p).style.width=`${t}px`)}},S=function(){const{fixDropdownWidth:i,useFullscreenPopup:s,countrySearch:l,i18n:u,dropdownContainer:c,containerClass:h}=n(this,t),f=i?"":"iti--flexible-dropdown-width";if(r(this,p,An("div",{id:`iti-${n(this,e)}__dropdown-content`,class:`iti__dropdown-content ${xe} ${f}`,role:"dialog",[cn]:"true"})),n(this,a)&&n(this,p).setAttribute("dir","rtl"),l&&o(this,x,M).call(this),this.countryList=An("ul",{class:"iti__country-list",id:`iti-${n(this,e)}__country-listbox`,role:"listbox",[rn]:u.countryListAriaLabel},n(this,p)),o(this,x,I).call(this),l&&o(this,x,E).call(this),s||(o(this,x,w).call(this),r(this,d,o(this,x,O).call(this)),l&&(n(this,p).style.height=`${n(this,d)}px`)),c){const t=Tn({iti:!0,"iti--container":!0,"iti--fullscreen-popup":s,"iti--inline-dropdown":!s,[h]:Boolean(h)});r(this,m,An("div",{class:t})),n(this,m).appendChild(n(this,p))}else this.countryContainer.appendChild(n(this,p))},M=function(){const{i18n:i,searchInputClass:o}=n(this,t),a=An("div",{class:"iti__search-input-wrapper"},n(this,p));r(this,f,An("span",{class:"iti__search-icon",[un]:"true"},a)),n(this,f).innerHTML=`\n <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${un}="true">\n <circle cx="11" cy="11" r="7" />\n <line x1="21" y1="21" x2="16.65" y2="16.65" />\n </svg>`,this.searchInput=An("input",{id:`iti-${n(this,e)}__search-input`,type:"search",class:`iti__search-input ${o}`,placeholder:i.searchPlaceholder,role:"combobox",[nn]:"true",[rn]:i.searchPlaceholder,[ln]:`iti-${n(this,e)}__country-listbox`,[dn]:"list",autocomplete:"off"},a),this.searchClearButton=An("button",{type:"button",class:`iti__search-clear ${xe}`,[rn]:i.clearSearchAriaLabel,tabindex:"-1"},a),this.searchClearButton.innerHTML=(t=>{const e=`iti-${t}-clear-mask`;return`\n <svg class="iti__search-clear-svg" width="12" height="12" viewBox="0 0 16 16" ${un}="true" focusable="false">\n <mask id="${e}" maskUnits="userSpaceOnUse">\n <rect width="16" height="16" fill="white" />\n <path d="M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8" stroke="black" stroke-linecap="round" class="iti__search-clear-x" />\n </mask>\n <circle cx="8" cy="8" r="8" class="iti__search-clear-bg" mask="url(#${e})" />\n </svg>`})(n(this,e)),r(this,y,An("span",{class:"iti__a11y-text"},n(this,p))),r(this,g,An("div",{class:`iti__no-results ${xe}`,[un]:"true"},n(this,p))),n(this,g).textContent=i.searchEmptyState},$=function(){this.countryContainer&&(o(this,x,T).call(this),this.countryContainer.classList.remove(_e))},C=function(e){var i,r;const{hiddenInput:o}=n(this,t);if(o){const t=o(this.telInput.getAttribute("name")||"");if(t.phone){const n=null==(i=this.telInput.form)?void 0:i.querySelector(`input[name="${t.phone}"]`);n?this.hiddenInput=n:(this.hiddenInput=An("input",{type:"hidden",name:t.phone}),e.appendChild(this.hiddenInput))}if(t.country){const n=null==(r=this.telInput.form)?void 0:r.querySelector(`input[name="${t.country}"]`);n?this.hiddenInputCountry=n:(this.hiddenInputCountry=An("input",{type:"hidden",name:t.country}),e.appendChild(this.hiddenInputCountry))}}},I=function(){const i=document.createDocumentFragment();for(let r=0;r<n(this,l).length;r++){const o=n(this,l)[r],s=Tn({[$e]:!0}),u=An("li",{id:`iti-${n(this,e)}__item-${o.iso2}`,class:s,tabindex:"-1",role:"option",[on]:"false"});u.dataset.dialCode=o.dialCode,u.dataset.countryCode=o.iso2,o.nodeById[n(this,e)]=u,n(this,t).showFlags&&An("div",{class:`${Se} iti__${o.iso2}`},u);const d=An("span",{class:"iti__country-name"},u);d.textContent=`${o.name} `;const c=An("span",{class:"iti__dial-code"},d);n(this,a)&&c.setAttribute("dir","ltr"),c.textContent=`(+${o.dialCode})`,i.appendChild(u)}this.countryList.appendChild(i)},T=function(){if(this.selectedCountry){const e=n(this,t).separateDialCode?Ve:Ge,i=(this.selectedCountry.offsetWidth||o(this,x,L).call(this)||e)+We;this.telInput.style.paddingLeft=`${i}px`}},A=new WeakSet,k=function(){let t;try{t=window.top.document.body}catch(Qb){t=document.body}return t},L=function(){var t;if(this.telInput.parentNode){const e=o(t=D,A,k).call(t),n=this.telInput.parentNode.cloneNode(!1);n.style.visibility="hidden",e.appendChild(n);const i=this.countryContainer.cloneNode();n.appendChild(i);const r=this.selectedCountry.cloneNode(!0);i.appendChild(r);const a=r.offsetWidth;return e.removeChild(n),a}return 0},O=function(){var t;const e=o(t=D,A,k).call(t);n(this,p).classList.remove(xe);const i=An("div",{class:"iti iti--inline-dropdown"});i.appendChild(n(this,p)),i.style.visibility="hidden",e.appendChild(i);const r=n(this,p).offsetHeight;return e.removeChild(i),i.style.visibility="",n(this,p).classList.add(xe),r>0?r:je},E=function(){const{i18n:e}=n(this,t),i=this.countryList.childElementCount;n(this,y).textContent=e.searchSummaryAria(i)},P=function(){const t=this.searchInput.value.trim();this.filterCountriesByQuery(t),this.searchInput.value?this.searchClearButton.classList.remove(xe):this.searchClearButton.classList.add(xe)},N=function(t){var e;if(n(this,v)&&n(this,v).dataset.countryCode!==t&&(n(this,v).setAttribute(on,"false"),null==(e=n(this,v).querySelector(".iti__country-check"))||e.remove(),r(this,v,null)),t&&!n(this,v)){const e=this.countryList.querySelector(`[data-country-code="${t}"]`);e&&(e.setAttribute(on,"true"),An("span",{class:"iti__country-check",[un]:"true"},e).innerHTML=`\n <svg class="iti__country-check-svg" width="14" height="14" viewBox="0 0 16 16" fill="currentColor" focusable="false" ${un}="true">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>\n </svg>`,r(this,v,e))}},R=function(t){this.countryList.replaceChildren();let i=!0;for(const r of t){const t=r.nodeById[n(this,e)];t&&(this.countryList.appendChild(t),i&&(this.highlightListItem(t,!1),i=!1))}i?(this.highlightListItem(null,!1),n(this,g)&&n(this,g).classList.remove(xe)):n(this,g)&&n(this,g).classList.add(xe),this.countryList.scrollTop=0,o(this,x,E).call(this)},B=function(){if(n(this,t).dropdownAlwaysOpen)return!0;const e=this.telInput.getBoundingClientRect(),i=e.top,r=window.innerHeight-e.bottom;return r>=n(this,d)||r>=i},z=function(){const{dropdownContainer:e,useFullscreenPopup:i}=n(this,t);if(i){if(window.innerWidth>=Fe){const t=this.telInput.getBoundingClientRect();n(this,m).style.paddingLeft=`${t.left}px`,n(this,m).style.paddingRight=window.innerWidth-t.right+"px"}}else{const t=this.telInput.getBoundingClientRect();n(this,m).style.left=`${t.left}px`,o(this,x,B).call(this)?n(this,m).style.top=`${t.bottom+He}px`:(n(this,m).style.top="unset",n(this,m).style.bottom=`${window.innerHeight-t.top+He}px`)}e.appendChild(n(this,m))},i(D,A),D),kn=new Set(["800","808","870","881","882","883","888","979"]),Ln=t=>{const e=Cn(t).slice(0,3);return t.startsWith("+")&&kn.has(e)},On=(t,e,n,i)=>{let r=t;if(n&&e){const t=`+${i.dialCode}`,e=" "===r[t.length]||"-"===r[t.length]?t.length+1:t.length;r=r.substring(e)}return r},En=new Set(["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"]),Pn=t=>{const e=Cn(t);if(e.startsWith(Ue)&&e.length>=4){const t=e.substring(1,4);return En.has(t)}return!1},Nn=(W=class{constructor(t){i(this,V),i(this,F),t&&o(this,V,G).call(this,t)}denormalise(t){if(!n(this,F)||"ascii"===n(this,F))return t;const e="arabic-indic"===n(this,F)?1632:1776;return t.replace(/[0-9]/g,t=>String.fromCharCode(e+Number(t)))}normalise(t){if(!t)return"";if(o(this,V,G).call(this,t),"ascii"===n(this,F))return t;const e="arabic-indic"===n(this,F)?1632:1776,i="arabic-indic"===n(this,F)?/[\u0660-\u0669]/g:/[\u06F0-\u06F9]/g;return t.replace(i,t=>String.fromCharCode(t.charCodeAt(0)-e+48))}isAscii(){return!n(this,F)||"ascii"===n(this,F)}},F=new WeakMap,V=new WeakSet,G=function(t){/[\u0660-\u0669]/.test(t)?r(this,F,"arabic-indic"):/[\u06F0-\u06F9]/.test(t)?r(this,F,"persian"):r(this,F,"ascii")},W),Rn=0,Bn=(re=class{constructor(t,e={}){i(this,lt),i(this,H),i(this,j),i(this,U),i(this,Y),i(this,X),i(this,Z),i(this,q),i(this,K),i(this,J),i(this,Q),i(this,tt),i(this,et),i(this,nt),i(this,it),i(this,rt),i(this,ot),i(this,at),i(this,st),this.id=Rn++,Dn.validateInput(t);const a=(t=>{if(void 0===t)return{};if(!vn(t)){const e=`The second argument must be an options object; got ${mn(t)}. Using defaults.`;return wn(e),{}}const e={};for(const[n,i]of Object.entries(t))if(Mn(yn,n))switch(n){case"allowDropdown":case"allowNumberExtensions":case"allowPhonewords":case"countrySearch":case"dropdownAlwaysOpen":case"fixDropdownWidth":case"formatAsYouType":case"formatOnDisplay":case"nationalMode":case"showFlags":case"separateDialCode":case"strictMode":case"useFullscreenPopup":if("boolean"!=typeof i){Sn(n,"a boolean",i);break}e[n]=i;break;case"autoPlaceholder":if("string"!=typeof i||!bn.has(i)){const t=Array.from(bn).join(", ");Sn("autoPlaceholder",`one of ${t}`,i);break}e[n]=i;break;case"containerClass":case"searchInputClass":case"countryNameLocale":if("string"!=typeof i){Sn(n,"a string",i);break}e[n]=i;break;case"countryOrder":if(null===i)e[n]=i;else{const t=$n(n,i);!1!==t&&(e[n]=t)}break;case"customPlaceholder":case"geoIpLookup":case"hiddenInput":case"loadUtils":if(null!==i&&!xn(i)){Sn(n,"a function or null",i);break}e[n]=i;break;case"dropdownContainer":if(null!==i&&!_n(i)){Sn("dropdownContainer","an HTMLElement or null",i);break}e[n]=i;break;case"excludeCountries":case"onlyCountries":{const t=$n(n,i);!1!==t&&(e[n]=t);break}case"i18n":if(i&&!vn(i)){Sn("i18n","an object",i);break}e[n]=i;break;case"initialCountry":{if("string"!=typeof i){Sn("initialCountry","a string",i);break}const t=i.toLowerCase();if(t&&t!==Je&&!pe(t)){Sn("initialCountry","a valid ISO2 country code or 'auto'",i);break}e[n]=i;break}case"placeholderNumberType":if("string"!=typeof i||!Qe.has(i)){const t=Array.from(Qe).join(", ");Sn("placeholderNumberType",`one of ${t}`,i);break}e[n]=i;break;case"allowedNumberTypes":if(null!==i){if(!Array.isArray(i)){Sn("allowedNumberTypes","an array of number types or null",i);break}let t=!0;for(const e of i)if("string"!=typeof e||!Qe.has(e)){const n=Array.from(Qe).join(", ");Sn("allowedNumberTypes",`an array of valid number types (${n})`,e),t=!1;break}t&&(e[n]=i)}else e[n]=null}else wn(`Unknown option '${n}'. Ignoring.`);return e})(e);var s,l,u;r(this,j,{...yn,...a}),(s=n(this,j)).initialCountry&&(s.initialCountry=s.initialCountry.toLowerCase()),(null==(l=s.onlyCountries)?void 0:l.length)&&(s.onlyCountries=s.onlyCountries.map(t=>t.toLowerCase())),(null==(u=s.excludeCountries)?void 0:u.length)&&(s.excludeCountries=s.excludeCountries.map(t=>t.toLowerCase())),s.countryOrder&&(s.countryOrder=s.countryOrder.map(t=>t.toLowerCase())),(t=>{t.dropdownAlwaysOpen&&(t.useFullscreenPopup=!1,t.allowDropdown=!0),t.useFullscreenPopup?t.fixDropdownWidth=!1:gn()&&(t.fixDropdownWidth=!0),1===t.onlyCountries.length&&(t.initialCountry=t.onlyCountries[0]),t.separateDialCode&&(t.nationalMode=!1),!t.allowDropdown||t.showFlags||t.separateDialCode||(t.nationalMode=!1),t.useFullscreenPopup&&!t.dropdownContainer&&(t.dropdownContainer=document.body),t.i18n={...pn,...t.i18n}})(n(this,j)),r(this,H,new Dn(t,n(this,j),this.id)),r(this,U,"undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent)),r(this,it,new Nn(t.value)),this.promise=o(this,lt,ct).call(this,n(this,j)),r(this,Y,(t=>{const{onlyCountries:e,excludeCountries:n}=t;return(null==e?void 0:e.length)?fe.filter(t=>e.includes(t.iso2)):(null==n?void 0:n.length)?fe.filter(t=>!n.includes(t.iso2)):fe})(n(this,j)));const{dialCodes:d,dialCodeMaxLen:c,dialCodeToIso2Map:h}=(t=>{const e=new Set;let n=0;const i={},r=(t,e)=>{if(!t||!e)return;e.length>n&&(n=e.length),i.hasOwnProperty(e)||(i[e]=[]);const r=i[e];r.includes(t)||r.push(t)},o=[...t].sort((t,e)=>t.priority-e.priority);for(const a of o){e.has(a.dialCode)||e.add(a.dialCode);for(let t=1;t<a.dialCode.length;t++){const e=a.dialCode.substring(0,t);r(a.iso2,e)}if(r(a.iso2,a.dialCode),a.areaCodes){const t=i[a.dialCode][0];for(const e of a.areaCodes){for(let n=1;n<e.length;n++){const i=e.substring(0,n),o=a.dialCode+i;r(t,o),r(a.iso2,o)}r(a.iso2,a.dialCode+e)}}}return{dialCodes:e,dialCodeMaxLen:n,dialCodeToIso2Map:i}})(n(this,Y));r(this,q,d),r(this,X,c),r(this,Z,h),r(this,K,new Map(n(this,Y).map(t=>[t.iso2,t]))),o(this,lt,ht).call(this)}destroy(){n(this,H).telInput&&(n(this,j).allowDropdown&&o(this,lt,Ht).call(this,!0),n(this,et).abort(),r(this,et,null),n(this,H).destroy(),delete zn.instances[this.id])}isActive(){var t;return!!(null==(t=n(this,H))?void 0:t.telInput)}getExtension(){var t;return zn.utils&&n(this,H).telInput?zn.utils.getExtension(o(this,lt,Yt).call(this),null==(t=n(this,J))?void 0:t.iso2):""}getNumber(t){var e;if(zn.utils&&n(this,H).telInput){const i=null==(e=n(this,J))?void 0:e.iso2,r=o(this,lt,Yt).call(this),a=zn.utils.formatNumber(r,i,t);return n(this,it).denormalise(a)}return""}getNumberType(){var t;return zn.utils&&n(this,H).telInput?zn.utils.getNumberType(o(this,lt,Yt).call(this),null==(t=n(this,J))?void 0:t.iso2):Be}getSelectedCountryData(){return o(this,lt,Zt).call(this)}getValidationError(){var t;if(zn.utils&&n(this,H).telInput){const e=null==(t=n(this,J))?void 0:t.iso2;return zn.utils.getValidationError(o(this,lt,Yt).call(this),e)}return ze}isValidNumber(){var t,e;const i=null==(t=n(this,J))?void 0:t.dialCode,r=null==(e=n(this,J))?void 0:e.iso2;if(zn.utils&&n(this,H).telInput){const t=o(this,lt,Yt).call(this),e=zn.utils.getCoreNumber(t,r);if(e){if(i===Ye&&e[0]===Xe&&e.length!==Ze)return!1;if(!Pe.ALPHA_UNICODE.test(t)&&i){const n=t.startsWith("+")?t.slice(1+i.length):t,r=Cn(n).length;if(e.length>r)return!1}}}return o(this,lt,ne).call(this,!1)}isValidNumberPrecise(){return o(this,lt,ne).call(this,!0)}setCountry(t){var e,i;if(!n(this,H).telInput)return;const r=null==t?void 0:t.toLowerCase();if(!pe(r))throw new Error(`Invalid country code: '${r}'`);const a=null==(e=n(this,J))?void 0:e.iso2;if(t&&r!==a||!t&&a){if(o(this,lt,Ft).call(this,r),o(this,lt,jt).call(this,(null==(i=n(this,J))?void 0:i.dialCode)||""),n(this,j).formatOnDisplay){const t=o(this,lt,ut).call(this);o(this,lt,Nt).call(this,t)}o(this,lt,qt).call(this)}}setNumber(t){if(!n(this,H).telInput)return;const e=n(this,it).normalise(t),i=o(this,lt,Rt).call(this,e);o(this,lt,Nt).call(this,e),i&&o(this,lt,qt).call(this),o(this,lt,Ct).call(this,ve,{isSetNumber:!0})}setPlaceholderNumberType(t){n(this,H).telInput&&(n(this,j).placeholderNumberType=t,o(this,lt,Gt).call(this))}setDisabled(t){n(this,H).telInput&&(n(this,H).telInput.disabled=t,n(this,H).selectedCountry&&(t?n(this,H).selectedCountry.setAttribute("disabled","true"):n(this,H).selectedCountry.removeAttribute("disabled")))}static forEachInstance(t,...e){const n=Object.values(zn.instances),i=e[0];n.forEach(e=>{var n,r,a,s;if(e instanceof re)switch(t){case"handleUtils":o(n=e,lt,Qt).call(n);break;case"handleUtilsFailure":o(r=e,lt,te).call(r,i);break;case"handleAutoCountry":o(a=e,lt,Kt).call(a);break;case"handleAutoCountryFailure":o(s=e,lt,Jt).call(s)}})}},H=new WeakMap,j=new WeakMap,U=new WeakMap,Y=new WeakMap,X=new WeakMap,Z=new WeakMap,q=new WeakMap,K=new WeakMap,J=new WeakMap,Q=new WeakMap,tt=new WeakMap,et=new WeakMap,nt=new WeakMap,it=new WeakMap,rt=new WeakMap,ot=new WeakMap,at=new WeakMap,st=new WeakMap,lt=new WeakSet,ut=function(){const t=n(this,H).telInput.value.trim();return n(this,it).normalise(t)},dt=function(t){n(this,H).telInput.value=n(this,it).denormalise(t)},ct=function(t){const{initialCountry:e,geoIpLookup:n,loadUtils:i}=t,o=e===Je&&Boolean(n),a=Boolean(i)&&!zn.utils;let s,l;return o?s=new Promise((t,e)=>{r(this,rt,t),r(this,ot,e)}):(s=Promise.resolve(void 0),r(this,rt,()=>{}),r(this,ot,()=>{})),a?l=new Promise((t,e)=>{r(this,at,t),r(this,st,e)}):(l=Promise.resolve(void 0),r(this,at,()=>{}),r(this,st,()=>{})),Promise.all([s,l]).then(()=>{})},ht=function(){r(this,J,null),r(this,et,new AbortController),o(this,lt,pt).call(this),n(this,H).generateMarkup(n(this,Y)),o(this,lt,ft).call(this),o(this,lt,gt).call(this),o(this,lt,vt).call(this),n(this,j).dropdownAlwaysOpen&&o(this,lt,It).call(this)},pt=function(){((t,e)=>{const{countryNameLocale:n,i18n:i}=e;let r;try{r="undefined"!=typeof Intl&&"function"==typeof Intl.DisplayNames?new Intl.DisplayNames(n,{type:"region"}):null}catch(Qb){console.error(Qb),r=null}for(const o of t)o.name=i[o.iso2]||(null==r?void 0:r.of(o.iso2.toUpperCase()))||""})(n(this,Y),n(this,j)),((t,e)=>{const{countryOrder:n}=e;t.sort((t,e)=>{if(n){const i=n.indexOf(t.iso2),r=n.indexOf(e.iso2),o=i>-1,a=r>-1;if(o||a)return o&&a?i-r:o?-1:1}return t.name.localeCompare(e.name)})})(n(this,Y),n(this,j)),(t=>{for(const e of t)e.normalisedName=In(e.name),e.initials=e.normalisedName.split(/[^a-z]/).map(t=>t[0]).join(""),e.dialCodePlus=`+${e.dialCode}`})(n(this,Y))},ft=function(t=!1){const e=n(this,H).telInput.getAttribute("value"),i=n(this,it).normalise(e),r=o(this,lt,ut).call(this),a=!i||!i.startsWith("+")||r&&r.startsWith("+")?r:i,s=o(this,lt,Ut).call(this,a),l=Pn(a),{initialCountry:u,geoIpLookup:d}=n(this,j),c=u===Je&&d&&!t,h=pe(u);s?l?h?o(this,lt,Ft).call(this,u):c||o(this,lt,Ft).call(this,qe):o(this,lt,Rt).call(this,a):h?o(this,lt,Ft).call(this,u):c||o(this,lt,Ft).call(this,""),a&&o(this,lt,Nt).call(this,a)},gt=function(){o(this,lt,bt).call(this),n(this,j).allowDropdown&&o(this,lt,mt).call(this),(n(this,H).hiddenInput||n(this,H).hiddenInputCountry)&&n(this,H).telInput.form&&o(this,lt,yt).call(this)},yt=function(){var t;null==(t=n(this,H).telInput.form)||t.addEventListener("submit",()=>{var t;n(this,H).hiddenInput&&(n(this,H).hiddenInput.value=this.getNumber()),n(this,H).hiddenInputCountry&&(n(this,H).hiddenInputCountry.value=(null==(t=n(this,J))?void 0:t.iso2)||"")},{signal:n(this,et).signal})},mt=function(){const t=n(this,et).signal,e=t=>{n(this,H).isDropdownClosed()?n(this,H).telInput.focus():t.preventDefault()},i=n(this,H).telInput.closest("label");i&&i.addEventListener("click",e,{signal:t}),n(this,H).selectedCountry.addEventListener("click",()=>{!n(this,H).isDropdownClosed()||n(this,H).telInput.disabled||n(this,H).telInput.readOnly||o(this,lt,It).call(this)},{signal:t}),n(this,H).countryContainer.addEventListener("keydown",t=>{const e=[Ie,Te,Ae,De];n(this,H).isDropdownClosed()&&e.includes(t.key)&&(t.preventDefault(),t.stopPropagation(),o(this,lt,It).call(this)),t.key===Le&&o(this,lt,Ht).call(this)},{signal:t})},vt=function(){var t;const{loadUtils:e,initialCountry:i,geoIpLookup:r}=n(this,j);if(e&&!zn.utils){const t=()=>{var t;null==(t=zn.attachUtils(e))||t.catch(()=>{})};zn.documentReady()?t():window.addEventListener("load",t,{signal:n(this,et).signal})}else n(this,at).call(this);i===Je&&r&&((null==(t=n(this,J))?void 0:t.iso2)?n(this,rt).call(this):o(this,lt,xt).call(this))},xt=function(){if(zn.autoCountry)o(this,lt,Kt).call(this);else if(n(this,H).selectedCountryInner.classList.add(Me),!zn.startedLoadingAutoCountry&&(zn.startedLoadingAutoCountry=!0,"function"==typeof n(this,j).geoIpLookup)){const t=(t="")=>{n(this,H).selectedCountryInner.classList.remove(Me);const e=t.toLowerCase();pe(e)?(zn.autoCountry=e,setTimeout(()=>re.forEachInstance("handleAutoCountry"))):re.forEachInstance("handleAutoCountryFailure")},e=()=>{n(this,H).selectedCountryInner.classList.remove(Me),re.forEachInstance("handleAutoCountryFailure")};n(this,j).geoIpLookup(t,e)}},_t=function(){o(this,lt,It).call(this),n(this,H).searchInput.value="+",n(this,H).filterCountriesByQuery("")},bt=function(){o(this,lt,wt).call(this),o(this,lt,St).call(this),o(this,lt,Mt).call(this)},wt=function(){const{strictMode:t,formatAsYouType:e,separateDialCode:i,allowDropdown:r,countrySearch:a}=n(this,j);let s=!1;Pe.ALPHA_UNICODE.test(o(this,lt,ut).call(this))&&(s=!0),n(this,H).telInput.addEventListener("input",l=>{var u;const d=o(this,lt,ut).call(this);if(n(this,U)&&"+"===(null==l?void 0:l.data)&&i&&r&&a){const t=n(this,H).telInput.selectionStart||0,e=d.substring(0,t-1),i=d.substring(t);return o(this,lt,dt).call(this,e+i),void o(this,lt,_t).call(this)}o(this,lt,Rt).call(this,d)&&o(this,lt,qt).call(this);const c=(null==l?void 0:l.data)&&Pe.NON_PLUS_NUMERIC.test(l.data),h=(null==l?void 0:l.inputType)===Oe&&d;c||h&&!t?s=!0:Pe.NON_PLUS_NUMERIC.test(d)||(s=!1);const p=(null==l?void 0:l.detail)&&l.detail.isSetNumber,f=n(this,it).isAscii();if(e&&!s&&!p&&f){const t=n(this,H).telInput.selectionStart||0,e=d.substring(0,t).replace(Pe.NON_PLUS_NUMERIC_GLOBAL,"").length,r=(null==l?void 0:l.inputType)===Ee,a=((t,e,n,i,r)=>{const o=n?n.formatNumberAsYouType(t,i.iso2):t,{dialCode:a}=i;return r&&"+"!==e.charAt(0)&&o.includes(`+${a}`)?(o.split(`+${a}`)[1]||"").trim():o})(o(this,lt,Yt).call(this),d,zn.utils,n(this,J)??{},i),s=((t,e,n,i)=>{if(0===n&&!i)return 0;let r=0;for(let o=0;o<e.length;o++){if(/[+0-9]/.test(e[o])&&r++,r===t&&!i)return o+1;if(i&&r===t+1)return o}return e.length})(e,a,t,r);o(this,lt,dt).call(this,a),n(this,H).telInput.setSelectionRange(s,s)}if(i&&d.startsWith("+")&&(null==(u=n(this,J))?void 0:u.dialCode)){const t=On(d,!0,i,n(this,J)??{});o(this,lt,dt).call(this,t)}},{signal:n(this,et).signal})},St=function(){const{strictMode:t,separateDialCode:e,allowDropdown:i,countrySearch:r}=n(this,j);if(t||e){const a=a=>{var s;if(a.key&&1===a.key.length&&!a.altKey&&!a.ctrlKey&&!a.metaKey){if(e&&i&&r&&"+"===a.key)return a.preventDefault(),void o(this,lt,_t).call(this);if(t){const t=o(this,lt,ut).call(this),i=!t.startsWith("+")&&0===n(this,H).telInput.selectionStart&&"+"===a.key,r=n(this,it).normalise(a.key),l=/^[0-9]$/.test(r),u=e?l:i||l,d=n(this,H).telInput,c=d.selectionStart,h=d.selectionEnd,p=t.slice(0,c),f=t.slice(h),g=p+a.key+f,y=o(this,lt,Yt).call(this,g);let m=!1;zn.utils&&n(this,Q)&&(m=zn.utils.getCoreNumber(y,null==(s=n(this,J))?void 0:s.iso2).length>n(this,Q));const v=o(this,lt,zt).call(this,y);u&&(!m||null!==v||i)||a.preventDefault()}}};n(this,H).telInput.addEventListener("keydown",a,{signal:n(this,et).signal})}},Mt=function(){if(n(this,j).strictMode){const t=t=>{var e;t.preventDefault();const i=n(this,H).telInput,r=i.selectionStart,a=i.selectionEnd,s=o(this,lt,ut).call(this),l=s.slice(0,r),u=s.slice(a),d=null==(e=n(this,J))?void 0:e.iso2,c=t.clipboardData.getData("text"),h=n(this,it).normalise(c),p=0===r&&a>0,f=!s.startsWith("+")||p,g=h.replace(Pe.NON_PLUS_NUMERIC_GLOBAL,""),y=g.startsWith("+"),m=g.replace(/\+/g,""),v=y&&f?`+${m}`:m;let x=l+v+u;if(x.length>5){let t=zn.utils.getCoreNumber(x,d);for(;0===t.length&&x.length>0;)x=x.slice(0,-1),t=zn.utils.getCoreNumber(x,d);if(!t)return;if(n(this,Q)&&t.length>n(this,Q)){if(i.selectionEnd!==s.length)return;{const e=t.length-n(this,Q);x=x.slice(0,x.length-e)}}}o(this,lt,dt).call(this,x);const _=r+v.length;i.setSelectionRange(_,_),i.dispatchEvent(new InputEvent("input",{bubbles:!0}))};n(this,H).telInput.addEventListener("paste",t,{signal:n(this,et).signal})}},$t=function(t){const e=Number(n(this,H).telInput.getAttribute("maxlength"));return e&&t.length>e?t.substring(0,e):t},Ct=function(t,e={}){const i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:e});n(this,H).telInput.dispatchEvent(i)},It=function(){const{dropdownContainer:t,useFullscreenPopup:e}=n(this,j);if(r(this,nt,new AbortController),n(this,H).openDropdown(),!e&&t){const t=()=>o(this,lt,Ht).call(this);window.addEventListener("scroll",t,{signal:n(this,nt).signal})}o(this,lt,Tt).call(this),o(this,lt,Ct).call(this,ge)},Tt=function(){const t=n(this,nt).signal;o(this,lt,At).call(this,t),o(this,lt,Dt).call(this,t),n(this,j).dropdownAlwaysOpen||o(this,lt,kt).call(this,t),o(this,lt,Lt).call(this,t),n(this,j).countrySearch&&o(this,lt,Ot).call(this,t)},At=function(t){n(this,H).countryList.addEventListener("mouseover",t=>{var e;const i=null==(e=t.target)?void 0:e.closest(`.${$e}`);i&&n(this,H).highlightListItem(i,!1)},{signal:t})},Dt=function(t){n(this,H).countryList.addEventListener("click",t=>{var e;const n=null==(e=t.target)?void 0:e.closest(`.${$e}`);n&&o(this,lt,Wt).call(this,n)},{signal:t})},kt=function(t){const e=t=>{t.target.closest(`#iti-${this.id}__dropdown-content`)||o(this,lt,Ht).call(this)};setTimeout(()=>{document.documentElement.addEventListener("click",e,{signal:t})},0)},Lt=function(t){let e="",i=null;document.addEventListener("keydown",t=>{[Ie,Te,De,ke].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key===Ie||t.key===Te?n(this,H).handleUpDownKey(t.key):t.key!==De||t.isComposing?t.key===ke&&(o(this,lt,Ht).call(this),n(this,H).selectedCountry.focus()):o(this,lt,Pt).call(this)),!n(this,j).countrySearch&&Pe.HIDDEN_SEARCH_CHAR.test(t.key)&&(t.stopPropagation(),i&&clearTimeout(i),e+=t.key.toLowerCase(),o(this,lt,Et).call(this,e),i=setTimeout(()=>{e=""},Re))},{signal:t})},Ot=function(t){n(this,H).searchInput.addEventListener("input",()=>n(this,H).handleSearchChange(),{signal:t}),n(this,H).searchClearButton.addEventListener("click",()=>n(this,H).handleSearchClear(),{signal:t})},Et=function(t){const e=((t,e)=>{const n=In(e);for(const i of t)if(i.normalisedName.startsWith(n))return i;return null})(n(this,Y),t);if(e){const t=e.nodeById[this.id];n(this,H).highlightListItem(t,!1),n(this,H).scrollCountryListToItem(t)}},Pt=function(){n(this,H).highlightedItem&&o(this,lt,Wt).call(this,n(this,H).highlightedItem)},Nt=function(t){var e;const{formatOnDisplay:i,nationalMode:r,separateDialCode:a}=n(this,j);let s=t;if(i&&zn.utils&&n(this,J)){const i=Ln(t),o=r&&!i||!s.startsWith("+")&&!a,{NATIONAL:l,INTERNATIONAL:u}=zn.utils.numberFormat,d=o?l:u;s=zn.utils.formatNumber(s,null==(e=n(this,J))?void 0:e.iso2,d)}s=o(this,lt,Xt).call(this,s),o(this,lt,dt).call(this,s)},Rt=function(t){const e=o(this,lt,zt).call(this,t);return null!==e&&o(this,lt,Ft).call(this,e)},Bt=function(t){var e,i;const r=null==(e=n(this,J))?void 0:e.dialCode,o=null==(i=n(this,J))?void 0:i.nationalPrefix;return t.startsWith("+")||!r?t:`+${r}${o&&t.startsWith(o)&&!n(this,j).separateDialCode?t.substring(1):t}`},zt=function(t){var e,i,r,a,s;const l=t.indexOf("+");let u=l?t.substring(l):t;const d=null==(e=n(this,J))?void 0:e.iso2,c=null==(i=n(this,J))?void 0:i.dialCode;u=o(this,lt,Bt).call(this,u);const h=o(this,lt,Ut).call(this,u,!0),p=Cn(u);if(h){const t=Cn(h),e=n(this,Z)[t];if(1===e.length)return e[0]===d?null:e[0];if(!d&&n(this,tt)&&e.includes(n(this,tt)))return n(this,tt);if(c===Ue&&Pn(p))return null;const i=null==(r=n(this,J))?void 0:r.areaCodes,o=null==(a=n(this,J))?void 0:a.priority;if(i){const t=i.map(t=>`${c}${t}`);for(const e of t)if(p.startsWith(e))return null}const s=i&&!(0===o)&&p.length>t.length,l=d&&e.includes(d)&&!s,u=d===e[0];if(!l&&!u)return e[0]}else{if(u.startsWith("+")&&p.length){const t=(null==(s=n(this,J))?void 0:s.dialCode)||"";return t&&t.startsWith(p)?null:""}if((!u||"+"===u)&&!d&&n(this,tt))return n(this,tt)}return null},Ft=function(t){var e,i;const a=(null==(e=n(this,J))?void 0:e.iso2)||"";return r(this,J,t?n(this,K).get(t):null),(null==(i=n(this,J))?void 0:i.iso2)&&r(this,tt,n(this,J).iso2),n(this,H).setCountry(n(this,J)??{}),o(this,lt,Gt).call(this),o(this,lt,Vt).call(this),a!==t},Vt=function(){var t;const{strictMode:e,placeholderNumberType:i,allowedNumberTypes:o}=n(this,j),a=null==(t=n(this,J))?void 0:t.iso2;if(e&&zn.utils)if(a){const t=zn.utils.numberType[i];let e=zn.utils.getExampleNumber(a,!1,t,!0),n=e;for(;zn.utils.isPossibleNumber(e,a,o);)n=e,e+="0";const s=zn.utils.getCoreNumber(n,a);r(this,Q,s.length),"by"===a&&r(this,Q,s.length+1)}else r(this,Q,null)},Gt=function(){var t;const{autoPlaceholder:e,placeholderNumberType:i,nationalMode:r,customPlaceholder:a}=n(this,j),s=e===Ke.AGGRESSIVE||!n(this,H).hadInitialPlaceholder&&e===Ke.POLITE;if(zn.utils&&s){const e=zn.utils.numberType[i];let s=(null==(t=n(this,J))?void 0:t.iso2)?zn.utils.getExampleNumber(n(this,J).iso2,r,e):"";s=o(this,lt,Xt).call(this,s),"function"==typeof a&&(s=a(s,n(this,J)??{})),n(this,H).telInput.setAttribute("placeholder",s)}},Wt=function(t){const e=t.dataset[tn],i=o(this,lt,Ft).call(this,e);o(this,lt,Ht).call(this);const r=t.dataset[en];if(o(this,lt,jt).call(this,r),n(this,j).formatOnDisplay){const t=o(this,lt,ut).call(this);o(this,lt,Nt).call(this,t)}n(this,H).telInput.focus(),i&&o(this,lt,qt).call(this)},Ht=function(t){n(this,H).isDropdownClosed()||n(this,j).dropdownAlwaysOpen&&!t||(n(this,H).closeDropdown(),n(this,nt).abort(),r(this,nt,null),o(this,lt,Ct).call(this,ye))},jt=function(t){const e=o(this,lt,ut).call(this),n=`+${t}`;let i;if(e.startsWith("+")){const t=o(this,lt,Ut).call(this,e);i=t?e.replace(t,n):n,o(this,lt,dt).call(this,i)}},Ut=function(t,e){let i="";if(t.startsWith("+")){let r="",o=!1;for(let a=0;a<t.length;a++){const s=t.charAt(a);if(/[0-9]/.test(s)){if(r+=s,!Boolean(n(this,Z)[r]))break;if(n(this,q).has(r)){if(i=t.substring(0,a+1),o=!0,!e)break}else e&&o&&(i=t.substring(0,a+1));if(r.length===n(this,X))break}}}return i},Yt=function(t){var e;const i=t?n(this,it).normalise(t):o(this,lt,ut).call(this),r=null==(e=n(this,J))?void 0:e.dialCode;let a;const s=Cn(i);return a=n(this,j).separateDialCode&&!i.startsWith("+")&&r&&s?`+${r}`:"",a+i},Xt=function(t){const e=Boolean(o(this,lt,Ut).call(this,t)),i=On(t,e,n(this,j).separateDialCode,n(this,J)??{});return o(this,lt,$t).call(this,i)},Zt=function(){const t=n(this,J);if(!t)return{};const{iso2:e,dialCode:i,name:r}=t;return{iso2:e,dialCode:i,name:r}},qt=function(){const t=o(this,lt,Zt).call(this);o(this,lt,Ct).call(this,me,t)},Kt=function(){var t,e;n(this,H).telInput?n(this,j).initialCountry===Je&&zn.autoCountry&&(r(this,tt,zn.autoCountry),(null==(e=n(this,J))?void 0:e.iso2)||n(this,H).selectedCountryInner.classList.contains(we)||this.setCountry(n(this,tt)),n(this,rt).call(this)):null==(t=n(this,rt))||t.call(this)},Jt=function(){var t;n(this,H).telInput?(o(this,lt,ft).call(this,!0),n(this,ot).call(this)):null==(t=n(this,ot))||t.call(this)},Qt=function(){var t,e;if(n(this,H).telInput){if(zn.utils){const t=o(this,lt,ut).call(this);t&&o(this,lt,Nt).call(this,t),(null==(e=n(this,J))?void 0:e.iso2)&&(o(this,lt,Gt).call(this),o(this,lt,Vt).call(this))}n(this,at).call(this)}else null==(t=n(this,at))||t.call(this)},te=function(t){var e;n(this,H).telInput?n(this,st).call(this,t):null==(e=n(this,st))||e.call(this,t)},ee=function(t){var e;return zn.utils?zn.utils.isPossibleNumber(t,null==(e=n(this,J))?void 0:e.iso2,n(this,j).allowedNumberTypes):null},ne=function(t){var e,i;if(!zn.utils||!n(this,H).telInput)return null;const{allowNumberExtensions:r,allowPhonewords:a}=n(this,j),s=o(this,lt,Yt).call(this);if(!(null==(e=n(this,J))?void 0:e.iso2)&&!Ln(s))return!1;if(!(e=>t?o(this,lt,ie).call(this,e):o(this,lt,ee).call(this,e))(s))return!1;if(s.search(Pe.ALPHA_UNICODE)>-1){const t=null==(i=n(this,J))?void 0:i.iso2;return Boolean(zn.utils.getExtension(s,t))?r:a}return!0},ie=function(t){var e;return zn.utils?zn.utils.isValidNumber(t,null==(e=n(this,J))?void 0:e.iso2,n(this,j).allowedNumberTypes):null},re),zn=Object.assign((t,e)=>{const n=new Bn(t,e);return zn.instances[n.id]=n,t.iti=n,n},{defaults:yn,documentReady:()=>"complete"===document.readyState,getCountryData:()=>fe,getInstance:t=>{const e=t.dataset.intlTelInputId;return e?zn.instances[e]:null},instances:{},attachUtils:t=>{if(!zn.utils&&!zn.startedLoadingUtilsScript){let n;if("function"!=typeof t)return Promise.reject(new TypeError("The argument passed to attachUtils must be a function that returns a promise for the utilities module, not "+typeof t));try{n=Promise.resolve(t())}catch(e){return Promise.reject(e)}return zn.startedLoadingUtilsScript=!0,n.then(t=>{const e=null==t?void 0:t.default;if(!e||"object"!=typeof e)throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");return zn.utils=e,Bn.forEachInstance("handleUtils"),!0}).catch(t=>{throw Bn.forEachInstance("handleUtilsFailure",t),t})}return null},startedLoadingUtilsScript:!1,startedLoadingAutoCountry:!1,version:"26.9.2"}),Fn=zn;return ce=ue,((t,e,n,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let r of se(e))le.call(t,r)||r===n||oe(t,r,{get:()=>e[r],enumerable:!(i=ae(e,r))||i.enumerable});return t})(oe({},"__esModule",{value:!0}),ce)})();return t.default},t.exports?t.exports=e():window.intlTelInput=e()}(Nht);const Rht=yb(Nht.exports);var Bht=Bct,zht=Aut,Fht=Dht,Vht=Math.ceil,Ght=Math.max;const Wht=yb(function(t,e,n){e=(n?zht(t,e,n):void 0===e)?1:Ght(Fht(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var r=0,o=0,a=Array(Vht(i/e));r<i;)a[o++]=Bht(t,r,r+=e);return a});var Hht=function(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1},jht=function(t){return t!=t},Uht=function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1};var Yht=PM,Xht=jM,Zht=NM;var qht=Klt;var Kht=function(t,e){return qht(e,function(e){return t[e]})},Jht=j$;var Qht=function(t,e,n){return e==e?Uht(t,e,n):Hht(t,jht,n)},tpt=V$,ept=function(t){return"string"==typeof t||!Xht(t)&&Zht(t)&&"[object String]"==Yht(t)},npt=Dht,ipt=function(t){return null==t?[]:Kht(t,Jht(t))},rpt=Math.max;const opt=yb(function(t,e,n,i){t=tpt(t)?t:ipt(t),n=n&&!i?npt(n):0;var r=t.length;return n<0&&(n=rpt(r+n,0)),ept(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Qht(t,e,n)>-1});var apt=bC,spt=function(){try{var t=apt(Object,"defineProperty");return t({},"",{}),t}catch(Qb){}}(),lpt=spt;var upt=q$;var dpt=function(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i},cpt=function(t,e,n,i){return upt(t,function(t,r,o){e(i,t,n(t),o)}),i},hpt=Tct,ppt=jM;var fpt=function(t,e){return function(n,i){var r=ppt(n)?dpt:cpt,o=e?e():{};return r(n,t,hpt(i),o)}},gpt=function(t,e,n){"__proto__"==e&&lpt?lpt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};const ypt=yb(fpt(function(t,e,n){gpt(t,n,e)}));function mpt(t){return Array.isArray?Array.isArray(t):"[object Array]"===$pt(t)}function vpt(t){return null==t?"":function(t){if("string"==typeof t)return t;if("bigint"==typeof t)return t.toString();const e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}function xpt(t){return"string"==typeof t}function _pt(t){return"number"==typeof t}function bpt(t){return!0===t||!1===t||function(t){return wpt(t)&&null!==t}(t)&&"[object Boolean]"==$pt(t)}function wpt(t){return"object"==typeof t}function Spt(t){return null!=t}function Mpt(t){return!t.trim().length}function $pt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Cpt="Invalid doc index: must be a non-negative integer within the bounds of the docs array",Ipt=Object.prototype.hasOwnProperty;var Tpt=class{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(t=>{const n=Apt(t);this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight}),this._keys.forEach(t=>{t.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function Apt(t){let e=null,n=null,i=null,r=1,o=null;if(xpt(t)||mpt(t))i=t,e=Dpt(t),n=kpt(t);else{if(!Ipt.call(t,"name"))throw new Error((t=>`Missing ${t} property in key`)("name"));const a=t.name;if(i=a,Ipt.call(t,"weight")&&void 0!==t.weight&&(r=t.weight,r<=0))throw new Error((t=>`Property 'weight' in key '${t}' must be a positive integer`)(kpt(a)));e=Dpt(a),n=kpt(a),o=t.getFn??null}return{path:e,id:n,weight:r,src:i,getFn:o}}function Dpt(t){return mpt(t)?t:t.split(".")}function kpt(t){return mpt(t)?t.join("."):t}const Lpt={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:function(t,e){const n=[];let i=!1;const r=(t,e,o,a)=>{if(Spt(t))if(e[o]){const s=t[e[o]];if(!Spt(s))return;if(o===e.length-1&&(xpt(s)||_pt(s)||bpt(s)||"bigint"==typeof s))n.push(void 0!==a?{v:vpt(s),i:a}:vpt(s));else if(mpt(s)){i=!0;for(let t=0,n=s.length;t<n;t+=1)r(s[t],e,o+1,t)}else e.length&&r(s,e,o+1,a)}else n.push(void 0!==a?{v:t,i:a}:t)};return r(t,xpt(e)?e.split("."):e,0),i?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Opt=Object.freeze({isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...Lpt});var Ept=class{constructor({getFn:t=Opt.getFn,fieldNormWeight:e=Opt.fieldNormWeight}={}){this.norm=function(t=1,e=3){const n=new Map,i=Math.pow(10,e);return{get(e){let r=1,o=!1;for(let t=0;t<e.length;t++)32===e.charCodeAt(t)?o||(r++,o=!0):o=!1;if(n.has(r))return n.get(r);const a=Math.round(i/Math.pow(r,.5*t))/i;return n.set(r,a),a},clear(){n.clear()}}}(e,3),this.getFn=t,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((t,e)=>{this._keysMap[t.id]=e})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;const t=this.docs.length;this.records=new Array(t);let e=0;if(xpt(this.docs[0]))for(let n=0;n<t;n++){const t=this._createStringRecord(this.docs[n],n);t&&(this.records[e++]=t)}else for(let n=0;n<t;n++)this.records[e++]=this._createObjectRecord(this.docs[n],n);this.records.length=e,this.norm.clear()}add(t,e){if(!Number.isInteger(e)||e<0)throw new Error(Cpt);if(xpt(t)){const n=this._createStringRecord(t,e);return n&&this.records.push(n),n}const n=this._createObjectRecord(t,e);return this.records.push(n),n}removeAt(t){if(!Number.isInteger(t)||t<0)throw new Error(Cpt);for(let e=0,n=this.records.length;e<n;e+=1)if(this.records[e].i===t){this.records.splice(e,1);break}for(let e=0,n=this.records.length;e<n;e+=1)this.records[e].i>t&&(this.records[e].i-=1)}removeAll(t){const e=new Set;for(const i of t)Number.isInteger(i)&&i>=0&&e.add(i);if(0===e.size)return;this.records=this.records.filter(t=>!e.has(t.i));const n=Array.from(e).sort((t,e)=>t-e);for(const i of this.records){let t=0,e=n.length;for(;t<e;){const r=t+e>>>1;n[r]<i.i?t=r+1:e=r}i.i-=t}}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_createStringRecord(t,e){return!Spt(t)||Mpt(t)?null:{v:t,i:e,n:this.norm.get(t)}}_createObjectRecord(t,e){const n={i:e,$:{}};for(let i=0,r=this.keys.length;i<r;i++){const e=this.keys[i],r=e.getFn?e.getFn(t):this.getFn(t,e.path);if(Spt(r))if(mpt(r)){const t=[];for(let e=0,n=r.length;e<n;e+=1){const n=r[e];if(Spt(n))if(xpt(n)){if(!Mpt(n)){const i={v:n,i:e,n:this.norm.get(n)};t.push(i)}}else if(Spt(n.v)){const e=xpt(n.v)?n.v:vpt(n.v);if(!Mpt(e)){const i={v:e,i:n.i,n:this.norm.get(e)};t.push(i)}}}n.$[i]=t}else if(xpt(r)&&!Mpt(r)){const t={v:r,n:this.norm.get(r)};n.$[i]=t}}return n}toJSON(){return{keys:this.keys.map(({getFn:t,...e})=>e),records:this.records}}};function Ppt(t,e,{getFn:n=Opt.getFn,fieldNormWeight:i=Opt.fieldNormWeight}={}){const r=new Ept({getFn:n,fieldNormWeight:i});return r.setKeys(t.map(Apt)),r.setSources(e),r.create(),r}function Npt(t,e,n,{location:i=Opt.location,distance:r=Opt.distance,threshold:o=Opt.threshold,findAllMatches:a=Opt.findAllMatches,minMatchCharLength:s=Opt.minMatchCharLength,includeMatches:l=Opt.includeMatches,ignoreLocation:u=Opt.ignoreLocation}={}){if(e.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=e.length,c=t.length,h=Math.max(0,Math.min(i,c));let p=o,f=h;const g=(t,e)=>{const n=t/d;if(u)return n;const i=Math.abs(h-e);return r?n+i/r:i?1:n},y=s>1||l,m=y?Array(c):[];let v;for(;(v=t.indexOf(e,f))>-1;){const t=g(0,v);if(p=Math.min(t,p),f=v+d,y){let t=0;for(;t<d;)m[v+t]=1,t+=1}}f=-1;let x=[],_=1,b=0,w=d+c;const S=1<<d-1;for(let $=0;$<d;$+=1){let e=0,i=w;for(;e<i;)g($,h+i)<=p?e=i:w=i,i=Math.floor((w-e)/2+e);w=i;let r=Math.max(1,h-i+1);const o=a?c:Math.min(h+i,c)+d,s=Array(o+2);s[o+1]=(1<<$)-1;for(let a=o;a>=r;a-=1){const e=a-1,i=n[t[e]];if(s[a]=(s[a+1]<<1|1)&i,$&&(s[a]|=(x[a+1]|x[a])<<1|1|x[a+1]),s[a]&S&&(_=g($,e),_<=p)){if(p=_,f=e,b=$,f<=h)break;r=Math.max(1,2*h-f)}}if(g($+1,h)>p)break;x=s}if(y&&f>=0){const e=Math.min(c-1,f+d-1+b);for(let i=f;i<=e;i+=1)n[t[i]]&&(m[i]=1)}const M={isMatch:f>=0,score:Math.max(.001,_)};if(y){const t=function(t=[],e=Opt.minMatchCharLength){const n=[];let i=-1,r=-1,o=0;for(let a=t.length;o<a;o+=1){const a=t[o];a&&-1===i?i=o:a||-1===i||(r=o-1,r-i+1>=e&&n.push([i,r]),i=-1)}return t[o-1]&&o-i>=e&&n.push([i,o-1]),n}(m,s);t.length?l&&(M.indices=t):M.isMatch=!1}return M}function Rpt(t){const e={};for(let n=0,i=t.length;n<i;n+=1){const r=t.charAt(n);e[r]=(e[r]||0)|1<<i-n-1}return e}function Bpt(t){if(t.length<=1)return t;t.sort((t,e)=>t[0]-e[0]||t[1]-e[1]);const e=[t[0]];for(let n=1,i=t.length;n<i;n+=1){const i=e[e.length-1],r=t[n];r[0]<=i[1]+1?i[1]=Math.max(i[1],r[1]):e.push(r)}return e}const zpt={"ł":"l","Ł":"L","đ":"d","Đ":"D","ø":"o","Ø":"O","ħ":"h","Ħ":"H","ŧ":"t","Ŧ":"T","ı":"i","ß":"ss"},Fpt=new RegExp("["+Object.keys(zpt).join("")+"]","g"),Vpt="function"==typeof String.prototype.normalize?t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(Fpt,t=>zpt[t]):t=>t;var Gpt=class{constructor(t,{location:e=Opt.location,threshold:n=Opt.threshold,distance:i=Opt.distance,includeMatches:r=Opt.includeMatches,findAllMatches:o=Opt.findAllMatches,minMatchCharLength:a=Opt.minMatchCharLength,isCaseSensitive:s=Opt.isCaseSensitive,ignoreDiacritics:l=Opt.ignoreDiacritics,ignoreLocation:u=Opt.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:i,includeMatches:r,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:u},t=s?t:t.toLowerCase(),t=l?Vpt(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const d=(t,e)=>{this.chunks.push({pattern:t,alphabet:Rpt(t),startIndex:e})},c=this.pattern.length;if(c>32){let t=0;const e=c%32,n=c-e;for(;t<n;)d(this.pattern.substr(t,32),t),t+=32;if(e){const t=c-32;d(this.pattern.substr(t),t)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:e,ignoreDiacritics:n,includeMatches:i}=this.options;if(t=e?t:t.toLowerCase(),t=n?Vpt(t):t,this.pattern===t){const e={isMatch:!0,score:0};return i&&(e.indices=[[0,t.length-1]]),e}const{location:r,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,ignoreLocation:u}=this.options,d=[];let c=0,h=!1;this.chunks.forEach(({pattern:e,alphabet:n,startIndex:p})=>{const{isMatch:f,score:g,indices:y}=Npt(t,e,n,{location:r+p,distance:o,threshold:a,findAllMatches:s,minMatchCharLength:l,includeMatches:i,ignoreLocation:u});f&&(h=!0),c+=g,f&&y&&d.push(...y)});const p={isMatch:h,score:h?c/this.chunks.length:1};return h&&i&&(p.indices=Bpt(d)),p}};const Wpt=new Set(["fuzzy","include"]);function Hpt(t){return t.startsWith("inverse")}const jpt=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:t=>({type:"exact",search(e){const n=e===t;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:t=>({type:"include",search(e){let n,i=0;const r=[],o=t.length;for(;(n=e.indexOf(t,i))>-1;)i=n+o,r.push([n,i-1]);const a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:t=>({type:"prefix-exact",search(e){const n=e.startsWith(t);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:t=>({type:"inverse-prefix-exact",search(e){const n=!e.startsWith(t);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:t=>({type:"inverse-suffix-exact",search(e){const n=!e.endsWith(t);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:t=>({type:"suffix-exact",search(e){const n=e.endsWith(t);return{isMatch:n,score:n?0:1,indices:[e.length-t.length,e.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:t=>({type:"inverse-exact",search(e){const n=-1===e.indexOf(t);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(t,e={})=>{const n=new Gpt(t,{location:e.location??Opt.location,threshold:e.threshold??Opt.threshold,distance:e.distance??Opt.distance,includeMatches:e.includeMatches??Opt.includeMatches,findAllMatches:e.findAllMatches??Opt.findAllMatches,minMatchCharLength:e.minMatchCharLength??Opt.minMatchCharLength,isCaseSensitive:e.isCaseSensitive??Opt.isCaseSensitive,ignoreDiacritics:e.ignoreDiacritics??Opt.ignoreDiacritics,ignoreLocation:e.ignoreLocation??Opt.ignoreLocation});return{type:"fuzzy",search:t=>n.searchIn(t)}}}],Upt=jpt.length;function Ypt(t,e){const n=t.match(e);return n?n[1]:null}const Xpt=[];function Zpt(...t){Xpt.push(...t)}function qpt(t,e){for(let n=0,i=Xpt.length;n<i;n+=1){const i=Xpt[n];if(i.condition(t,e))return new i(t,e)}return new Gpt(t,e)}const Kpt="$and",Jpt="$or",Qpt="$path",tft="$val",eft=t=>!(!t[Kpt]&&!t[Jpt]),nft=t=>({[Kpt]:Object.keys(t).map(e=>({[e]:t[e]}))});function ift(t,e,{auto:n=!0}={}){const i=t=>{if(xpt(t)){const i={keyId:null,pattern:t};return n&&(i.searcher=qpt(t,e)),i}const r=Object.keys(t),o=(t=>!!t[Qpt])(t);if(!o&&r.length>1&&!eft(t))return i(nft(t));if((t=>!mpt(t)&&wpt(t)&&!eft(t))(t)){const i=o?t[Qpt]:r[0],a=o?t[tft]:t[i];if(!xpt(a))throw new Error((t=>`Invalid value for key ${t}`)(i));const s={keyId:kpt(i),pattern:a};return n&&(s.searcher=qpt(a,e)),s}const a={children:[],operator:r[0]};return r.forEach(e=>{const n=t[e];mpt(n)&&n.forEach(t=>{a.children.push(i(t))})}),a};return eft(t)||(t=nft(t)),i(t)}function rft(t,{ignoreFieldNorm:e=Opt.ignoreFieldNorm}){let n=1;return t.forEach(({key:t,norm:i,score:r})=>{const o=t?t.weight:null;n*=Math.pow(0===r&&o?Number.EPSILON:r,(o||1)*(e?1:i))}),n}var oft=class{constructor(t){this.limit=t,this.heap=[]}get size(){return this.heap.length}shouldInsert(t){return this.size<this.limit||t<this.heap[0].score}insert(t){this.size<this.limit?(this.heap.push(t),this._bubbleUp(this.size-1)):t.score<this.heap[0].score&&(this.heap[0]=t,this._sinkDown(0))}extractSorted(t){return this.heap.sort(t)}_bubbleUp(t){const e=this.heap;for(;t>0;){const n=t-1>>1;if(e[t].score<=e[n].score)break;const i=e[t];e[t]=e[n],e[n]=i,t=n}}_sinkDown(t){const e=this.heap,n=e.length;let i=t;do{const r=2*(t=i)+1,o=2*t+2;if(r<n&&e[r].score>e[i].score&&(i=r),o<n&&e[o].score>e[i].score&&(i=o),i!==t){const n=e[t];e[t]=e[i],e[i]=n}}while(i!==t)}};function aft(t,e,{includeMatches:n=Opt.includeMatches,includeScore:i=Opt.includeScore}={}){return t.map(t=>{const{idx:r}=t,o={item:e[r],refIndex:r};return n&&(o.matches=function(t){const e=[];return t.matches.forEach(t=>{if(!Spt(t.indices)||!t.indices.length)return;const n={indices:t.indices,value:t.value};t.key&&(n.key=t.key.id),t.idx>-1&&(n.refIndex=t.idx),e.push(n)}),e}(t)),i&&(o.score=t.score),o})}const sft=/[\p{L}\p{M}\p{N}_]+/gu,lft=new WeakSet;function uft(t){if("function"==typeof t){let e=!1;return n=>{const i=t(n);if(!e&&(e=!0,!Array.isArray(i)||i.some(t=>"string"!=typeof t)))throw new Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(i)?"array containing non-strings":typeof i}.`);return i}}return t instanceof RegExp?(t.global||(e=t,lft.has(e)||(lft.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))),e=>e.match(t)||[]):t=>t.match(sft)||[];var e}function dft({isCaseSensitive:t=!1,ignoreDiacritics:e=!1,tokenize:n}={}){const i=uft(n);return{tokenize:n=>(t||(n=n.toLowerCase()),e&&(n=Vpt(n)),i(n))}}function cft(t,e,n,i){const r=i.tokenize(e);if(!r.length)return;t.fieldCount++,t.docFieldCount.set(n,(t.docFieldCount.get(n)||0)+1);const o=new Set(r);let a=t.docTermFieldHits.get(n);a||(a=new Map,t.docTermFieldHits.set(n,a));for(const s of o)a.set(s,(a.get(s)||0)+1),t.df.set(s,(t.df.get(s)||0)+1)}function hft(t,e,n,i){const{i:r,v:o,$:a}=e;if(void 0===o){if(a)for(let s=0;s<n;s++){const e=a[s];if(e)if(Array.isArray(e))for(const n of e)cft(t,n.v,r,i);else cft(t,e.v,r,i)}}else cft(t,o,r,i)}function pft(t,e){const n=t.docFieldCount.get(e);if(void 0===n)return;t.fieldCount-=n,t.docFieldCount.delete(e);const i=t.docTermFieldHits.get(e);if(i){for(const[e,n]of i){const i=(t.df.get(e)||0)-n;i<=0?t.df.delete(e):t.df.set(e,i)}t.docTermFieldHits.delete(e)}}function fft(t,e){if(0===e.length)return;const n=Array.from(new Set(e)).sort((t,e)=>t-e);for(const s of n)pft(t,s);const i=t=>{let e=0,i=n.length;for(;e<i;){const r=e+i>>>1;n[r]<t?e=r+1:i=r}return t-e},r=n[0],o=new Map;for(const[s,l]of t.docFieldCount)o.set(s>r?i(s):s,l);t.docFieldCount=o;const a=new Map;for(const[s,l]of t.docTermFieldHits)a.set(s>r?i(s):s,l);t.docTermFieldHits=a}var gft=class{constructor(t,e,n){this.options={...Opt,...e},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new Tpt(this.options.keys),this._docs=t,this._myIndex=null,this._invertedIndex=null,this.setCollection(t,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(t){if(this._lastQuery===t)return this._lastSearcher;const e=qpt(t,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=t,this._lastSearcher=e,e}setCollection(t,e){if(this._docs=t,e&&!(e instanceof Ept))throw new Error("Incorrect 'index' type");if(this._myIndex=e||Ppt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){const t=dft({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=function(t,e,n){const i={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(const r of t)hft(i,r,e,n);return i}(this._myIndex.records,this._myIndex.keys.length,t)}this._invalidateSearcherCache()}add(t){if(!Spt(t))return;this._docs.push(t);const e=this._myIndex.add(t,this._docs.length-1);if(this._invertedIndex&&e){const t=dft({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});!function(t,e,n,i){hft(t,e,n,i)}(this._invertedIndex,e,this._myIndex.keys.length,t)}this._invalidateSearcherCache()}remove(t=()=>!1){const e=[],n=[];for(let i=0,r=this._docs.length;i<r;i+=1)t(this._docs[i],i)&&(e.push(this._docs[i]),n.push(i));if(n.length){this._invertedIndex&&fft(this._invertedIndex,n);const t=new Set(n);this._docs=this._docs.filter((e,n)=>!t.has(n)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return e}removeAt(t){if(!Number.isInteger(t)||t<0||t>=this._docs.length)throw new Error(Cpt);this._invertedIndex&&fft(this._invertedIndex,[t]);const e=this._docs.splice(t,1)[0];return this._myIndex.removeAt(t),this._invalidateSearcherCache(),e}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}search(t,e){const{limit:n=-1}=e||{},{includeMatches:i,includeScore:r,shouldSort:o,sortFn:a,ignoreFieldNorm:s}=this.options;if(xpt(t)&&!t.trim()){let t=this._docs.map((t,e)=>({item:t,refIndex:e}));return _pt(n)&&n>-1&&(t=t.slice(0,n)),t}let l;if(_pt(n)&&n>0&&xpt(t)){const e=new oft(n);xpt(this._docs[0])?this._searchStringList(t,{heap:e,ignoreFieldNorm:s}):this._searchObjectList(t,{heap:e,ignoreFieldNorm:s}),l=e.extractSorted(a)}else l=xpt(t)?xpt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t),function(t,{ignoreFieldNorm:e=Opt.ignoreFieldNorm}){t.forEach(t=>{t.score=rft(t.matches,{ignoreFieldNorm:e})})}(l,{ignoreFieldNorm:s}),o&&l.sort(a),_pt(n)&&n>-1&&(l=l.slice(0,n));return aft(l,this._docs,{includeMatches:i,includeScore:r})}_searchStringList(t,{heap:e,ignoreFieldNorm:n}={}){const i=this._getSearcher(t),r=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:o}=this._myIndex,a=e?null:[];return o.forEach(({v:t,i:o,n:s})=>{if(!Spt(t))return;const l=i.searchIn(t);if(l.isMatch){const i={score:l.score,value:t,norm:s,indices:l.indices};r&&(i.matchedMask=l.matchedMask,i.matchedTerms=l.matchedTerms,i.termCount=l.termCount);const u=[i];if(!r||this._coversAllTokens(u)){const i={item:t,idx:o,matches:u};e?(i.score=rft(i.matches,{ignoreFieldNorm:n}),e.shouldInsert(i.score)&&e.insert(i)):a.push(i)}}}),a}_searchLogical(t){const e=ift(t,this.options),n=(t,e,i)=>{if(!("children"in t)){const{keyId:n,searcher:r}=t;let o;return null===n?(o=[],this._myIndex.keys.forEach((t,n)=>{o.push(...this._findMatches({key:t,value:e[n],searcher:r}))})):o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(e,n),searcher:r}),o&&o.length?[{idx:i,item:e,matches:o}]:[]}const{children:r,operator:o}=t,a=[];for(let s=0,l=r.length;s<l;s+=1){const t=r[s],l=n(t,e,i);if(l.length)a.push(...l);else if(o===Kpt)return[]}return a},i=this._myIndex.records,r=new Map,o=[];return i.forEach(({$:t,i:i})=>{if(Spt(t)){const a=n(e,t,i);a.length&&(r.has(i)||(r.set(i,{idx:i,item:t,matches:[]}),o.push(r.get(i))),a.forEach(({matches:t})=>{r.get(i).matches.push(...t)}))}}),o}_searchObjectList(t,{heap:e,ignoreFieldNorm:n}={}){const i=this._getSearcher(t),r=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{keys:o,records:a}=this._myIndex,s=e?null:[];return a.forEach(({$:t,i:a})=>{if(!Spt(t))return;const l=[];let u=!1,d=!1;if(o.forEach((e,n)=>{const r=this._findMatches({key:e,value:t[n],searcher:i});r.length?(l.push(...r),r[0].hasInverse&&(d=!0)):u=!0}),(!d||!u)&&l.length&&(!r||this._coversAllTokens(l))){const i={idx:a,item:t,matches:l};e?(i.score=rft(i.matches,{ignoreFieldNorm:n}),e.shouldInsert(i.score)&&e.insert(i)):s.push(i)}}),s}_findMatches({key:t,value:e,searcher:n}){if(!Spt(e))return[];const i=[];if(mpt(e))e.forEach(({v:e,i:r,n:o})=>{if(!Spt(e))return;const a=n.searchIn(e);if(a.isMatch){const n={score:a.score,key:t,value:e,idx:r,norm:o,indices:a.indices,hasInverse:a.hasInverse};void 0!==a.termCount&&(n.matchedMask=a.matchedMask,n.matchedTerms=a.matchedTerms,n.termCount=a.termCount),i.push(n)}});else{const{v:r,n:o}=e,a=n.searchIn(r);if(a.isMatch){const e={score:a.score,key:t,value:r,norm:o,indices:a.indices,hasInverse:a.hasInverse};void 0!==a.termCount&&(e.matchedMask=a.matchedMask,e.matchedTerms=a.matchedTerms,e.termCount=a.termCount),i.push(e)}}return i}_coversAllTokens(t){const e=t.length?t[0].termCount:void 0;if(void 0===e)return!0;if(e<=31){let n=0;for(let e=0;e<t.length;e++)n|=t[e].matchedMask||0;return n===2**e-1}const n=new Set;for(let i=0;i<t.length;i++){const e=t[i].matchedTerms;if(e)for(const t of e)n.add(t)}return n.size===e}};gft.version="7.4.2",gft.createIndex=Ppt,gft.parseIndex=function(t,{getFn:e=Opt.getFn,fieldNormWeight:n=Opt.fieldNormWeight}={}){const{keys:i,records:r}=t,o=new Ept({getFn:e,fieldNormWeight:n});return o.setKeys(i),o.setIndexRecords(r),o},gft.config=Opt,gft.match=function(t,e,n){if(n&&n.useTokenSearch)throw new Error("Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.");return qpt(t,{...Opt,...n}).searchIn(e)},gft.parseQuery=ift,Zpt(class{constructor(t,{isCaseSensitive:e=Opt.isCaseSensitive,ignoreDiacritics:n=Opt.ignoreDiacritics,includeMatches:i=Opt.includeMatches,minMatchCharLength:r=Opt.minMatchCharLength,ignoreLocation:o=Opt.ignoreLocation,findAllMatches:a=Opt.findAllMatches,location:s=Opt.location,threshold:l=Opt.threshold,distance:u=Opt.distance}={}){this.query=null,this.options={isCaseSensitive:e,ignoreDiacritics:n,includeMatches:i,minMatchCharLength:r,findAllMatches:a,ignoreLocation:o,location:s,threshold:l,distance:u},t=e?t:t.toLowerCase(),t=n?Vpt(t):t,this.pattern=t,this.query=function(t,e={}){return t.replace(/\\\|/g,"\0").split("|").map(t=>{const n=function(t){const e=[],n=t.length;let i=0;for(;i<n;){for(;i<n&&" "===t[i];)i++;if(i>=n)break;let r=i;for(;r<n&&" "!==t[r]&&'"'!==t[r];)r++;if(r<n&&'"'===t[r]){for(r++;r<n;){if('"'===t[r]){const e=r+1;if(e>=n||" "===t[e]){r++;break}if("$"===t[e]&&(e+1>=n||" "===t[e+1])){r+=2;break}}r++}e.push(t.substring(i,r)),i=r}else{for(;r<n&&" "!==t[r];)r++;e.push(t.substring(i,r)),i=r}}return e}(t.replace(/\u0000/g,"|").trim()).filter(t=>t&&!!t.trim()),i=[];for(let r=0,o=n.length;r<o;r+=1){const t=n[r];let o=!1,a=-1;for(;!o&&++a<Upt;){const n=jpt[a],r=Ypt(t,n.multiRegex);r&&(i.push(n.create(r,e)),o=!0)}if(!o)for(a=-1;++a<Upt;){const n=jpt[a],r=Ypt(t,n.singleRegex);if(r){i.push(n.create(r,e));break}}}return i})}(this.pattern,this.options)}static condition(t,e){return e.useExtendedSearch}searchIn(t){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i,ignoreDiacritics:r}=this.options;t=i?t:t.toLowerCase(),t=r?Vpt(t):t;let o=0;const a=[];let s=0,l=!1;for(let u=0,d=e.length;u<d;u+=1){const i=e[u];a.length=0,o=0,l=!1;for(let e=0,r=i.length;e<r;e+=1){const r=i[e],{isMatch:u,indices:d,score:c}=r.search(t);if(!u){s=0,o=0,a.length=0,l=!1;break}o+=1,s+=c,Hpt(r.type)&&(l=!0),n&&(Wpt.has(r.type)?a.push(...d):a.push(d))}if(o){const t={isMatch:!0,score:s/o};return l&&(t.hasInverse=!0),n&&(t.indices=Bpt(a)),t}}return{isMatch:!1,score:1}}}),Zpt(class{static condition(t,e){return e.useTokenSearch}constructor(t,e){this.options=e,this.analyzer=dft({isCaseSensitive:e.isCaseSensitive,ignoreDiacritics:e.ignoreDiacritics,tokenize:e.tokenize});const n=this.analyzer.tokenize(t),{df:i,fieldCount:r}=e._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(const o of n){this.termSearchers.push(new Gpt(o,{location:e.location,threshold:e.threshold,distance:e.distance,includeMatches:e.includeMatches,findAllMatches:e.findAllMatches,minMatchCharLength:e.minMatchCharLength,isCaseSensitive:e.isCaseSensitive,ignoreDiacritics:e.ignoreDiacritics,ignoreLocation:!0}));const t=i.get(o)||0,n=Math.log(1+(r-t+.5)/(t+.5));this.idfWeights.push(n)}this.combineAll="all"===e.tokenMatch,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(t){if(!this.termSearchers.length)return{isMatch:!1,score:1};const e=[];let n=0,i=0,r=0,o=0;const a=this.combineAll&&!this.useMask?new Set:null;for(let u=0;u<this.termSearchers.length;u++){const s=this.termSearchers[u].searchIn(t),l=this.idfWeights[u];i+=l,s.isMatch&&(r++,n+=l*(1-s.score),s.indices&&e.push(...s.indices),this.combineAll&&(this.useMask?o|=1<<u:a.add(u)))}if(0===r)return{isMatch:!1,score:1};const s=i>0?1-n/i:0,l={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&e.length&&(l.indices=Bpt(e)),this.combineAll&&(this.useMask?l.matchedMask=o:l.matchedTerms=a,l.termCount=this.numTerms),l}}),gft.use=function(...t){t.forEach(t=>Zpt(t))};var yft=gft;!function(){var t=this||self;function e(e,n){e=e.split(".");var i,r=t;e[0]in r||void 0===r.execScript||r.execScript("var "+e[0]);for(;e.length&&(i=e.shift());)e.length||void 0===n?r=r[i]&&r[i]!==Object.prototype[i]?r[i]:r[i]={}:r[i]=n}function n(t,e){function n(){}n.prototype=e.prototype,t.ma=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.sa=function(t,n,i){for(var r=Array(arguments.length-2),o=2;o<arguments.length;o++)r[o-2]=arguments[o];return e.prototype[n].apply(t,r)}}var i=class{constructor(t){if(r!=r)throw Error("SafeUrl is not meant to be built directly");this.g=t}toString(){return this.g.toString()}},r={};new i("about:invalid#zClosurez"),new i("about:blank");new class{constructor(){false}toString(){return"".toString()}};new class{constructor(){false}toString(){return"".toString()}};function o(t,e){switch(this.g=t,this.l=!!e.aa,this.h=e.i,this.s=e.type,this.o=!1,this.h){case l:case u:case d:case c:case h:case s:case a:this.o=!0}this.j=e.defaultValue}new class{constructor(){var e=t.trustedTypes&&t.trustedTypes.emptyHTML||"";this.g=e}toString(){return this.g.toString()}};var a=1,s=2,l=3,u=4,d=6,c=16,h=18;function p(t,e){for(this.h=t,this.g={},t=0;t<e.length;t++){var n=e[t];this.g[n.g]=n}}function f(){this.h={},this.j=this.m().g,this.g=this.l=null}function g(t,e){for(var n=function(t){return(t=function(t){const e=[];let n=0;for(const i in t)e[n++]=t[i];return e}(t.g)).sort(function(t,e){return t.g-e.g}),t}(t.m()),i=0;i<n.length;i++){var r=n[i],o=r.g;if(y(e,o)){t.g&&delete t.g[r.g];var a=11==r.h||10==r.h;if(r.l){r=_(e,o);for(var s=0;s<r.length;s++)S(t,o,a?r[s].clone():r[s])}else r=m(e,o),a?(a=m(t,o))?g(a,r):w(t,o,r.clone()):w(t,o,r)}}}function y(t,e){return null!=t.h[e]}function m(t,e){var n=t.h[e];if(null==n)return null;if(t.l){if(!(e in t.g)){var i=t.l,r=t.j[e];if(null!=n)if(r.l){for(var o=[],a=0;a<n.length;a++)o[a]=i.h(r,n[a]);n=o}else n=i.h(r,n);return t.g[e]=n}return t.g[e]}return n}function v(t,e,n){var i=m(t,e);return t.j[e].l?i[n||0]:i}function x(t,e){if(y(t,e))t=v(t,e);else t:{if(void 0===(t=t.j[e]).j)if((e=t.s)===Boolean)t.j=!1;else if(e===Number)t.j=0;else{if(e!==String){t=new e;break t}t.j=t.o?"0":""}t=t.j}return t}function _(t,e){return m(t,e)||[]}function b(t,e){return t.j[e].l?y(t,e)?t.h[e].length:0:y(t,e)?1:0}function w(t,e,n){t.h[e]=n,t.g&&(t.g[e]=n)}function S(t,e,n){t.h[e]||(t.h[e]=[]),t.h[e].push(n),t.g&&delete t.g[e]}function M(t,e){var n,i=[];for(n in e)0!=n&&i.push(new o(n,e[n]));return new p(t,i)}function $(){}f.prototype.has=function(t){return y(this,t.g)},f.prototype.get=function(t,e){return v(this,t.g,e)},f.prototype.set=function(t,e){w(this,t.g,e)},f.prototype.add=function(t,e){S(this,t.g,e)},f.prototype.clone=function(){var t=new this.constructor;return t!=this&&(t.h={},t.g&&(t.g={}),g(t,this)),t},$.prototype.g=function(t){throw new t.h,Error("Unimplemented")},$.prototype.h=function(t,e){if(11==t.h||10==t.h)return e instanceof f?e:this.g(t.s.prototype.m(),e);if(14==t.h)return"string"==typeof e&&C.test(e)&&0<(t=Number(e))?t:e;if(!t.o)return e;if((t=t.s)===String){if("number"==typeof e)return String(e)}else if(t===Number&&"string"==typeof e&&("Infinity"===e||"-Infinity"===e||"NaN"===e||C.test(e)))return Number(e);return e};var C=/^-?[0-9]+$/;function I(){}function T(){}function A(t,e){null!=t&&this.g.apply(this,arguments)}function D(t){t.h=""}function k(){f.call(this)}n(I,$),I.prototype.g=function(t,e){return(t=new t.h).l=this,t.h=e,t.g={},t},n(T,I),T.prototype.h=function(t,e){return 8==t.h?!!e:$.prototype.h.apply(this,arguments)},T.prototype.g=function(t,e){return T.ma.g.call(this,t,e)},A.prototype.h="",A.prototype.set=function(t){this.h=""+t},A.prototype.g=function(t,e,n){if(this.h+=String(t),null!=e)for(let i=1;i<arguments.length;i++)this.h+=arguments[i];return this},A.prototype.toString=function(){return this.h},n(k,f);var L=null;function O(){f.call(this)}n(O,f);var E=null;function P(){f.call(this)}n(P,f);var N=null;function R(){f.call(this)}k.prototype.m=function(){var t=L;return t||(L=t=M(k,{0:{name:"NumberFormat",ia:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,i:9,type:String},2:{name:"format",required:!0,i:9,type:String},3:{name:"leading_digits_pattern",aa:!0,i:9,type:String},4:{name:"national_prefix_formatting_rule",i:9,type:String},6:{name:"national_prefix_optional_when_formatting",i:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",i:9,type:String}})),t},k.m=k.prototype.m,O.prototype.m=function(){var t=E;return t||(E=t=M(O,{0:{name:"PhoneNumberDesc",ia:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",i:9,type:String},9:{name:"possible_length",aa:!0,i:5,type:Number},10:{name:"possible_length_local_only",aa:!0,i:5,type:Number},6:{name:"example_number",i:9,type:String}})),t},O.m=O.prototype.m,P.prototype.m=function(){var t=N;return t||(N=t=M(P,{0:{name:"PhoneMetadata",ia:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",i:11,type:O},2:{name:"fixed_line",i:11,type:O},3:{name:"mobile",i:11,type:O},4:{name:"toll_free",i:11,type:O},5:{name:"premium_rate",i:11,type:O},6:{name:"shared_cost",i:11,type:O},7:{name:"personal_number",i:11,type:O},8:{name:"voip",i:11,type:O},21:{name:"pager",i:11,type:O},25:{name:"uan",i:11,type:O},27:{name:"emergency",i:11,type:O},28:{name:"voicemail",i:11,type:O},29:{name:"short_code",i:11,type:O},30:{name:"standard_rate",i:11,type:O},31:{name:"carrier_specific",i:11,type:O},33:{name:"sms_services",i:11,type:O},24:{name:"no_international_dialling",i:11,type:O},9:{name:"id",required:!0,i:9,type:String},10:{name:"country_code",i:5,type:Number},11:{name:"international_prefix",i:9,type:String},17:{name:"preferred_international_prefix",i:9,type:String},12:{name:"national_prefix",i:9,type:String},13:{name:"preferred_extn_prefix",i:9,type:String},15:{name:"national_prefix_for_parsing",i:9,type:String},16:{name:"national_prefix_transform_rule",i:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",i:8,defaultValue:!1,type:Boolean},19:{name:"number_format",aa:!0,i:11,type:k},20:{name:"intl_number_format",aa:!0,i:11,type:k},22:{name:"main_country_for_code",i:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",i:9,type:String}})),t},P.m=P.prototype.m,n(R,f);var B=null,z={ra:0,qa:1,pa:5,oa:10,na:20};R.prototype.m=function(){var t=B;return t||(B=t=M(R,{0:{name:"PhoneNumber",ia:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,i:5,type:Number},2:{name:"national_number",required:!0,i:4,type:Number},3:{name:"extension",i:9,type:String},4:{name:"italian_leading_zero",i:8,type:Boolean},8:{name:"number_of_leading_zeros",i:5,defaultValue:1,type:Number},5:{name:"raw_input",i:9,type:String},6:{name:"country_code_source",i:14,defaultValue:0,type:z},7:{name:"preferred_domestic_carrier_code",i:9,type:String}})),t},R.ctor=R,R.ctor.m=R.prototype.m;var F={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},V={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[02-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-79]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[246])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?:51|66|73)2\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",,,,"212345678",,,[9],[8]],[,,"4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"450001234",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[024-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-7]|4[4-6]|5[0-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}",,,,"17001234"],[,,"(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}",,,,"36001234"],[,,"8[02369]\\d{6}",,,,"80123456"],[,,"(?:87|9[0-8])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|6[124-9]|7[125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"(?:01\\d|8)\\d{7}",,,,,,,[8,10]],[,,"012\\d{7}",,,,"0120211234",,,[10]],[,,"01(?:2[5-9]|[4-69]\\d)\\d{6}",,,,"0195123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234",,,[8]],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456",,,[8]],,,[,,,,,,,,,[-1]]],BL:[,[,,"7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",,,,,,,[9]],[,,"(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}",,,,"590271234"],[,,"(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,"8[129]\\d{7}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|9[02])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"50\\d{6}",,,,"50123456",,,[8],[7]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[235]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"[59]00\\d{6,7}",,,,"500123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|864))\\d{4}|800\\d{6,7}|300\\d{5}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[178]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|[78]7)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7[1-8]\\d)\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",,,,"5219023456",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",,,,,,,[7,8,9,10]],[,,"(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-69]|9[016-9])\\d{7}",,,,"991234567",,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"8776\\d{4}|(?:[27]\\d|61)\\d{6}",,,,,,,[8]],[,,"(?:2[12]|61)\\d{6}",,,,"21612345"],[,,"7[02-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80[0-2]\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"(?:6[89]|7[235-9])\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"600123456",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6(?:[25-9]\\d|4[01]))\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["1(?:00|2[13])|9[56]","1(?:00|2(?:1|39))|9[56]","1(?:00|2(?:1|395))|9[56]"]],[,"(\\d{5,6})","$1",["1(?:0|23)|781|[1-9]12","1(?:0|23)|7812|[1-9]123","1(?:0|23(?:[0-8]|9[0-46-9]))|78123|[1-9]123"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))","1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:0(?:[0-689]|7[0-79])|1[01459]|2[0-489]|[46]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",,,,,,,[8,10,11],[4,7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}",,,,"6012345678",,,[8,10],[4,7]],[,,"333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"(?:19(?:0[01]|4[78])|901)\\d{7}",,,,"19001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:[14]4|56))?",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["46"]],[,"(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{4})(\\d{4})","$1 $2",["46"]],[,"(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"(?:5\\d|6[2-4])\\d{6}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{6})","$1",["227","2277"]],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}",,,,"32123456"],[,,"(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}",,,,"34412345"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?:33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|2[1-35-79]|3\\d|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[[,"(\\d{5})","$1",["20[2-59]"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[024]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0|180020",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",,,,,,,[9]],[,,"(?:59(?:4(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)|88\\d)|80[6-9]\\d\\d)\\d{4}",,,,"594101234"],[,,"(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,"8[129]\\d{7}",,,,"890123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0|180020","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"[235]\\d{8}|800\\d{5,6}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5,6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5,6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d|60)\\d{6}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-589]\\d\\d)\\d{3}",,,,"5661234"],[,,"556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",,,,,,,[9]],[,,"(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}",,,,"590201234"],[,,"(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,"8[129]\\d{7}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"(?:[3-5]\\d\\d|80[0-4])\\d{5}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[16-9]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[16-9]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([2-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"(?:[2-8]\\d{3}|9008)\\d{3}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}",,,,"2201234"],[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|70))\\d{4}",,,,"6091234"],[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"515\\d{4}",,,,"5151234"],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-5]))|58(?:0[1-9]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:(?:09|24)[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",,,,,,,[7,8,9],[6]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}",,,,"921234567",,,[8,9]],[,,"80\\d{5,7}",,,,"800123456"],[,,"6[01459]\\d{6}|6[01]\\d{5}",,,,"6001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-589]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|5[568])\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13,14,15,16,17],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",,,,"8001234567",,,[8,9,10,11,12,13,14,15,16,17]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{5,11}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,11,12,13,14,15,16,17]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"55(?:4(?:0[0-2]|[16]0)|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:38(?:[05]\\d|8[0138])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0|180020","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1800\\d{4,9}|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678"],[,,"3[2-9]\\d{7,8}|(?:31|43)\\d{8}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0|180020","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[5-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:6582(?:[0-4]\\d|95)|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1",,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{8,10})","$1",["000"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-8]|1\\d|2[014]|30|4[0-3])|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[02-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|[235-9]\\d{8}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|4(?:1[2-6]|2[0-4])|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,,,,,,,,[-1]],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"8\\d{13}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}",,,,"2023123456",,,[9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"2\\d{7}",,,,"21234567",,,[8]],[,,"(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[1256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","0",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[26][18]|5[1568]|7[189]|81|9[128])\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|78|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}",,,,"650123456"],[,,"80[0-7]\\d{6}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],1,"[5-8]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|[67]\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[469]\\d|5[1-9])\\d{5}|(?:3|[67]\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"60123456",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",,,,,,,[9]],[,,"(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}",,,,"590271234"],[,,"(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,"8[129]\\d{7}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[35-8])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:0[1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",,,,,,,[9]],[,,"(?:59(?:6(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|89\\d)|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}",,,,"596301234"],[,,"(?:69[67]\\d\\d|7091[0-3])\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,"8[129]\\d{7}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[0-24-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,"219\\d{4}",,,,"2190123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7,8]],[,,"(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2001234567",,,,[7,8]],[,,"(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",,,,"2221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567"],[,,"900\\d{7}",,,,"9001234567"],[,,"300\\d{7}",,,,"3001234567"],[,,"500\\d{7}",,,,"5001234567"],[,,,,,,,,,[-1]],"MX",52,"0[09]",,,,,,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"427[01]\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-79]|6[02-4]|8[02-5]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:[579]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[0467]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:20|9\\d)\\d{8}|[78]\\d{9,13}",,,,,,,[10,11,12,13,14],[6,7]],[,,"20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}",,,,"2033123456",,,[10],[6,7]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567"],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[4-7]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"(?:[56]|888[1-9])\\d{3}",,,,"8884012"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",,,,,,,[5,6,7,8,9,10]],[,,"240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[1-6]\\d{6}",,,,"23123456",,,[8]],[,,"(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[1-48])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:30|47\\d\\d)\\d{5}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1[013-5]|2\\d|3[1-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[78]\\d{8}|[2-9]\\d{5}",,,,,,,[6,9]],[,,"80[6-9]\\d{6}|(?:[236-9]\\d|4[1-35-9]|5[0-47-9])\\d{4}",,,,"430123"],[,,"708(?:4[0-5]|5[0-6])\\d{4}|(?:[236-9]\\d|4[02-489]|5[02-9])\\d{4}",,,,"551234"],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,"8[129]\\d{7}",,,,"810123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6(?:222\\d|89(?:00|88|99))\\d{4}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}",,,,"707123456"],,,[,,"600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{6,7})","$1",["[125]|4[01]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[245]0\\d{6,7}|[36-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2[136]\\d{5}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"709\\d{6}|(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}",,,,"939901234"],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|36|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"[3489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[237-9]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"(?:[15]\\d|800|92)\\d{7}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SB:[,[,,"[6-9]\\d{6}|[1-6]\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"(?:[2489]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,"85\\d{5}",,,,"8512345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"89(?:8[02-9]|9[0-6])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|79)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7\\d|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:[015-8]\\d|21|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|[6-8]\\d|90)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}",,,,"211234",,,[6]],[,,"(?:6[08]|7[124-7]|8[1-9])\\d{5}",,,,"7412345",,,[7]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",,,,"21234567",,,[8]],[,,"[5-7]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{8}|80[01]\\d{4}",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[39]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[0-24-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-359]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"(?:50|9[1-9])\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[5-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[3689]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:3[01]|[69]\\d|77|8[5-7])\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[0-289]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:[0-57-9]\\d|66)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|3[08]|40|5[05]|66|7[0157-9]|8[07-9])\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"(?:[1-6]\\d|71)\\d{6}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"(?:6\\d|71)\\d{6}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|[27]4|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-579]|61)","5(?:[0-579]|61[06])","5(?:[0-579]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-579]|61)","5(?:[0-579]|61[06])","5(?:[0-579]|61[06]1)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"868800\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"(?:6[1-35-9]|7[013-9])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[06]|9[0-3589])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",,,,,,,[4,5,6,7,8,9,10,11,12,13]],[,,"(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"0004\\d{2,9}|(?:405|80[05])\\d{4}",,,,"8001234",,,[6,7,8,9,10,11,12,13]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{4,5})","$1",["21"]],[,"(\\d{3})(\\d{3,4})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"21\\d{2,3}",,,,"21123",,,[4,5]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:20|33|[5-9]\\d)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[246])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[0-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9[23]\\d{4}",,,,"921234",,,[6]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9,10,11,12]],[,,"38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],[,"(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",,,,,,,[9]],[,,"269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)8[01]|769\\d)\\d{4}",,,,"939801234"],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:50[0-2]|[67]\\d\\d)\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|[579]\\d|63)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:[59][5-8]|7[5-9])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[1278]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[235-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2\\d{8}",,,,"201234567",,,[9]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"6\\d{9}|[0-36-9]\\d{8}",,,,,,,[9,10]],[,,,,,,,,,[-1]],[,,"6\\d{9}|[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],[,"(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function G(){this.g={}}G.h=void 0,G.g=function(){return G.h?G.h:G.h=new G};var W={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","":"0","":"1","":"2","":"3","":"4","":"5","":"6","":"7","":"8","":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},H={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","+":"+","*":"*","#":"#"},j={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","":"0","":"1","":"2","":"3","":"4","":"5","":"6","":"7","":"8","":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},U=RegExp("[+]+"),Y=RegExp("^[+]+"),X=RegExp("([0-9-9٠-٩۰-۹])"),Z=RegExp("[+0-9-9٠-٩۰-۹]"),q=/[\\\/] *x/,K=RegExp("[^0-9-9٠-٩۰-۹A-Za-z#]+$"),J=/(?:.*?[A-Za-z]){3}.*/,Q=RegExp("^\\+([0-9-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-9-9٠-٩۰-۹]([0-9-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"),tt=RegExp("^([A-Za-z0-9-9٠-٩۰-۹]+((\\-)*[A-Za-z0-9-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9-9٠-٩۰-۹])*\\.?$");function et(t){return"([0-9-9٠-٩۰-۹]{1,"+t+"})"}function nt(){return";ext="+et("20")+"|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|?xtn?|доб|anexo)[:\\.]?[  \\t,-]*"+et("20")+"#?|[  \\t,]*(?:[x#~]|int|int)[:\\.]?[  \\t,-]*"+et("9")+"#?|[- ]+"+et("6")+"#|[  \\t]*(?:,{2}|;)[:\\.]?[  \\t,-]*"+et("15")+"#?|[  \\t]*(?:,)+[:\\.]?[  \\t,-]*"+et("9")+"#?"}var it=new RegExp("(?:"+nt()+")$","i"),rt=new RegExp("^[0-9-9٠-٩۰-۹]{2}$|^[+]*(?:[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~*]*[0-9-9٠-٩۰-۹]){3,}[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~*A-Za-z0-9-9٠-٩۰-۹]*(?:"+nt()+")?$","i"),ot=/(\$\d)/,at=/^\(?\$1\)?$/;function st(t){return!(2>t.length)&&Lt(rt,t)}function lt(t){return Lt(J,t)?ct(t,j):ct(t,W)}function ut(t){var e=lt(t.toString());D(t),t.g(e)}function dt(t){return null!=t&&(1!=b(t,9)||-1!=_(t,9)[0])}function ct(t,e){for(var n,i=new A,r=t.length,o=0;o<r;++o)null!=(n=e[(n=t.charAt(o)).toUpperCase()])&&i.g(n);return i.toString()}function ht(t){return 0==t.length||at.test(t)}function pt(t){return null!=t&&isNaN(t)&&t.toUpperCase()in V}function ft(t,e,n){return _t(t,"001"==n?""+e:n)}function gt(t){if(!y(t,2))return"";var e=""+v(t,2);return y(t,4)&&v(t,4)&&0<x(t,8)?Array(x(t,8)+1).join("0")+e:e}function yt(t,e,n,i){switch(e){case 0:return"+"+t+n+i;case 1:return"+"+t+" "+n+i;case 3:return"tel:+"+t+"-"+n+i;default:return n+i}}function mt(t,e){switch(e){case 4:return v(t,5);case 3:return v(t,4);case 1:return v(t,3);case 0:case 2:return v(t,2);case 5:return v(t,6);case 6:return v(t,8);case 7:return v(t,7);case 8:return v(t,21);case 9:return v(t,25);case 10:return v(t,28);default:return v(t,1)}}function vt(t,e){var n=wt(t,e);return null==(t=ft(t,x(e,1),n))?-1:xt(e=gt(e),t)}function xt(t,e){return bt(t,v(e,1))?bt(t,v(e,5))?4:bt(t,v(e,4))?3:bt(t,v(e,6))?5:bt(t,v(e,8))?6:bt(t,v(e,7))?7:bt(t,v(e,21))?8:bt(t,v(e,25))?9:bt(t,v(e,28))?10:bt(t,v(e,2))?v(e,18)||bt(t,v(e,3))?2:0:!v(e,18)&&bt(t,v(e,3))?1:-1:-1}function _t(t,e){if(null==e)return null;e=e.toUpperCase();var n=t.g[e];if(null==n){if(null==(n=V[e]))return null;n=(new T).g(P.m(),n),t.g[e]=n}return n}function bt(t,e){var n=t.length;return!(0<b(e,9)&&-1==_(e,9).indexOf(n))&&Lt(x(e,2),t)}function wt(t,e){if(null==e)return null;var n=x(e,1);if(null==(n=F[n]))t=null;else if(1==n.length)t=n[0];else t:{e=gt(e);for(var i,r=n.length,o=0;o<r;o++){var a=_t(t,i=n[o]);if(y(a,23)){if(0==e.search(v(a,23))){t=i;break t}}else if(-1!=xt(e,a)){t=i;break t}}t=null}return t}function St(t){return null==(t=F[t])?"ZZ":t[0]}function Mt(t,e){if(null==(t=_t(t,e)))throw Error("Invalid region code: "+e);return x(t,10)}function $t(t,e,n,i){var r=mt(n,i),o=0==b(r,9)?_(v(n,1),9):_(r,9);if(r=_(r,10),2==i){if(!dt(mt(n,0)))return $t(t,e,n,1);dt(t=mt(n,1))&&((o=o.concat(0==b(t,9)?_(v(n,1),9):_(t,9))).sort(),0==r.length?r=_(t,10):(r=r.concat(_(t,10))).sort())}return-1==o[0]?5:(e=e.length,-1<r.indexOf(e)?4:(n=o[0])==e?0:n>e?2:o[o.length-1]<e?3:-1<o.indexOf(e,1)?0:5)}function Ct(t,e,n){var i=gt(e);return(e=x(e,1))in F?$t(t,i,e=ft(t,e,St(e)),n):1}function It(t,e){if(0==(t=t.toString()).length||"0"==t.charAt(0))return 0;for(var n,i=t.length,r=1;3>=r&&r<=i;++r)if((n=parseInt(t.substring(0,r),10))in F)return e.g(t.substring(r)),n;return 0}function Tt(t,e,n,i,r,o){if(0==e.length)return 0;var a;e=new A(e),null!=n&&(a=v(n,11)),null==a&&(a="NonMatch");var s=e.toString();if(0==s.length)a=20;else if(Y.test(s))s=s.replace(Y,""),D(e),e.g(lt(s)),a=1;else{if(s=new RegExp(a),ut(e),0==(a=e.toString()).search(s)){s=a.match(s)[0].length;var l=a.substring(s).match(X);l&&null!=l[1]&&0<l[1].length&&"0"==ct(l[1],W)?a=!1:(D(e),e.g(a.substring(s)),a=!0)}else a=!1;a=a?5:20}if(r&&w(o,6,a),20!=a){if(2>=e.h.length)throw Error("Phone number too short after IDD");if(0!=(t=It(e,i)))return w(o,1,t),t;throw Error("Invalid country calling code")}return null!=n&&(s=""+(a=x(n,10)),0==(l=e.toString()).lastIndexOf(s,0)&&(s=new A(l.substring(s.length)),l=v(n,1),l=new RegExp(x(l,2)),At(s,n,null),s=s.toString(),!Lt(l,e.toString())&&Lt(l,s)||3==$t(t,e.toString(),n,-1)))?(i.g(s),r&&w(o,6,10),w(o,1,a),a):(w(o,1,0),0)}function At(t,e,n){var i=t.toString(),r=i.length,o=v(e,15);if(0!=r&&null!=o&&0!=o.length){var a=new RegExp("^(?:"+o+")");if(r=a.exec(i)){var s=Lt(o=new RegExp(x(v(e,1),2)),i),l=r.length-1;null==(e=v(e,16))||0==e.length||null==r[l]||0==r[l].length?s&&!Lt(o,i.substring(r[0].length))||(null!=n&&0<l&&null!=r[l]&&n.g(r[1]),t.set(i.substring(r[0].length))):(i=i.replace(a,e),(!s||Lt(o,i))&&(null!=n&&0<l&&n.g(r[1]),t.set(i)))}}}function Dt(t,e,n){if(!pt(n)&&0<e.length&&"+"!=e.charAt(0))throw Error("Invalid country calling code");return kt(t,e,n,!0)}function kt(t,e,n,i){if(null==e)throw Error("The string supplied did not seem to be a phone number");if(250<e.length)throw Error("The string supplied is too long to be a phone number");var r=new A,o=e.indexOf(";phone-context=");if(-1===o)o=null;else if((o+=15)>=e.length)o="";else{var a=e.indexOf(";",o);o=-1!==a?e.substring(o,a):e.substring(o)}var s=o;if(null==s?a=!0:0===s.length?a=!1:(a=Q.exec(s),s=tt.exec(s),a=null!==a||null!==s),!a)throw Error("The string supplied did not seem to be a phone number");if(null!=o?("+"===o.charAt(0)&&r.g(o),o=e.indexOf("tel:"),r.g(e.substring(0<=o?o+4:0,e.indexOf(";phone-context=")))):(o=r.g,0<=(s=(a=e??"").search(Z))?0<=(s=(a=(a=a.substring(s)).replace(K,"")).search(q))&&(a=a.substring(0,s)):a="",o.call(r,a)),0<(a=(o=r.toString()).indexOf(";isub="))&&(D(r),r.g(o.substring(0,a))),!st(r.toString()))throw Error("The string supplied did not seem to be a phone number");if(o=r.toString(),!(pt(n)||null!=o&&0<o.length&&Y.test(o)))throw Error("Invalid country calling code");o=new R,i&&w(o,5,e);t:{if(0<=(a=(e=r.toString()).search(it))&&st(e.substring(0,a)))for(var l=(s=e.match(it)).length,u=1;u<l;++u)if(null!=s[u]&&0<s[u].length){D(r),r.g(e.substring(0,a)),e=s[u];break t}e=""}0<e.length&&w(o,3,e),a=_t(t,n),e=new A,s=0,l=r.toString();try{s=Tt(t,l,a,e,i,o)}catch(d){if("Invalid country calling code"!=d.message||!Y.test(l))throw d;if(0==(s=Tt(t,l=l.replace(Y,""),a,e,i,o)))throw d}if(0!=s?(r=St(s))!=n&&(a=ft(t,s,r)):(ut(r),e.g(r.toString()),null!=n?w(o,1,s=x(a,10)):i&&(delete o.h[6],o.g&&delete o.g[6])),2>e.h.length)throw Error("The string supplied is too short to be a phone number");if(null!=a&&(n=new A,At(r=new A(e.toString()),a,n),2!=(t=$t(t,r.toString(),a,-1))&&4!=t&&5!=t&&(e=r,i&&0<n.toString().length&&w(o,7,n.toString()))),2>(t=(i=e.toString()).length))throw Error("The string supplied is too short to be a phone number");if(17<t)throw Error("The string supplied is too long to be a phone number");if(1<i.length&&"0"==i.charAt(0)){for(w(o,4,!0),t=1;t<i.length-1&&"0"==i.charAt(t);)t++;1!=t&&w(o,8,t)}return w(o,2,parseInt(i,10)),o}function Lt(t,e){return!(!(t=e.match(new RegExp("^(?:"+("string"==typeof t?t:t.source)+")$","i")))||t[0].length!=e.length)}function Ot(t){this.fa=RegExp(""),this.ja="",this.v=new A,this.da="",this.s=new A,this.ba=new A,this.u=!0,this.ea=this.ca=this.la=!1,this.ga=G.g(),this.$=0,this.h=new A,this.ha=!1,this.o="",this.g=new A,this.j=[],this.ka=t,this.l=Rt(this,this.ka)}G.prototype.format=function(t,e){if(0==v(t,2)&&y(t,5)){var n=x(t,5);if(0<n.length)return n}n=x(t,1);var i=gt(t);if(0==e)return yt(n,0,i,"");if(!(n in F))return i;var r=ft(this,n,St(n));t=y(t,3)&&0!=v(t,3).length?3==e?";ext="+v(t,3):y(r,13)?v(r,13)+x(t,3):" ext. "+x(t,3):"";t:{for(var o,a=(r=0==_(r,20).length||2==e?_(r,19):_(r,20)).length,s=0;s<a;++s){var l=b(o=r[s],3);if((0==l||0==i.search(v(o,3,l-1)))&&Lt(l=new RegExp(v(o,1)),i)){r=o;break t}}r=null}return null!=r&&(r=x(a=r,2),o=new RegExp(v(a,1)),x(a,5),a=x(a,4),i=2==e&&null!=a&&0<a.length?i.replace(o,r.replace(ot,a)):i.replace(o,r),3==e&&(i=(i=i.replace(RegExp("^[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~]+"),"")).replace(RegExp("[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~]+","g"),"-"))),yt(n,e,i,t)};var Et=new P;w(Et,11,"NA");var Pt=RegExp("^[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~]*\\$1[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x-―−ー--  ­ ()()[].\\[\\]/~⁓∼~]*)*$"),Nt=/[- ]/;function Rt(t,e){var n=t.ga;return e=pt(e)?Mt(n,e):0,null!=(t=_t(t.ga,St(e)))?t:Et}function Bt(t){for(var e=t.j.length,n=0;n<e;++n){var i=t.j[n],r=x(i,1);if(t.da==r)return!1;var o=t,a=i,s=x(a,1);D(o.v);var l=o;a=x(a,2);var u="999999999999999".match(s)[0];if(u.length<l.g.h.length?l="":l=(l=u.replace(new RegExp(s,"g"),a)).replace(RegExp("9","g"),""),0<l.length?(o.v.g(l),o=!0):o=!1,o)return t.da=r,t.ha=Nt.test(v(i,4)),t.$=0,!0}return t.u=!1}function zt(t,e){for(var n=[],i=e.length-3,r=t.j.length,o=0;o<r;++o){var a=t.j[o];0==b(a,3)?n.push(t.j[o]):(a=v(a,3,Math.min(i,b(a,3)-1)),0==e.search(a)&&n.push(t.j[o]))}t.j=n}function Ft(t,e){t.s.g(e);var n=e;if(X.test(n)||1==t.s.h.length&&U.test(n)?("+"==e?(n=e,t.ba.g(e)):(n=W[e],t.ba.g(n),t.g.g(n)),e=n):(t.u=!1,t.la=!0),!t.u){if(!t.la)if(Yt(t)){if(Xt(t))return Vt(t)}else if(0<t.o.length&&(e=t.g.toString(),D(t.g),t.g.g(t.o),t.g.g(e),n=(e=t.h.toString()).lastIndexOf(t.o),D(t.h),t.h.g(e.substring(0,n))),t.o!=Ut(t))return t.h.g(" "),Vt(t);return t.s.toString()}switch(t.ba.h.length){case 0:case 1:case 2:return t.s.toString();case 3:if(!Yt(t))return t.o=Ut(t),Ht(t);t.ea=!0;default:return t.ea?(Xt(t)&&(t.ea=!1),t.h.toString()+t.g.toString()):0<t.j.length?(e=Zt(t,e),0<(n=Gt(t)).length?n:(zt(t,t.g.toString()),Bt(t)?jt(t):t.u?Wt(t,e):t.s.toString())):Ht(t)}}function Vt(t){return t.u=!0,t.ea=!1,t.j=[],t.$=0,D(t.v),t.da="",Ht(t)}function Gt(t){for(var e=t.g.toString(),n=t.j.length,i=0;i<n;++i){var r=t.j[i],o=x(r,1);if(new RegExp("^(?:"+o+")$").test(e)&&(t.ha=Nt.test(v(r,4)),ct(r=Wt(t,r=e.replace(new RegExp(o,"g"),v(r,2))),H)==t.ba))return r}return""}function Wt(t,e){var n=t.h.h.length;return t.ha&&0<n&&" "!=t.h.toString().charAt(n-1)?t.h+" "+e:t.h+e}function Ht(t){var e=t.g.toString();if(3<=e.length){for(var n=t.ca&&0==t.o.length&&0<b(t.l,20)?_(t.l,20):_(t.l,19),i=n.length,r=0;r<i;++r){var o=n[r];0<t.o.length&&ht(x(o,4))&&!v(o,6)&&!y(o,5)||(0!=t.o.length||t.ca||ht(x(o,4))||v(o,6))&&Pt.test(x(o,2))&&t.j.push(o)}return zt(t,e),0<(e=Gt(t)).length?e:Bt(t)?jt(t):t.s.toString()}return Wt(t,e)}function jt(t){var e=t.g.toString(),n=e.length;if(0<n){for(var i="",r=0;r<n;r++)i=Zt(t,e.charAt(r));return t.u?Wt(t,i):t.s.toString()}return t.h.toString()}function Ut(t){var e=t.g.toString(),n=0;if(1!=v(t.l,10))var i=!1;else i="1"==(i=t.g.toString()).charAt(0)&&"0"!=i.charAt(1)&&"1"!=i.charAt(1);return i?(n=1,t.h.g("1").g(" "),t.ca=!0):y(t.l,15)&&(i=new RegExp("^(?:"+v(t.l,15)+")"),null!=(i=e.match(i))&&null!=i[0]&&0<i[0].length&&(t.ca=!0,n=i[0].length,t.h.g(e.substring(0,n)))),D(t.g),t.g.g(e.substring(n)),e.substring(0,n)}function Yt(t){var e=t.ba.toString(),n=new RegExp("^(?:\\+|"+v(t.l,11)+")");return null!=(n=e.match(n))&&null!=n[0]&&0<n[0].length&&(t.ca=!0,n=n[0].length,D(t.g),t.g.g(e.substring(n)),D(t.h),t.h.g(e.substring(0,n)),"+"!=e.charAt(0)&&t.h.g(" "),!0)}function Xt(t){if(0==t.g.h.length)return!1;var e=new A,n=It(t.g,e);return 0!=n&&(D(t.g),t.g.g(e.toString()),"001"==(e=St(n))?t.l=_t(t.ga,""+n):e!=t.ka&&(t.l=Rt(t,e)),t.h.g(""+n).g(" "),t.o="",!0)}function Zt(t,e){var n=t.v.toString();if(0<=n.substring(t.$).search(t.fa)){var i=n.search(t.fa);return e=n.replace(t.fa,e),D(t.v),t.v.g(e),t.$=i,e.substring(0,t.$+1)}return 1==t.j.length&&(t.u=!1),t.da="",t.s.toString()}const qt=t=>{const e=[];return t.includes("FIXED_LINE_OR_MOBILE")?(t.includes("MOBILE")||e.push("MOBILE"),t.includes("FIXED_LINE")||e.push("FIXED_LINE")):(t.includes("MOBILE")||t.includes("FIXED_LINE"))&&e.push("FIXED_LINE_OR_MOBILE"),t.concat(e)},Kt={FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1};e("intlTelInputUtilsTemp",{}),e("intlTelInputUtilsTemp.formatNumberAsYouType",(t,e)=>{try{const n=t.replace(/[^+0-9]/g,""),i=new Ot(e);e="";for(let t=0;t<n.length;t++)i.ja=Ft(i,n.charAt(t)),e=i.ja;return e}catch{return t}}),e("intlTelInputUtilsTemp.formatNumber",(t,e,n)=>{try{const r=G.g(),o=Dt(r,t,e);var i=Ct(r,o,-1);return 0==i||4==i?r.format(o,void 0===n?0:n):t}catch{return t}}),e("intlTelInputUtilsTemp.getExampleNumber",(t,e,n,i)=>{try{const l=G.g();t:{var r=l;if(pt(t)){var o=mt(_t(r,t),n);try{if(y(o,6)){var a=kt(r,v(o,6),t,!1);break t}}catch(s){}}a=null}return l.format(a,i?0:e?2:1)}catch{return""}}),e("intlTelInputUtilsTemp.getExtension",(t,e)=>{try{return v(Dt(G.g(),t,e),3)}catch{return""}}),e("intlTelInputUtilsTemp.getNumberType",(t,e)=>{try{const n=G.g();return vt(n,Dt(n,t,e))}catch{return-99}}),e("intlTelInputUtilsTemp.getValidationError",(t,e)=>{if(!e)return 1;try{const n=G.g();return Ct(n,Dt(n,t,e),-1)}catch(n){return"Invalid country calling code"===n.message?1:3>=t.length||"Phone number too short after IDD"===n.message||"The string supplied is too short to be a phone number"===n.message?2:"The string supplied is too long to be a phone number"===n.message?3:-99}}),e("intlTelInputUtilsTemp.isValidNumber",(t,e,n)=>{try{const i=G.g(),r=Dt(i,t,e),o=function(t,e){var n=wt(t,e),i=x(e,1),r=ft(t,i,n);return r=null!=r&&("001"==n||i==Mt(t,n))&&-1!=xt(t=gt(e),r),r}(i,r);if(n){const t=qt(n).map(t=>Kt[t]);return o&&t.includes(vt(i,r))}return o}catch{return!1}}),e("intlTelInputUtilsTemp.isPossibleNumber",(t,e,n)=>{try{const i=G.g(),r=Dt(i,t,e);if(n){const t=qt(n);for(let e of t)if(0===Ct(i,r,Kt[e]))return!0;return!1}return 0===Ct(i,r,-1)}catch{return!1}}),e("intlTelInputUtilsTemp.getCoreNumber",(t,e)=>{try{return v(Dt(G.g(),t,e),2).toString()}catch{return""}}),e("intlTelInputUtilsTemp.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),e("intlTelInputUtilsTemp.numberType",Kt),e("intlTelInputUtilsTemp.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})}();const mft="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:void 0,vft=mft.intlTelInputUtilsTemp;delete mft.intlTelInputUtilsTemp;const xft=Object.freeze(Object.defineProperty({__proto__:null,default:vft},Symbol.toStringTag,{value:"Module"}));export{Y as $,b as A,Fr as B,nx as C,Jy as D,Ky as E,_l as F,ss as G,yd as H,od as I,id as J,Hs as K,tc as L,fa as M,u as N,_m as O,ja as P,vr as Q,Dr as R,Pn as S,Lm as T,hl as U,pl as V,ud as W,fd as X,gd as Y,_d as Z,zl as _,xr as a,Ah as a$,J as a0,Is as a1,Rm as a2,Dd as a3,Yl as a4,rs as a5,os as a6,Ol as a7,Cd as a8,Md as a9,hm as aA,fm as aB,fb as aC,_ as aD,vb as aE,Gb as aF,ya as aG,or as aH,Er as aI,Hb as aJ,oa as aK,am as aL,B as aM,$m as aN,T as aO,cr as aP,kl as aQ,El as aR,Ub as aS,Q as aT,wd as aU,Lr as aV,gn as aW,qb as aX,rm as aY,Ih as aZ,Ir as a_,ut as aa,bd as ab,Nc as ac,_c as ad,Sd as ae,rd as af,xm as ag,Zm as ah,$l as ai,Ma as aj,Nn as ak,qo as al,ba as am,Di as an,Sl as ao,pm as ap,yh as aq,X_ as ar,br as as,wm as at,Jo as au,aa as av,Xl as aw,zh as ax,Bl as ay,Rl as az,m as b,UM as b$,wl as b0,gr as b1,Vh as b2,Ch as b3,$ as b4,Am as b5,Vl as b6,cm as b7,In as b8,Jb as b9,Ko as bA,$d as bB,JC as bC,iC as bD,yT as bE,tM as bF,YS as bG,_S as bH,qT as bI,JT as bJ,XT as bK,tA as bL,nA as bM,PT as bN,RT as bO,BT as bP,AT as bQ,DT as bR,gM as bS,yM as bT,pM as bU,fM as bV,sl as bW,Uut as bX,Pct as bY,Pht as bZ,Wht as b_,nw as ba,rw as bb,aw as bc,lw as bd,dw as be,ym as bf,Br as bg,Em as bh,_r as bi,Sr as bj,Yh as bk,pr as bl,Om as bm,Dm as bn,Nm as bo,Pm as bp,y_ as bq,w_ as br,v_ as bs,__ as bt,x_ as bu,b_ as bv,m_ as bw,Cm as bx,Xh as by,N as bz,M as c,P$ as c0,Rht as c1,wut as c2,Eh as c3,FY as c4,opt as c5,ypt as c6,yft as c7,qY as c8,xft as c9,Qd as d,Nd as e,yr as f,wn as g,y as h,w as i,ca as j,fs as k,ga as l,mT as m,em as n,R as o,E as p,bl as q,da as r,kr as s,hs as t,km as u,Ml as v,ic as w,Rn as x,ls as y,ua as z};