@opengis/bi
Version:
BI data visualization module
19 lines (17 loc) • 2.25 MB
JavaScript
(function(P,Tn){typeof exports=="object"&&typeof module<"u"?module.exports=Tn(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Tn):(P=typeof globalThis<"u"?globalThis:P||self,P.bi=Tn(P.Vue))})(this,function(P){"use strict";var B_e=Object.defineProperty;var V_e=(P,Tn,es)=>Tn in P?B_e(P,Tn,{enumerable:!0,configurable:!0,writable:!0,value:es}):P[Tn]=es;var _n=(P,Tn,es)=>V_e(P,typeof Tn!="symbol"?Tn+"":Tn,es);function Tn(r,e){return r!=null&&r.value?isNaN(r==null?void 0:r.value)?r==null?void 0:r.value:new Intl.NumberFormat("en",e||{notation:"compact"}).format(r==null?void 0:r.value):isNaN(r)?r:new Intl.NumberFormat("en",e||{notation:"compact"}).format(r)}function es(r){if(!(r!=null&&r.includes("T")))return r;const[e,t,n]=r.split("T")[0].split("-");return`${n}.${t}.${e}`}function xG(r){return Intl.NumberFormat("en").format(r)}function _D(r,e){return function(){return r.apply(e,arguments)}}const{toString:wG}=Object.prototype,{getPrototypeOf:ex}=Object,pm=(r=>e=>{const t=wG.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),ko=r=>(r=r.toLowerCase(),e=>pm(e)===r),gm=r=>e=>typeof e===r,{isArray:Oh}=Array,Xf=gm("undefined");function SG(r){return r!==null&&!Xf(r)&&r.constructor!==null&&!Xf(r.constructor)&&Ka(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const bD=ko("ArrayBuffer");function TG(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&bD(r.buffer),e}const EG=gm("string"),Ka=gm("function"),xD=gm("number"),vm=r=>r!==null&&typeof r=="object",CG=r=>r===!0||r===!1,mm=r=>{if(pm(r)!=="object")return!1;const e=ex(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},AG=ko("Date"),DG=ko("File"),MG=ko("Blob"),IG=ko("FileList"),kG=r=>vm(r)&&Ka(r.pipe),LG=r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||Ka(r.append)&&((e=pm(r))==="formdata"||e==="object"&&Ka(r.toString)&&r.toString()==="[object FormData]"))},PG=ko("URLSearchParams"),[RG,NG,OG,zG]=["ReadableStream","Request","Response","Headers"].map(ko),BG=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yf(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let n,i;if(typeof r!="object"&&(r=[r]),Oh(r))for(n=0,i=r.length;n<i;n++)e.call(null,r[n],n,r);else{const a=t?Object.getOwnPropertyNames(r):Object.keys(r),o=a.length;let s;for(n=0;n<o;n++)s=a[n],e.call(null,r[s],s,r)}}function wD(r,e){e=e.toLowerCase();const t=Object.keys(r);let n=t.length,i;for(;n-- >0;)if(i=t[n],e===i.toLowerCase())return i;return null}const SD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,TD=r=>!Xf(r)&&r!==SD;function tx(){const{caseless:r}=TD(this)&&this||{},e={},t=(n,i)=>{const a=r&&wD(e,i)||i;mm(e[a])&&mm(n)?e[a]=tx(e[a],n):mm(n)?e[a]=tx({},n):Oh(n)?e[a]=n.slice():e[a]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&Yf(arguments[n],t);return e}const VG=(r,e,t,{allOwnKeys:n}={})=>(Yf(e,(i,a)=>{t&&Ka(i)?r[a]=_D(i,t):r[a]=i},{allOwnKeys:n}),r),FG=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),$G=(r,e,t,n)=>{r.prototype=Object.create(e.prototype,n),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},GG=(r,e,t,n)=>{let i,a,o;const s={};if(e=e||{},r==null)return e;do{for(i=Object.getOwnPropertyNames(r),a=i.length;a-- >0;)o=i[a],(!n||n(o,r,e))&&!s[o]&&(e[o]=r[o],s[o]=!0);r=t!==!1&&ex(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},UG=(r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;const n=r.indexOf(e,t);return n!==-1&&n===t},HG=r=>{if(!r)return null;if(Oh(r))return r;let e=r.length;if(!xD(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},WG=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&ex(Uint8Array)),qG=(r,e)=>{const n=(r&&r[Symbol.iterator]).call(r);let i;for(;(i=n.next())&&!i.done;){const a=i.value;e.call(r,a[0],a[1])}},ZG=(r,e)=>{let t;const n=[];for(;(t=r.exec(e))!==null;)n.push(t);return n},jG=ko("HTMLFormElement"),XG=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,i){return n.toUpperCase()+i}),ED=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),YG=ko("RegExp"),CD=(r,e)=>{const t=Object.getOwnPropertyDescriptors(r),n={};Yf(t,(i,a)=>{let o;(o=e(i,a,r))!==!1&&(n[a]=o||i)}),Object.defineProperties(r,n)},KG=r=>{CD(r,(e,t)=>{if(Ka(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=r[t];if(Ka(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},JG=(r,e)=>{const t={},n=i=>{i.forEach(a=>{t[a]=!0})};return Oh(r)?n(r):n(String(r).split(e)),t},QG=()=>{},eU=(r,e)=>r!=null&&Number.isFinite(r=+r)?r:e,rx="abcdefghijklmnopqrstuvwxyz",AD="0123456789",DD={DIGIT:AD,ALPHA:rx,ALPHA_DIGIT:rx+rx.toUpperCase()+AD},tU=(r=16,e=DD.ALPHA_DIGIT)=>{let t="";const{length:n}=e;for(;r--;)t+=e[Math.random()*n|0];return t};function rU(r){return!!(r&&Ka(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}const nU=r=>{const e=new Array(10),t=(n,i)=>{if(vm(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[i]=n;const a=Oh(n)?[]:{};return Yf(n,(o,s)=>{const l=t(o,i+1);!Xf(l)&&(a[s]=l)}),e[i]=void 0,a}}return n};return t(r,0)},iU=ko("AsyncFunction"),je={isArray:Oh,isArrayBuffer:bD,isBuffer:SG,isFormData:LG,isArrayBufferView:TG,isString:EG,isNumber:xD,isBoolean:CG,isObject:vm,isPlainObject:mm,isReadableStream:RG,isRequest:NG,isResponse:OG,isHeaders:zG,isUndefined:Xf,isDate:AG,isFile:DG,isBlob:MG,isRegExp:YG,isFunction:Ka,isStream:kG,isURLSearchParams:PG,isTypedArray:WG,isFileList:IG,forEach:Yf,merge:tx,extend:VG,trim:BG,stripBOM:FG,inherits:$G,toFlatObject:GG,kindOf:pm,kindOfTest:ko,endsWith:UG,toArray:HG,forEachEntry:qG,matchAll:ZG,isHTMLForm:jG,hasOwnProperty:ED,hasOwnProp:ED,reduceDescriptors:CD,freezeMethods:KG,toObjectSet:JG,toCamelCase:XG,noop:QG,toFiniteNumber:eU,findKey:wD,global:SD,isContextDefined:TD,ALPHABET:DD,generateString:tU,isSpecCompliantForm:rU,toJSONObject:nU,isAsyncFn:iU,isThenable:r=>r&&(vm(r)||Ka(r))&&Ka(r.then)&&Ka(r.catch)};function Sr(r,e,t,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),i&&(this.response=i)}je.inherits(Sr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:je.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const MD=Sr.prototype,ID={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{ID[r]={value:r}}),Object.defineProperties(Sr,ID),Object.defineProperty(MD,"isAxiosError",{value:!0}),Sr.from=(r,e,t,n,i,a)=>{const o=Object.create(MD);return je.toFlatObject(r,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Sr.call(o,r.message,e,t,n,i),o.cause=r,o.name=r.name,a&&Object.assign(o,a),o};const aU=null;function nx(r){return je.isPlainObject(r)||je.isArray(r)}function kD(r){return je.endsWith(r,"[]")?r.slice(0,-2):r}function LD(r,e,t){return r?r.concat(e).map(function(i,a){return i=kD(i),!t&&a?"["+i+"]":i}).join(t?".":""):e}function oU(r){return je.isArray(r)&&!r.some(nx)}const sU=je.toFlatObject(je,{},null,function(e){return/^is[A-Z]/.test(e)});function ym(r,e,t){if(!je.isObject(r))throw new TypeError("target must be an object");e=e||new FormData,t=je.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,w){return!je.isUndefined(w[x])});const n=t.metaTokens,i=t.visitor||d,a=t.dots,o=t.indexes,l=(t.Blob||typeof Blob<"u"&&Blob)&&je.isSpecCompliantForm(e);if(!je.isFunction(i))throw new TypeError("visitor must be a function");function u(_){if(_===null)return"";if(je.isDate(_))return _.toISOString();if(!l&&je.isBlob(_))throw new Sr("Blob is not supported. Use a Buffer instead.");return je.isArrayBuffer(_)||je.isTypedArray(_)?l&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function d(_,x,w){let C=_;if(_&&!w&&typeof _=="object"){if(je.endsWith(x,"{}"))x=n?x:x.slice(0,-2),_=JSON.stringify(_);else if(je.isArray(_)&&oU(_)||(je.isFileList(_)||je.endsWith(x,"[]"))&&(C=je.toArray(_)))return x=kD(x),C.forEach(function(L,O){!(je.isUndefined(L)||L===null)&&e.append(o===!0?LD([x],O,a):o===null?x:x+"[]",u(L))}),!1}return nx(_)?!0:(e.append(LD(w,x,a),u(_)),!1)}const f=[],g=Object.assign(sU,{defaultVisitor:d,convertValue:u,isVisitable:nx});function m(_,x){if(!je.isUndefined(_)){if(f.indexOf(_)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(_),je.forEach(_,function(C,M){(!(je.isUndefined(C)||C===null)&&i.call(e,C,je.isString(M)?M.trim():M,x,g))===!0&&m(C,x?x.concat(M):[M])}),f.pop()}}if(!je.isObject(r))throw new TypeError("data must be an object");return m(r),e}function PD(r){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function ix(r,e){this._pairs=[],r&&ym(r,this,e)}const RD=ix.prototype;RD.append=function(e,t){this._pairs.push([e,t])},RD.toString=function(e){const t=e?function(n){return e.call(this,n,PD)}:PD;return this._pairs.map(function(i){return t(i[0])+"="+t(i[1])},"").join("&")};function lU(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ND(r,e,t){if(!e)return r;const n=t&&t.encode||lU,i=t&&t.serialize;let a;if(i?a=i(e,t):a=je.isURLSearchParams(e)?e.toString():new ix(e,t).toString(n),a){const o=r.indexOf("#");o!==-1&&(r=r.slice(0,o)),r+=(r.indexOf("?")===-1?"?":"&")+a}return r}class OD{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){je.forEach(this.handlers,function(n){n!==null&&e(n)})}}const zD={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uU={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ix,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ax=typeof window<"u"&&typeof document<"u",cU=(r=>ax&&["ReactNative","NativeScript","NS"].indexOf(r)<0)(typeof navigator<"u"&&navigator.product),hU=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",dU=ax&&window.location.href||"http://localhost",Lo={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ax,hasStandardBrowserEnv:cU,hasStandardBrowserWebWorkerEnv:hU,origin:dU},Symbol.toStringTag,{value:"Module"})),...uU};function fU(r,e){return ym(r,new Lo.classes.URLSearchParams,Object.assign({visitor:function(t,n,i,a){return Lo.isNode&&je.isBuffer(t)?(this.append(n,t.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},e))}function pU(r){return je.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}function gU(r){const e={},t=Object.keys(r);let n;const i=t.length;let a;for(n=0;n<i;n++)a=t[n],e[a]=r[a];return e}function BD(r){function e(t,n,i,a){let o=t[a++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=a>=t.length;return o=!o&&je.isArray(i)?i.length:o,l?(je.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s):((!i[o]||!je.isObject(i[o]))&&(i[o]=[]),e(t,n,i[o],a)&&je.isArray(i[o])&&(i[o]=gU(i[o])),!s)}if(je.isFormData(r)&&je.isFunction(r.entries)){const t={};return je.forEachEntry(r,(n,i)=>{e(pU(n),i,t,0)}),t}return null}function vU(r,e,t){if(je.isString(r))try{return(e||JSON.parse)(r),je.trim(r)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(r)}const Kf={transitional:zD,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=je.isObject(e);if(a&&je.isHTMLForm(e)&&(e=new FormData(e)),je.isFormData(e))return i?JSON.stringify(BD(e)):e;if(je.isArrayBuffer(e)||je.isBuffer(e)||je.isStream(e)||je.isFile(e)||je.isBlob(e)||je.isReadableStream(e))return e;if(je.isArrayBufferView(e))return e.buffer;if(je.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return fU(e,this.formSerializer).toString();if((s=je.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ym(s?{"files[]":e}:e,l&&new l,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),vU(e)):e}],transformResponse:[function(e){const t=this.transitional||Kf.transitional,n=t&&t.forcedJSONParsing,i=this.responseType==="json";if(je.isResponse(e)||je.isReadableStream(e))return e;if(e&&je.isString(e)&&(n&&!this.responseType||i)){const o=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(s){if(o)throw s.name==="SyntaxError"?Sr.from(s,Sr.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Lo.classes.FormData,Blob:Lo.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};je.forEach(["delete","get","head","post","put","patch"],r=>{Kf.headers[r]={}});const mU=je.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yU=r=>{const e={};let t,n,i;return r&&r.split(`
`).forEach(function(o){i=o.indexOf(":"),t=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!t||e[t]&&mU[t])&&(t==="set-cookie"?e[t]?e[t].push(n):e[t]=[n]:e[t]=e[t]?e[t]+", "+n:n)}),e},VD=Symbol("internals");function Jf(r){return r&&String(r).trim().toLowerCase()}function _m(r){return r===!1||r==null?r:je.isArray(r)?r.map(_m):String(r)}function _U(r){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=t.exec(r);)e[n[1]]=n[2];return e}const bU=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function ox(r,e,t,n,i){if(je.isFunction(n))return n.call(this,e,t);if(i&&(e=t),!!je.isString(e)){if(je.isString(n))return e.indexOf(n)!==-1;if(je.isRegExp(n))return n.test(e)}}function xU(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function wU(r,e){const t=je.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(r,n+t,{value:function(i,a,o){return this[n].call(this,e,i,a,o)},configurable:!0})})}let ga=class{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function a(s,l,u){const d=Jf(l);if(!d)throw new Error("header name must be a non-empty string");const f=je.findKey(i,d);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=_m(s))}const o=(s,l)=>je.forEach(s,(u,d)=>a(u,d,l));if(je.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(je.isString(e)&&(e=e.trim())&&!bU(e))o(yU(e),t);else if(je.isHeaders(e))for(const[s,l]of e.entries())a(l,s,n);else e!=null&&a(t,e,n);return this}get(e,t){if(e=Jf(e),e){const n=je.findKey(this,e);if(n){const i=this[n];if(!t)return i;if(t===!0)return _U(i);if(je.isFunction(t))return t.call(this,i,n);if(je.isRegExp(t))return t.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jf(e),e){const n=je.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||ox(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let i=!1;function a(o){if(o=Jf(o),o){const s=je.findKey(n,o);s&&(!t||ox(n,n[s],s,t))&&(delete n[s],i=!0)}}return je.isArray(e)?e.forEach(a):a(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const a=t[n];(!e||ox(this,this[a],a,e,!0))&&(delete this[a],i=!0)}return i}normalize(e){const t=this,n={};return je.forEach(this,(i,a)=>{const o=je.findKey(n,a);if(o){t[o]=_m(i),delete t[a];return}const s=e?xU(a):String(a).trim();s!==a&&delete t[a],t[s]=_m(i),n[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return je.forEach(this,(n,i)=>{n!=null&&n!==!1&&(t[i]=e&&je.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[VD]=this[VD]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=Jf(o);n[s]||(wU(i,o),n[s]=!0)}return je.isArray(e)?e.forEach(a):a(e),this}};ga.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),je.reduceDescriptors(ga.prototype,({value:r},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(n){this[t]=n}}}),je.freezeMethods(ga);function sx(r,e){const t=this||Kf,n=e||t,i=ga.from(n.headers);let a=n.data;return je.forEach(r,function(s){a=s.call(t,a,i.normalize(),e?e.status:void 0)}),i.normalize(),a}function FD(r){return!!(r&&r.__CANCEL__)}function zh(r,e,t){Sr.call(this,r??"canceled",Sr.ERR_CANCELED,e,t),this.name="CanceledError"}je.inherits(zh,Sr,{__CANCEL__:!0});function $D(r,e,t){const n=t.config.validateStatus;!t.status||!n||n(t.status)?r(t):e(new Sr("Request failed with status code "+t.status,[Sr.ERR_BAD_REQUEST,Sr.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function SU(r){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return e&&e[1]||""}function TU(r,e){r=r||10;const t=new Array(r),n=new Array(r);let i=0,a=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),d=n[a];o||(o=u),t[i]=l,n[i]=u;let f=a,g=0;for(;f!==i;)g+=t[f++],f=f%r;if(i=(i+1)%r,i===a&&(a=(a+1)%r),u-o<e)return;const m=d&&u-d;return m?Math.round(g*1e3/m):void 0}}function EU(r,e){let t=0;const n=1e3/e;let i=null;return function(){const o=this===!0,s=Date.now();if(o||s-t>n)return i&&(clearTimeout(i),i=null),t=s,r.apply(null,arguments);i||(i=setTimeout(()=>(i=null,t=Date.now(),r.apply(null,arguments)),n-(s-t)))}}const bm=(r,e,t=3)=>{let n=0;const i=TU(50,250);return EU(a=>{const o=a.loaded,s=a.lengthComputable?a.total:void 0,l=o-n,u=i(l),d=o<=s;n=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-o)/u:void 0,event:a,lengthComputable:s!=null};f[e?"download":"upload"]=!0,r(f)},t)},CU=Lo.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function i(a){let o=a;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=i(window.location.href),function(o){const s=je.isString(o)?i(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),AU=Lo.hasStandardBrowserEnv?{write(r,e,t,n,i,a){const o=[r+"="+encodeURIComponent(e)];je.isNumber(t)&&o.push("expires="+new Date(t).toGMTString()),je.isString(n)&&o.push("path="+n),je.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(r){const e=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function DU(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function MU(r,e){return e?r.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):r}function GD(r,e){return r&&!DU(e)?MU(r,e):e}const UD=r=>r instanceof ga?{...r}:r;function $u(r,e){e=e||{};const t={};function n(u,d,f){return je.isPlainObject(u)&&je.isPlainObject(d)?je.merge.call({caseless:f},u,d):je.isPlainObject(d)?je.merge({},d):je.isArray(d)?d.slice():d}function i(u,d,f){if(je.isUndefined(d)){if(!je.isUndefined(u))return n(void 0,u,f)}else return n(u,d,f)}function a(u,d){if(!je.isUndefined(d))return n(void 0,d)}function o(u,d){if(je.isUndefined(d)){if(!je.isUndefined(u))return n(void 0,u)}else return n(void 0,d)}function s(u,d,f){if(f in e)return n(u,d);if(f in r)return n(void 0,u)}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,d)=>i(UD(u),UD(d),!0)};return je.forEach(Object.keys(Object.assign({},r,e)),function(d){const f=l[d]||i,g=f(r[d],e[d],d);je.isUndefined(g)&&f!==s||(t[d]=g)}),t}const HD=r=>{const e=$u({},r);let{data:t,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=e;e.headers=o=ga.from(o),e.url=ND(GD(e.baseURL,e.url),r.params,r.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(je.isFormData(t)){if(Lo.hasStandardBrowserEnv||Lo.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...d]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...d].join("; "))}}if(Lo.hasStandardBrowserEnv&&(n&&je.isFunction(n)&&(n=n(e)),n||n!==!1&&CU(e.url))){const u=i&&a&&AU.read(a);u&&o.set(i,u)}return e},IU=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(t,n){const i=HD(r);let a=i.data;const o=ga.from(i.headers).normalize();let{responseType:s}=i,l;function u(){i.cancelToken&&i.cancelToken.unsubscribe(l),i.signal&&i.signal.removeEventListener("abort",l)}let d=new XMLHttpRequest;d.open(i.method.toUpperCase(),i.url,!0),d.timeout=i.timeout;function f(){if(!d)return;const m=ga.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),x={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:r,request:d};$D(function(C){t(C),u()},function(C){n(C),u()},x),d=null}"onloadend"in d?d.onloadend=f:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(f)},d.onabort=function(){d&&(n(new Sr("Request aborted",Sr.ECONNABORTED,i,d)),d=null)},d.onerror=function(){n(new Sr("Network Error",Sr.ERR_NETWORK,i,d)),d=null},d.ontimeout=function(){let _=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const x=i.transitional||zD;i.timeoutErrorMessage&&(_=i.timeoutErrorMessage),n(new Sr(_,x.clarifyTimeoutError?Sr.ETIMEDOUT:Sr.ECONNABORTED,i,d)),d=null},a===void 0&&o.setContentType(null),"setRequestHeader"in d&&je.forEach(o.toJSON(),function(_,x){d.setRequestHeader(x,_)}),je.isUndefined(i.withCredentials)||(d.withCredentials=!!i.withCredentials),s&&s!=="json"&&(d.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&d.addEventListener("progress",bm(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",bm(i.onUploadProgress)),(i.cancelToken||i.signal)&&(l=m=>{d&&(n(!m||m.type?new zh(null,r,d):m),d.abort(),d=null)},i.cancelToken&&i.cancelToken.subscribe(l),i.signal&&(i.signal.aborted?l():i.signal.addEventListener("abort",l)));const g=SU(i.url);if(g&&Lo.protocols.indexOf(g)===-1){n(new Sr("Unsupported protocol "+g+":",Sr.ERR_BAD_REQUEST,r));return}d.send(a||null)})},kU=(r,e)=>{let t=new AbortController,n;const i=function(l){if(!n){n=!0,o();const u=l instanceof Error?l:this.reason;t.abort(u instanceof Sr?u:new zh(u instanceof Error?u.message:u))}};let a=e&&setTimeout(()=>{i(new Sr(`timeout ${e} of ms exceeded`,Sr.ETIMEDOUT))},e);const o=()=>{r&&(a&&clearTimeout(a),a=null,r.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",i):l.unsubscribe(i))}),r=null)};r.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",i));const{signal:s}=t;return s.unsubscribe=o,[s,()=>{a&&clearTimeout(a),a=null}]},LU=function*(r,e){let t=r.byteLength;if(t<e){yield r;return}let n=0,i;for(;n<t;)i=n+e,yield r.slice(n,i),n=i},PU=async function*(r,e,t){for await(const n of r)yield*LU(ArrayBuffer.isView(n)?n:await t(String(n)),e)},WD=(r,e,t,n,i)=>{const a=PU(r,e,i);let o=0;return new ReadableStream({type:"bytes",async pull(s){const{done:l,value:u}=await a.next();if(l){s.close(),n();return}let d=u.byteLength;t&&t(o+=d),s.enqueue(new Uint8Array(u))},cancel(s){return n(s),a.return()}},{highWaterMark:2})},qD=(r,e)=>{const t=r!=null;return n=>setTimeout(()=>e({lengthComputable:t,total:r,loaded:n}))},xm=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ZD=xm&&typeof ReadableStream=="function",lx=xm&&(typeof TextEncoder=="function"?(r=>e=>r.encode(e))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),RU=ZD&&(()=>{let r=!1;const e=new Request(Lo.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!e})(),jD=64*1024,ux=ZD&&!!(()=>{try{return je.isReadableStream(new Response("").body)}catch{}})(),wm={stream:ux&&(r=>r.body)};xm&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!wm[e]&&(wm[e]=je.isFunction(r[e])?t=>t[e]():(t,n)=>{throw new Sr(`Response type '${e}' is not supported`,Sr.ERR_NOT_SUPPORT,n)})})})(new Response);const NU=async r=>{if(r==null)return 0;if(je.isBlob(r))return r.size;if(je.isSpecCompliantForm(r))return(await new Request(r).arrayBuffer()).byteLength;if(je.isArrayBufferView(r))return r.byteLength;if(je.isURLSearchParams(r)&&(r=r+""),je.isString(r))return(await lx(r)).byteLength},OU=async(r,e)=>{const t=je.toFiniteNumber(r.getContentLength());return t??NU(e)},cx={http:aU,xhr:IU,fetch:xm&&(async r=>{let{url:e,method:t,data:n,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:g}=HD(r);u=u?(u+"").toLowerCase():"text";let[m,_]=i||a||o?kU([i,a],o):[],x,w;const C=()=>{!x&&setTimeout(()=>{m&&m.unsubscribe()}),x=!0};let M;try{if(l&&RU&&t!=="get"&&t!=="head"&&(M=await OU(d,n))!==0){let B=new Request(e,{method:"POST",body:n,duplex:"half"}),U;je.isFormData(n)&&(U=B.headers.get("content-type"))&&d.setContentType(U),B.body&&(n=WD(B.body,jD,qD(M,bm(l)),null,lx))}je.isString(f)||(f=f?"cors":"omit"),w=new Request(e,{...g,signal:m,method:t.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",withCredentials:f});let L=await fetch(w);const O=ux&&(u==="stream"||u==="response");if(ux&&(s||O)){const B={};["status","statusText","headers"].forEach(H=>{B[H]=L[H]});const U=je.toFiniteNumber(L.headers.get("content-length"));L=new Response(WD(L.body,jD,s&&qD(U,bm(s,!0)),O&&C,lx),B)}u=u||"text";let F=await wm[je.findKey(wm,u)||"text"](L,r);return!O&&C(),_&&_(),await new Promise((B,U)=>{$D(B,U,{data:F,headers:ga.from(L.headers),status:L.status,statusText:L.statusText,config:r,request:w})})}catch(L){throw C(),L&&L.name==="TypeError"&&/fetch/i.test(L.message)?Object.assign(new Sr("Network Error",Sr.ERR_NETWORK,r,w),{cause:L.cause||L}):Sr.from(L,L&&L.code,r,w)}})};je.forEach(cx,(r,e)=>{if(r){try{Object.defineProperty(r,"name",{value:e})}catch{}Object.defineProperty(r,"adapterName",{value:e})}});const XD=r=>`- ${r}`,zU=r=>je.isFunction(r)||r===null||r===!1,YD={getAdapter:r=>{r=je.isArray(r)?r:[r];const{length:e}=r;let t,n;const i={};for(let a=0;a<e;a++){t=r[a];let o;if(n=t,!zU(t)&&(n=cx[(o=String(t)).toLowerCase()],n===void 0))throw new Sr(`Unknown adapter '${o}'`);if(n)break;i[o||"#"+a]=n}if(!n){const a=Object.entries(i).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?a.length>1?`since :
`+a.map(XD).join(`
`):" "+XD(a[0]):"as no adapter specified";throw new Sr("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:cx};function hx(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new zh(null,r)}function KD(r){return hx(r),r.headers=ga.from(r.headers),r.data=sx.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),YD.getAdapter(r.adapter||Kf.adapter)(r).then(function(n){return hx(r),n.data=sx.call(r,r.transformResponse,n),n.headers=ga.from(n.headers),n},function(n){return FD(n)||(hx(r),n&&n.response&&(n.response.data=sx.call(r,r.transformResponse,n.response),n.response.headers=ga.from(n.response.headers))),Promise.reject(n)})}const JD="1.7.2",dx={};["object","boolean","number","function","string","symbol"].forEach((r,e)=>{dx[r]=function(n){return typeof n===r||"a"+(e<1?"n ":" ")+r}});const QD={};dx.transitional=function(e,t,n){function i(a,o){return"[Axios v"+JD+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return(a,o,s)=>{if(e===!1)throw new Sr(i(o," has been removed"+(t?" in "+t:"")),Sr.ERR_DEPRECATED);return t&&!QD[o]&&(QD[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(a,o,s):!0}};function BU(r,e,t){if(typeof r!="object")throw new Sr("options must be an object",Sr.ERR_BAD_OPTION_VALUE);const n=Object.keys(r);let i=n.length;for(;i-- >0;){const a=n[i],o=e[a];if(o){const s=r[a],l=s===void 0||o(s,a,r);if(l!==!0)throw new Sr("option "+a+" must be "+l,Sr.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Sr("Unknown option "+a,Sr.ERR_BAD_OPTION)}}const fx={assertOptions:BU,validators:dx},xl=fx.validators;let Gu=class{constructor(e){this.defaults=e,this.interceptors={request:new OD,response:new OD}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+a):n.stack=a}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=$u(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:a}=t;n!==void 0&&fx.assertOptions(n,{silentJSONParsing:xl.transitional(xl.boolean),forcedJSONParsing:xl.transitional(xl.boolean),clarifyTimeoutError:xl.transitional(xl.boolean)},!1),i!=null&&(je.isFunction(i)?t.paramsSerializer={serialize:i}:fx.assertOptions(i,{encode:xl.function,serialize:xl.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=a&&je.merge(a.common,a[t.method]);a&&je.forEach(["delete","get","head","post","put","patch","common"],_=>{delete a[_]}),t.headers=ga.concat(o,a);const s=[];let l=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(t)===!1||(l=l&&x.synchronous,s.unshift(x.fulfilled,x.rejected))});const u=[];this.interceptors.response.forEach(function(x){u.push(x.fulfilled,x.rejected)});let d,f=0,g;if(!l){const _=[KD.bind(this),void 0];for(_.unshift.apply(_,s),_.push.apply(_,u),g=_.length,d=Promise.resolve(t);f<g;)d=d.then(_[f++],_[f++]);return d}g=s.length;let m=t;for(f=0;f<g;){const _=s[f++],x=s[f++];try{m=_(m)}catch(w){x.call(this,w);break}}try{d=KD.call(this,m)}catch(_){return Promise.reject(_)}for(f=0,g=u.length;f<g;)d=d.then(u[f++],u[f++]);return d}getUri(e){e=$u(this.defaults,e);const t=GD(e.baseURL,e.url);return ND(t,e.params,e.paramsSerializer)}};je.forEach(["delete","get","head","options"],function(e){Gu.prototype[e]=function(t,n){return this.request($u(n||{},{method:e,url:t,data:(n||{}).data}))}}),je.forEach(["post","put","patch"],function(e){function t(n){return function(a,o,s){return this.request($u(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Gu.prototype[e]=t(),Gu.prototype[e+"Form"]=t(!0)});let VU=class _G{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(a){t=a});const n=this;this.promise.then(i=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](i);n._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{n.subscribe(s),a=s}).then(i);return o.cancel=function(){n.unsubscribe(a)},o},e(function(a,o,s){n.reason||(n.reason=new zh(a,o,s),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new _G(function(i){e=i}),cancel:e}}};function FU(r){return function(t){return r.apply(null,t)}}function $U(r){return je.isObject(r)&&r.isAxiosError===!0}const px={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(px).forEach(([r,e])=>{px[e]=r});function eM(r){const e=new Gu(r),t=_D(Gu.prototype.request,e);return je.extend(t,Gu.prototype,e,{allOwnKeys:!0}),je.extend(t,e,null,{allOwnKeys:!0}),t.create=function(i){return eM($u(r,i))},t}const vr=eM(Kf);vr.Axios=Gu,vr.CanceledError=zh,vr.CancelToken=VU,vr.isCancel=FD,vr.VERSION=JD,vr.toFormData=ym,vr.AxiosError=Sr,vr.Cancel=vr.CanceledError,vr.all=function(e){return Promise.all(e)},vr.spread=FU,vr.isAxiosError=$U,vr.mergeConfig=$u,vr.AxiosHeaders=ga,vr.formToJSON=r=>BD(je.isHTMLForm(r)?new FormData(r):r),vr.getAdapter=YD.getAdapter,vr.HttpStatusCode=px,vr.default=vr;const{Axios:Z_e,AxiosError:j_e,CanceledError:X_e,isCancel:Y_e,CancelToken:K_e,VERSION:J_e,all:Q_e,Cancel:e0e,isAxiosError:t0e,spread:r0e,toFormData:n0e,AxiosHeaders:i0e,HttpStatusCode:a0e,formToJSON:o0e,getAdapter:s0e,mergeConfig:l0e}=vr;/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var gx=function(r,e){return gx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},gx(r,e)};function ke(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");gx(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var GU=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),UU=function(){function r(){this.browser=new GU,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=typeof window<"u"}return r}(),pr=new UU;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(pr.wxa=!0,pr.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?pr.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(pr.node=!0,pr.svgSupported=!0):HU(navigator.userAgent,pr);function HU(r,e){var t=e.browser,n=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);n&&(t.firefox=!0,t.version=n[1]),i&&(t.ie=!0,t.version=i[1]),a&&(t.edge=!0,t.version=a[1],t.newEdge=+a[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),e.domSupported=typeof document<"u";var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}var vx=12,tM="sans-serif",wl=vx+"px "+tM,WU=20,qU=100,ZU="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function jU(r){var e={};if(typeof JSON>"u")return e;for(var t=0;t<r.length;t++){var n=String.fromCharCode(t+32),i=(r.charCodeAt(t)-WU)/qU;e[n]=i}return e}var XU=jU(ZU),Sl={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var r,e;return function(t,n){if(!r){var i=Sl.createCanvas();r=i&&i.getContext("2d")}if(r)return e!==n&&(e=r.font=n||wl),r.measureText(t);t=t||"",n=n||wl;var a=/((?:\d+)?\.?\d*)px/.exec(n),o=a&&+a[1]||vx,s=0;if(n.indexOf("mono")>=0)s=o*t.length;else for(var l=0;l<t.length;l++){var u=XU[t[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(r,e,t){var n=new Image;return n.onload=e,n.onerror=t,n.src=r,n}},rM=ts(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,e){return r["[object "+e+"]"]=!0,r},{}),nM=ts(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,e){return r["[object "+e+"Array]"]=!0,r},{}),Bh=Object.prototype.toString,Sm=Array.prototype,YU=Sm.forEach,KU=Sm.filter,mx=Sm.slice,JU=Sm.map,iM=(function(){}).constructor,Tm=iM?iM.prototype:null,yx="__proto__",QU=2311;function aM(){return QU++}function Po(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];typeof console<"u"&&console.error.apply(console,r)}function Ht(r){if(r==null||typeof r!="object")return r;var e=r,t=Bh.call(r);if(t==="[object Array]"){if(!Qf(r)){e=[];for(var n=0,i=r.length;n<i;n++)e[n]=Ht(r[n])}}else if(nM[t]){if(!Qf(r)){var a=r.constructor;if(a.from)e=a.from(r);else{e=new a(r.length);for(var n=0,i=r.length;n<i;n++)e[n]=r[n]}}}else if(!rM[t]&&!Qf(r)&&!Uu(r)){e={};for(var o in r)r.hasOwnProperty(o)&&o!==yx&&(e[o]=Ht(r[o]))}return e}function ir(r,e,t){if(!Bt(e)||!Bt(r))return t?Ht(e):r;for(var n in e)if(e.hasOwnProperty(n)&&n!==yx){var i=r[n],a=e[n];Bt(a)&&Bt(i)&&!qe(a)&&!qe(i)&&!Uu(a)&&!Uu(i)&&!oM(a)&&!oM(i)&&!Qf(a)&&!Qf(i)?ir(i,a,t):(t||!(n in r))&&(r[n]=Ht(e[n]))}return r}function _x(r,e){for(var t=r[0],n=1,i=r.length;n<i;n++)t=ir(t,r[n],e);return t}function Ue(r,e){if(Object.assign)Object.assign(r,e);else for(var t in e)e.hasOwnProperty(t)&&t!==yx&&(r[t]=e[t]);return r}function $t(r,e,t){for(var n=mr(e),i=0;i<n.length;i++){var a=n[i];(t?e[a]!=null:r[a]==null)&&(r[a]=e[a])}return r}function lr(r,e){if(r){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t}return-1}function e8(r,e){var t=r.prototype;function n(){}n.prototype=e.prototype,r.prototype=new n;for(var i in t)t.hasOwnProperty(i)&&(r.prototype[i]=t[i]);r.prototype.constructor=r,r.superClass=e}function Fn(r,e,t){if(r="prototype"in r?r.prototype:r,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(t?e[a]!=null:r[a]==null)&&(r[a]=e[a])}else $t(r,e,t)}function Ri(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function Q(r,e,t){if(r&&e)if(r.forEach&&r.forEach===YU)r.forEach(e,t);else if(r.length===+r.length)for(var n=0,i=r.length;n<i;n++)e.call(t,r[n],n,r);else for(var a in r)r.hasOwnProperty(a)&&e.call(t,r[a],a,r)}function Ze(r,e,t){if(!r)return[];if(!e)return bx(r);if(r.map&&r.map===JU)return r.map(e,t);for(var n=[],i=0,a=r.length;i<a;i++)n.push(e.call(t,r[i],i,r));return n}function ts(r,e,t,n){if(r&&e){for(var i=0,a=r.length;i<a;i++)t=e.call(n,t,r[i],i,r);return t}}function qr(r,e,t){if(!r)return[];if(!e)return bx(r);if(r.filter&&r.filter===KU)return r.filter(e,t);for(var n=[],i=0,a=r.length;i<a;i++)e.call(t,r[i],i,r)&&n.push(r[i]);return n}function t8(r,e,t){if(r&&e){for(var n=0,i=r.length;n<i;n++)if(e.call(t,r[n],n,r))return r[n]}}function mr(r){if(!r)return[];if(Object.keys)return Object.keys(r);var e=[];for(var t in r)r.hasOwnProperty(t)&&e.push(t);return e}function r8(r,e){for(var t=[],n=2;n<arguments.length;n++)t[n-2]=arguments[n];return function(){return r.apply(e,t.concat(mx.call(arguments)))}}var vt=Tm&&Nt(Tm.bind)?Tm.call.bind(Tm.bind):r8;function Jt(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return function(){return r.apply(this,e.concat(mx.call(arguments)))}}function qe(r){return Array.isArray?Array.isArray(r):Bh.call(r)==="[object Array]"}function Nt(r){return typeof r=="function"}function lt(r){return typeof r=="string"}function Em(r){return Bh.call(r)==="[object String]"}function Ir(r){return typeof r=="number"}function Bt(r){var e=typeof r;return e==="function"||!!r&&e==="object"}function oM(r){return!!rM[Bh.call(r)]}function Zi(r){return!!nM[Bh.call(r)]}function Uu(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function Cm(r){return r.colorStops!=null}function n8(r){return r.image!=null}function sM(r){return Bh.call(r)==="[object RegExp]"}function Hu(r){return r!==r}function $n(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];for(var t=0,n=r.length;t<n;t++)if(r[t]!=null)return r[t]}function jt(r,e){return r??e}function Ja(r,e,t){return r??e??t}function bx(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return mx.apply(r,e)}function xx(r){if(typeof r=="number")return[r,r,r,r];var e=r.length;return e===2?[r[0],r[1],r[0],r[1]]:e===3?[r[0],r[1],r[2],r[1]]:r}function Vt(r,e){if(!r)throw new Error(e)}function Ro(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var lM="__ec_primitive__";function Am(r){r[lM]=!0}function Qf(r){return r[lM]}var i8=function(){function r(){this.data={}}return r.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},r.prototype.has=function(e){return this.data.hasOwnProperty(e)},r.prototype.get=function(e){return this.data[e]},r.prototype.set=function(e,t){return this.data[e]=t,this},r.prototype.keys=function(){return mr(this.data)},r.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},r}(),uM=typeof Map=="function";function a8(){return uM?new Map:new i8}var o8=function(){function r(e){var t=qe(e);this.data=a8();var n=this;e instanceof r?e.each(i):e&&Q(e,i);function i(a,o){t?n.set(a,o):n.set(o,a)}}return r.prototype.hasKey=function(e){return this.data.has(e)},r.prototype.get=function(e){return this.data.get(e)},r.prototype.set=function(e,t){return this.data.set(e,t),t},r.prototype.each=function(e,t){this.data.forEach(function(n,i){e.call(t,n,i)})},r.prototype.keys=function(){var e=this.data.keys();return uM?Array.from(e):e},r.prototype.removeKey=function(e){this.data.delete(e)},r}();function At(r){return new o8(r)}function Dm(r,e){for(var t=new r.constructor(r.length+e.length),n=0;n<r.length;n++)t[n]=r[n];for(var i=r.length,n=0;n<e.length;n++)t[n+i]=e[n];return t}function Mm(r,e){var t;if(Object.create)t=Object.create(r);else{var n=function(){};n.prototype=r,t=new n}return e&&Ue(t,e),t}function cM(r){var e=r.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function yt(r,e){return r.hasOwnProperty(e)}function Rn(){}var Im=180/Math.PI;function Wu(r,e){return r==null&&(r=0),e==null&&(e=0),[r,e]}function ji(r,e){return r[0]=e[0],r[1]=e[1],r}function Ps(r){return[r[0],r[1]]}function s8(r,e,t){return r[0]=e,r[1]=t,r}function hM(r,e,t){return r[0]=e[0]+t[0],r[1]=e[1]+t[1],r}function Sx(r,e,t,n){return r[0]=e[0]+t[0]*n,r[1]=e[1]+t[1]*n,r}function qu(r,e,t){return r[0]=e[0]-t[0],r[1]=e[1]-t[1],r}function Tx(r){return Math.sqrt(l8(r))}function l8(r){return r[0]*r[0]+r[1]*r[1]}function km(r,e,t){return r[0]=e[0]*t,r[1]=e[1]*t,r}function Vh(r,e){var t=Tx(e);return t===0?(r[0]=0,r[1]=0):(r[0]=e[0]/t,r[1]=e[1]/t),r}function Ex(r,e){return Math.sqrt((r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1]))}var Tl=Ex;function u8(r,e){return(r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1])}var Zu=u8;function Lm(r,e,t,n){return r[0]=e[0]+n*(t[0]-e[0]),r[1]=e[1]+n*(t[1]-e[1]),r}function wi(r,e,t){var n=e[0],i=e[1];return r[0]=t[0]*n+t[2]*i+t[4],r[1]=t[1]*n+t[3]*i+t[5],r}function El(r,e,t){return r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r}function Cl(r,e,t){return r[0]=Math.max(e[0],t[0]),r[1]=Math.max(e[1],t[1]),r}var Fh=function(){function r(e,t){this.target=e,this.topTarget=t&&t.topTarget}return r}(),c8=function(){function r(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Fh(t,e),"dragstart",e.event))},r.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,i=e.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,t.drift(a,o,e),this.handler.dispatchToElement(new Fh(t,e),"drag",e.event);var s=this.handler.findHover(n,i,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Fh(l,e),"dragleave",e.event),s&&s!==l&&this.handler.dispatchToElement(new Fh(s,e),"dragenter",e.event))}},r.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new Fh(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Fh(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},r}(),Qa=function(){function r(e){e&&(this._$eventProcessor=e)}return r.prototype.on=function(e,t,n,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof t=="function"&&(i=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;t!=null&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),a[e]||(a[e]=[]);for(var s=0;s<a[e].length;s++)if(a[e][s].h===n)return this;var l={h:n,query:t,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},u=a[e].length-1,d=a[e][u];return d&&d.callAtLast?a[e].splice(u,0,l):a[e].push(l),this},r.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},r.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var i=[],a=0,o=n[e].length;a<o;a++)n[e][a].h!==t&&i.push(n[e][a]);n[e]=i}n[e]&&n[e].length===0&&delete n[e]}else delete n[e];return this},r.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[e],a=this._$eventProcessor;if(i)for(var o=t.length,s=i.length,l=0;l<s;l++){var u=i[l];if(!(a&&a.filter&&u.query!=null&&!a.filter(e,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,t[0]);break;case 2:u.h.call(u.ctx,t[0],t[1]);break;default:u.h.apply(u.ctx,t);break}}return a&&a.afterTrigger&&a.afterTrigger(e),this},r.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[e],a=this._$eventProcessor;if(i)for(var o=t.length,s=t[o-1],l=i.length,u=0;u<l;u++){var d=i[u];if(!(a&&a.filter&&d.query!=null&&!a.filter(e,d.query)))switch(o){case 0:d.h.call(s);break;case 1:d.h.call(s,t[0]);break;case 2:d.h.call(s,t[0],t[1]);break;default:d.h.apply(s,t.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(e),this},r}(),h8=Math.log(2);function Cx(r,e,t,n,i,a){var o=n+"-"+i,s=r.length;if(a.hasOwnProperty(o))return a[o];if(e===1){var l=Math.round(Math.log((1<<s)-1&~i)/h8);return r[t][l]}for(var u=n|1<<t,d=t+1;n&1<<d;)d++;for(var f=0,g=0,m=0;g<s;g++){var _=1<<g;_&i||(f+=(m%2?-1:1)*r[t][g]*Cx(r,e-1,d,u,i|_,a),m++)}return a[o]=f,f}function dM(r,e){var t=[[r[0],r[1],1,0,0,0,-e[0]*r[0],-e[0]*r[1