@advt-gpt-chart/package 0.0.35 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Chart/Dataset/types.d.ts +2 -2
- package/dist/index.es.js +7 -5
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.gz +0 -0
- package/dist/utils/data.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13,8 +13,8 @@ export type Dataset = {
|
|
|
13
13
|
};
|
|
14
14
|
fieldInfo?: FieldInfoItem[];
|
|
15
15
|
};
|
|
16
|
-
export type FieldDataType = 'BIGINT' | 'TIMESTAMP' | 'STRING';
|
|
17
|
-
export type VFieldDataType = 'date' | 'time' | 'string' | 'region' | 'numerical' | 'ratio' | 'count' | 'float' | 'int';
|
|
16
|
+
export type FieldDataType = 'BIGINT' | 'TIMESTAMP' | 'STRING' | 'DECIMAL';
|
|
17
|
+
export type VFieldDataType = 'date' | 'time' | 'string' | 'region' | 'numerical' | 'ratio' | 'count' | 'float' | 'int' | 'decimal';
|
|
18
18
|
export type FieldInfoItem = {
|
|
19
19
|
fieldName?: string;
|
|
20
20
|
name?: string;
|
package/dist/index.es.js
CHANGED
|
@@ -59930,6 +59930,7 @@ const $1e = {
|
|
|
59930
59930
|
count: 0,
|
|
59931
59931
|
float: 0,
|
|
59932
59932
|
int: 0,
|
|
59933
|
+
decimal: 0,
|
|
59933
59934
|
string: 1
|
|
59934
59935
|
/* String */
|
|
59935
59936
|
}, jLe = (i, e) => VLe(i, e || lv), UD = (i, e, t) => {
|
|
@@ -135150,7 +135151,10 @@ BUe("formatDate");
|
|
|
135150
135151
|
BUe("formatTime");
|
|
135151
135152
|
const Rni = (i) => {
|
|
135152
135153
|
var g;
|
|
135153
|
-
const { formatMessage: e } = Nf(), t = "donutData", { data: n = [], dataset: r, nameField: o = "name", valField: a = "value", chartTheme: s } = i, l = w5(r, { nameField: o, valField: a }), { nameField: u, valField: c } = l, h = ((g = r == null ? void 0 : r.transfromData) == null ? void 0 : g.data) || n, d = D4t(h,
|
|
135154
|
+
const { formatMessage: e } = Nf(), t = "donutData", { data: n = [], dataset: r, nameField: o = "name", valField: a = "value", chartTheme: s } = i, l = w5(r, { nameField: o, valField: a }), { nameField: u, valField: c } = l, h = ((g = r == null ? void 0 : r.transfromData) == null ? void 0 : g.data) || n, d = D4t(h, (p) => {
|
|
135155
|
+
const m = p[c];
|
|
135156
|
+
return typeof m == "number" ? m : typeof m == "string" && parseFloat(m) || 0;
|
|
135157
|
+
}), f = [...h].sort(
|
|
135154
135158
|
(p, m) => Number(m[c]) - Number(p[c])
|
|
135155
135159
|
);
|
|
135156
135160
|
return {
|
|
@@ -187670,9 +187674,7 @@ const M3i = (i) => {
|
|
|
187670
187674
|
dark: O3i
|
|
187671
187675
|
}, i9i = (i) => {
|
|
187672
187676
|
var s, l;
|
|
187673
|
-
const a = i, { children: e } = a, t = Bc(a, ["children"]);
|
|
187674
|
-
console.log("ConfigProvider", t);
|
|
187675
|
-
const n = Ha(() => Bni(t), [t]), r = ((s = n.common) == null ? void 0 : s.lang) || "zh-CN", o = ((l = n.common) == null ? void 0 : l.theme) || "light";
|
|
187677
|
+
const a = i, { children: e } = a, t = Bc(a, ["children"]), n = Ha(() => Bni(t), [t]), r = ((s = n.common) == null ? void 0 : s.lang) || "zh-CN", o = ((l = n.common) == null ? void 0 : l.theme) || "light";
|
|
187676
187678
|
return M3i(r), /* @__PURE__ */ _e.jsx(uUe.Provider, { value: n, children: /* @__PURE__ */ _e.jsx(Tni, { locale: r, messages: YCi[r], defaultLocale: "zh-CN", children: /* @__PURE__ */ _e.jsx(Pf, { theme: I3i[o], locale: E3i[r], children: e }) }) });
|
|
187677
187679
|
};
|
|
187678
187680
|
var D3i = "*", P3i = (
|
|
@@ -203824,7 +203826,7 @@ const a9i = () => {
|
|
|
203824
203826
|
var r = n, { children: i, components: e } = r, t = Bc(r, ["children", "components"]);
|
|
203825
203827
|
const o = dt.Children.toArray(i).join("").trim(), a = ERi(o) ? "json" : "md";
|
|
203826
203828
|
return /* @__PURE__ */ _e.jsx(wRi, rn(Ae({ renderMode: a, components: Ae({ code: ARi }, e) }, t), { children: o }));
|
|
203827
|
-
}, s9i = NI(TRi), l9i = "0.0.
|
|
203829
|
+
}, s9i = NI(TRi), l9i = "0.0.36";
|
|
203828
203830
|
export {
|
|
203829
203831
|
qti as Area,
|
|
203830
203832
|
Xti as Bar,
|
package/dist/index.es.js.gz
CHANGED
|
Binary file
|
package/dist/index.umd.js
CHANGED
|
@@ -128,7 +128,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`,C2e=()=>({style:{symbolType:I2t,fill:{type:"palette"
|
|
|
128
128
|
*
|
|
129
129
|
* This source code is licensed under the MIT license found in the
|
|
130
130
|
* LICENSE file in the root directory of this source tree.
|
|
131
|
-
*/return i.NODE_ENV!=="production"&&(function(){function e(c,h){return c===h&&(c!==0||1/c===1/h)||c!==c&&h!==h}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=ne,n=Yye(),r=typeof Object.is=="function"?Object.is:e,o=n.useSyncExternalStore,s=t.useRef,a=t.useEffect,l=t.useMemo,u=t.useDebugValue;Dz.useSyncExternalStoreWithSelector=function(c,h,d,f,g){var p=s(null);if(p.current===null){var m={hasValue:!1,value:null};p.current=m}else m=p.current;p=l(function(){function b(w){if(!y){if(y=!0,C=w,w=f(w),g!==void 0&&m.hasValue){var E=m.value;if(g(E,w))return x=E}return x=w}if(E=x,r(C,w))return E;var A=f(w);return g!==void 0&&g(E,A)?(C=w,E):(C=w,x=A)}var y=!1,C,x,S=d===void 0?null:d;return[function(){return b(h())},S===null?void 0:function(){return b(S())}]},[h,d,f,g]);var v=o(c,p[0],p[1]);return a(function(){m.hasValue=!0,m.value=v},[v]),u(v),v},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Dz}var Zye;function j4t(){if(Zye)return o7.exports;Zye=1;var i={};return i.NODE_ENV==="production"?o7.exports=W4t():o7.exports=V4t(),o7.exports}var U4t=j4t();const G4t=jr(U4t),{useDebugValue:q4t}=ne,{useSyncExternalStoreWithSelector:Y4t}=G4t,X4t=i=>i;function K4t(i,e=X4t,t){const n=Y4t(i.subscribe,i.getState,i.getServerState||i.getInitialState,e,t);return q4t(n),n}var a7={exports:{}},Z4t=a7.exports,Qye;function Jye(){return Qye||(Qye=1,(function(i,e){(function(t,n){i.exports=n()})(Z4t,(function(){var t=1e3,n=6e4,r=36e5,o="millisecond",s="second",a="minute",l="hour",u="day",c="week",h="month",d="quarter",f="year",g="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|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,b={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(P){var F=["th","st","nd","rd"],N=P%100;return"["+P+(F[(N-20)%10]||F[N]||F[0])+"]"}},y=function(P,F,N){var H=String(P);return!H||H.length>=F?P:""+Array(F+1-H.length).join(N)+P},C={s:y,z:function(P){var F=-P.utcOffset(),N=Math.abs(F),H=Math.floor(N/60),W=N%60;return(F<=0?"+":"-")+y(H,2,"0")+":"+y(W,2,"0")},m:function P(F,N){if(F.date()<N.date())return-P(N,F);var H=12*(N.year()-F.year())+(N.month()-F.month()),W=F.clone().add(H,h),U=N-W<0,$=F.clone().add(H+(U?-1:1),h);return+(-(H+(N-W)/(U?W-$:$-W))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:h,y:f,w:c,d:u,D:g,h:l,m:a,s,ms:o,Q:d}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},x="en",S={};S[x]=b;var w="$isDayjsObject",E=function(P){return P instanceof O||!(!P||!P[w])},A=function P(F,N,H){var W;if(!F)return x;if(typeof F=="string"){var U=F.toLowerCase();S[U]&&(W=U),N&&(S[U]=N,W=U);var $=F.split("-");if(!W&&$.length>1)return P($[0])}else{var Y=F.name;S[Y]=F,W=Y}return!H&&W&&(x=W),W||!H&&x},T=function(P,F){if(E(P))return P.clone();var N=typeof F=="object"?F:{};return N.date=P,N.args=arguments,new O(N)},M=C;M.l=A,M.i=E,M.w=function(P,F){return T(P,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var O=(function(){function P(N){this.$L=A(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[w]=!0}var F=P.prototype;return F.parse=function(N){this.$d=(function(H){var W=H.date,U=H.utc;if(W===null)return new Date(NaN);if(M.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var $=W.match(m);if($){var Y=$[2]-1||0,K=($[7]||"0").substring(0,3);return U?new Date(Date.UTC($[1],Y,$[3]||1,$[4]||0,$[5]||0,$[6]||0,K)):new Date($[1],Y,$[3]||1,$[4]||0,$[5]||0,$[6]||0,K)}}return new Date(W)})(N),this.init()},F.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},F.$utils=function(){return M},F.isValid=function(){return this.$d.toString()!==p},F.isSame=function(N,H){var W=T(N);return this.startOf(H)<=W&&W<=this.endOf(H)},F.isAfter=function(N,H){return T(N)<this.startOf(H)},F.isBefore=function(N,H){return this.endOf(H)<T(N)},F.$g=function(N,H,W){return M.u(N)?this[H]:this.set(W,N)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(N,H){var W=this,U=!!M.u(H)||H,$=M.p(N),Y=function(ue,de){var le=M.w(W.$u?Date.UTC(W.$y,de,ue):new Date(W.$y,de,ue),W);return U?le:le.endOf(u)},K=function(ue,de){return M.w(W.toDate()[ue].apply(W.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(de)),W)},z=this.$W,J=this.$M,te=this.$D,oe="set"+(this.$u?"UTC":"");switch($){case f:return U?Y(1,0):Y(31,11);case h:return U?Y(1,J):Y(0,J+1);case c:var Q=this.$locale().weekStart||0,re=(z<Q?z+7:z)-Q;return Y(U?te-re:te+(6-re),J);case u:case g:return K(oe+"Hours",0);case l:return K(oe+"Minutes",1);case a:return K(oe+"Seconds",2);case s:return K(oe+"Milliseconds",3);default:return this.clone()}},F.endOf=function(N){return this.startOf(N,!1)},F.$set=function(N,H){var W,U=M.p(N),$="set"+(this.$u?"UTC":""),Y=(W={},W[u]=$+"Date",W[g]=$+"Date",W[h]=$+"Month",W[f]=$+"FullYear",W[l]=$+"Hours",W[a]=$+"Minutes",W[s]=$+"Seconds",W[o]=$+"Milliseconds",W)[U],K=U===u?this.$D+(H-this.$W):H;if(U===h||U===f){var z=this.clone().set(g,1);z.$d[Y](K),z.init(),this.$d=z.set(g,Math.min(this.$D,z.daysInMonth())).$d}else Y&&this.$d[Y](K);return this.init(),this},F.set=function(N,H){return this.clone().$set(N,H)},F.get=function(N){return this[M.p(N)]()},F.add=function(N,H){var W,U=this;N=Number(N);var $=M.p(H),Y=function(J){var te=T(U);return M.w(te.date(te.date()+Math.round(J*N)),U)};if($===h)return this.set(h,this.$M+N);if($===f)return this.set(f,this.$y+N);if($===u)return Y(1);if($===c)return Y(7);var K=(W={},W[a]=n,W[l]=r,W[s]=t,W)[$]||1,z=this.$d.getTime()+N*K;return M.w(z,this)},F.subtract=function(N,H){return this.add(-1*N,H)},F.format=function(N){var H=this,W=this.$locale();if(!this.isValid())return W.invalidDate||p;var U=N||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),Y=this.$H,K=this.$m,z=this.$M,J=W.weekdays,te=W.months,oe=W.meridiem,Q=function(de,le,ce,ae){return de&&(de[le]||de(H,U))||ce[le].slice(0,ae)},re=function(de){return M.s(Y%12||12,de,"0")},ue=oe||function(de,le,ce){var ae=de<12?"AM":"PM";return ce?ae.toLowerCase():ae};return U.replace(v,(function(de,le){return le||(function(ce){switch(ce){case"YY":return String(H.$y).slice(-2);case"YYYY":return M.s(H.$y,4,"0");case"M":return z+1;case"MM":return M.s(z+1,2,"0");case"MMM":return Q(W.monthsShort,z,te,3);case"MMMM":return Q(te,z);case"D":return H.$D;case"DD":return M.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return Q(W.weekdaysMin,H.$W,J,2);case"ddd":return Q(W.weekdaysShort,H.$W,J,3);case"dddd":return J[H.$W];case"H":return String(Y);case"HH":return M.s(Y,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return ue(Y,K,!0);case"A":return ue(Y,K,!1);case"m":return String(K);case"mm":return M.s(K,2,"0");case"s":return String(H.$s);case"ss":return M.s(H.$s,2,"0");case"SSS":return M.s(H.$ms,3,"0");case"Z":return $}return null})(de)||$.replace(":","")}))},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(N,H,W){var U,$=this,Y=M.p(H),K=T(N),z=(K.utcOffset()-this.utcOffset())*n,J=this-K,te=function(){return M.m($,K)};switch(Y){case f:U=te()/12;break;case h:U=te();break;case d:U=te()/3;break;case c:U=(J-z)/6048e5;break;case u:U=(J-z)/864e5;break;case l:U=J/r;break;case a:U=J/n;break;case s:U=J/t;break;default:U=J}return W?U:M.a(U)},F.daysInMonth=function(){return this.endOf(h).$D},F.$locale=function(){return S[this.$L]},F.locale=function(N,H){if(!N)return this.$L;var W=this.clone(),U=A(N,H,!0);return U&&(W.$L=U),W},F.clone=function(){return M.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},P})(),I=O.prototype;return T.prototype=I,[["$ms",o],["$s",s],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",g]].forEach((function(P){I[P[1]]=function(F){return this.$g(F,P[0],P[1])}})),T.extend=function(P,F){return P.$i||(P(F,O,T),P.$i=!0),T},T.locale=A,T.isDayjs=E,T.unix=function(P){return T(1e3*P)},T.en=S[x],T.Ls=S,T.p={},T}))})(a7)),a7.exports}var Q4t=Jye();const Hr=jr(Q4t),Om="YYYY/MM/DD HH:mm:ss",l7="YYYY-MM-DD HH:mm:ss";var e_e=(i=>(i.Second="second",i.Minute="minute",i.Hour="hour",i.Day="day",i.Week="week",i.Month="month",i.Quarter="quarter",i.Year="year",i))(e_e||{});const J4t={second:"YYYY/MM/DD HH:mm:ss",minute:"YYYY/MM/DD HH:mm",hour:"YYYY/MM/DD HH",day:"YYYY/MM/DD",week:"YYYY/MM/DD",month:"YYYY/MM",quarter:"YYYY/MM",year:"YYYY"},t_e=(i,e=Om)=>{let t=null;return typeof i=="number"?i>=1e9&&i<=2e9?t=Hr(i*1e3):t=Hr(i):typeof i=="string"&&(t=Hr(i)),!t||!t.isValid()?i:t.format(e)},ewt=["time","date","timestamp","metricTime"],twt=i=>Hr(i).isValid()?!0:typeof i=="string"?!isNaN(Date.parse(i))||/^\d{4}-\d{2}-\d{2}/.test(i):!1,iwt=(i,e)=>{const t=e.filter(n=>ewt.includes(n.toLowerCase()));return t.length>0?i.map(n=>{const r=Ae({},n);return t.forEach(o=>{r[o]&&twt(r[o])&&(r[o]=t_e(r[o]))}),r}):i};var pg=(i=>(i[i.Number=0]="Number",i[i.String=1]="String",i[i.Timestamp=2]="Timestamp",i[i.Date=3]="Date",i[i.Boolean=4]="Boolean",i))(pg||{});const i_e={timestamp:2,datetime:2,timestamptz:2,date:3,time:3,number:0,double:0,bigint:0,numerical:0,ratio:0,count:0,float:0,int:0,string:1},n_e=(i,e)=>t_e(i,e||Om),u7=(i,e,t)=>{let n,r=i==null?void 0:i.find(o=>o.fieldName===e);if(r!=null&&r.type){const o=C4t(r.type);n=i_e[o]}return!n&&t&&(n=i_e[typeof t]),n},nwt=(i,e,t,n)=>{const r=u7(i,e,t);return r===pg.Timestamp||r===pg.Date?n_e(t,n):t},rwt=(i=[],e,t)=>{const n=u7(i,e,t);return n===pg.Timestamp||n===pg.Date?Hr(t).valueOf():t},O2=()=>{const{chartJson:i,controllerConfig:e,dataSourceQueryInfo:t,dataset:n,drillBy:r}=m0(),o=()=>{var h,d,f,g;return r!=null&&r.visible&&((d=(h=r==null?void 0:r.config)==null?void 0:h.current)!=null&&d.selectedTimeGrain)?(g=(f=r==null?void 0:r.config)==null?void 0:f.current)==null?void 0:g.selectedTimeGrain:(e==null?void 0:e.timeGrain)||(i==null?void 0:i.timeGrain)||e_e.Day},s=()=>{const h=o();return J4t[h]||Om},a=(h,d)=>{let f=d||s();return n_e(h,f)},l=(h,d)=>{var g;let f=[];return(g=t==null?void 0:t.fieldInfo)!=null&&g.length?f=(t==null?void 0:t.fieldInfo)||[]:f=(n==null?void 0:n.fieldInfo)||[],u7(f,h,d)};return{formatTime:a,getFieldType:l,formatValue:(h,d,f)=>{const g=l(h,d);return g===pg.Timestamp||g===pg.Date?a(d,f):d},getAxesType:h=>{const d=l(h);return d===pg.Timestamp||d===pg.Date?"band":d===pg.Number?"linear":"band"}}};var Ow=(i=>(i[i.Number=0]="Number",i[i.String=1]="String",i[i.Timestamp=2]="Timestamp",i[i.Date=3]="Date",i[i.Boolean=4]="Boolean",i[i.Other=5]="Other",i))(Ow||{});const lC=(i,e)=>Object.prototype.toString.call(i)===`[object ${e}]`,Yu=(i,e=!1)=>e?typeof i=="boolean":i===!0||i===!1||lC(i,"Boolean"),Xu=i=>typeof i=="function",vr=i=>i==null,De=i=>i!=null,wa=i=>{const e=typeof i;return i!==null&&e==="object"||e==="function"},owt=i=>typeof i=="object"&&i!==null,Iw=function(i){if(!owt(i)||!lC(i,"Object"))return!1;if(Object.getPrototypeOf(i)===null)return!0;let e=i;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(i)===e},rs=(i,e=!1)=>{const t=typeof i;return e?t==="string":t==="string"||lC(i,"String")},Ht=i=>Array.isArray?Array.isArray(i):lC(i,"Array"),Pz=function(i){return i!==null&&typeof i!="function"&&Number.isFinite(i.length)},swt=i=>lC(i,"Date"),_i=(i,e=!1)=>{const t=typeof i;return e?t==="number":t==="number"||lC(i,"Number")},Ku=i=>_i(i)&&Number.isFinite(i),awt=i=>({}).toString.call(i).replace(/^\[object /,"").replace(/]$/,""),lwt=Object.prototype,uwt=function(i){const e=i&&i.constructor;return i===(typeof e=="function"&&e.prototype||lwt)},cwt=Object.prototype.hasOwnProperty;function ou(i){if(vr(i))return!0;if(Pz(i))return!i.length;const e=awt(i);if(e==="Map"||e==="Set")return!i.size;if(uwt(i))return!Object.keys(i).length;for(const t in i)if(cwt.call(i,t))return!1;return!0}const c7=(i,e,t)=>{const n=rs(e)?e.split("."):e;for(let r=0;r<n.length;r++)i=i?i[n[r]]:void 0;return i===void 0?t:i};function La(i,e,t){let n;if(!De(i)||typeof i!="object"||e)return i;const r=Ht(i),o=i.length;n=r?new Array(o):typeof i=="object"?{}:Yu(i)||_i(i)||rs(i)?i:swt(i)?new Date(+i):void 0;const s=r?void 0:Object.keys(Object(i));let a=-1;if(n)for(;++a<(s||i).length;){const l=s?s[a]:a,u=i[l];t&&t.includes(l.toString())?n[l]=u:n[l]=La(u,e,t)}return n}function r_e(i,e,t=!1,n=!1){if(e){if(i===e)return;if(De(e)&&typeof e=="object"){const r=Object(e),o=[];for(const l in r)o.push(l);let{length:s}=o,a=-1;for(;s--;){const l=o[++a];!De(r[l])||typeof r[l]!="object"||n&&Ht(i[l])?o_e(i,l,r[l]):hwt(i,e,l,t,n)}}}}function hwt(i,e,t,n=!1,r=!1){const o=i[t],s=e[t];let a=e[t],l=!0;if(Ht(s)){if(n)a=[];else if(Ht(o))a=o;else if(Pz(o)){a=new Array(o.length);let u=-1;const c=o.length;for(;++u<c;)a[u]=o[u]}}else Iw(s)?(a=o!=null?o:{},typeof o!="function"&&typeof o=="object"||(a={})):l=!1;l&&r_e(a,s,n,r),o_e(i,t,a)}function o_e(i,e,t){(t!==void 0&&!dwt(i[e],t)||t===void 0&&!(e in i))&&(i[e]=t)}function dwt(i,e){return i===e||Number.isNaN(i)&&Number.isNaN(e)}function ar(i,...e){let t=-1;const n=e.length;for(;++t<n;)r_e(i,e[t],!0);return i}const fwt=Object.prototype.hasOwnProperty;function Dw(i,e){if(!i||!Iw(i))return i;const t={};return e.forEach((n=>{fwt.call(i,n)&&(t[n]=i[n])})),t}function gwt(i,e){if(!i||!Iw(i))return i;const t={};return Object.keys(i).forEach((n=>{const r=i[n];let o=!1;e.forEach((s=>{(rs(s)&&s===n||s instanceof RegExp&&n.match(s))&&(o=!0)})),o||(t[n]=r)})),t}function s_e(i){return Object.prototype.toString.call(i)}function a_e(i){return Object.keys(i)}function Pw(i,e,t){if(i===e)return!0;if(typeof i!=typeof e||i==null||e==null)return!1;if(Number.isNaN(i)&&Number.isNaN(e))return!0;if(s_e(i)!==s_e(e)||Xu(i)||typeof i!="object")return!1;if(Ht(i)){if(i.length!==e.length)return!1;for(let o=i.length-1;o>=0;o--)if(!Pw(i[o],e[o]))return!1;return!0}if(!Iw(i))return!1;const n=a_e(i),r=a_e(e);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=n.length-1;o>=0;o--)if(n[o]!=r[o])return!1;for(let o=n.length-1;o>=0;o--){const s=n[o];if(!Pw(i[s],e[s]))return!1}return!0}function Ba(i){return De(i)?Ht(i)?i:[i]:[]}function pwt(i){if(Pz(i))return i[i.length-1]}const l_e=(i,e)=>{var t;if(i.length===0)return;let n=i[0];for(let r=1;r<i.length;r++){const o=i[r];((t=void 0)!==null&&t!==void 0?t:o-n)>0&&(n=o)}return n},u_e=(i,e)=>{var t;if(i.length===0)return;let n=i[0];for(let r=1;r<i.length;r++){const o=i[r];((t=void 0)!==null&&t!==void 0?t:o-n)<0&&(n=o)}return n};function mwt(i,e){if(!Ht(i)||!Ht(e)||i.length!==e.length)return!1;for(let t=0;t<i.length;t++)if(i[t]!==e[t])return!1;return!0}function yh(i){return i&&Ht(i)?Array.from(new Set(Ba(i))):i}function vwt(i,e,t){De(e)||(e=i,i=0),De(t)||(t=1);let n=-1;const r=0|Math.max(0,Math.ceil((e-i)/t)),o=new Array(r);for(;++n<r;)o[n]=i+n*t;return o}const bwt=typeof console!="undefined";function h7(i,e,t){const n=[e].concat([].slice.call(t));bwt&&console[i].apply(console,n)}var a0;(function(i){i[i.None=0]="None",i[i.Error=1]="Error",i[i.Warn=2]="Warn",i[i.Info=3]="Info",i[i.Debug=4]="Debug"})(a0||(a0={}));let c_e=class Td{static getInstance(e,t){return Td._instance&&_i(e)?Td._instance.level(e):Td._instance||(Td._instance=new Td(e,t)),Td._instance}static setInstance(e){return Td._instance=e}static setInstanceLevel(e){Td._instance?Td._instance.level(e):Td._instance=new Td(e)}static clearInstance(){Td._instance=null}constructor(e=a0.None,t){this._onErrorHandler=[],this._level=e,this._method=t}addErrorHandler(e){this._onErrorHandler.find((t=>t===e))||this._onErrorHandler.push(e)}removeErrorHandler(e){const t=this._onErrorHandler.findIndex((n=>n===e));t<0||this._onErrorHandler.splice(t,1)}callErrorHandler(...e){this._onErrorHandler.forEach((t=>t(...e)))}canLogInfo(){return this._level>=a0.Info}canLogDebug(){return this._level>=a0.Debug}canLogError(){return this._level>=a0.Error}canLogWarn(){return this._level>=a0.Warn}level(e){return arguments.length?(this._level=+e,this):this._level}error(...e){var t;return this._level>=a0.Error&&(this._onErrorHandler.length?this.callErrorHandler(...e):h7((t=this._method)!==null&&t!==void 0?t:"error","ERROR",e)),this}warn(...e){return this._level>=a0.Warn&&h7(this._method||"warn","WARN",e),this}info(...e){return this._level>=a0.Info&&h7(this._method||"log","INFO",e),this}debug(...e){return this._level>=a0.Debug&&h7(this._method||"log","DEBUG",e),this}};c_e._instance=null;function d7(i){return i*(Math.PI/180)}const h_e=i=>{let e=i.charCodeAt(0),t=i.length===2?i.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=t&&t<=57343&&(e&=1023,t&=1023,n=e<<10|t,n+=65536),n===12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":n===8361||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||n===172||n===175||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":n===161||n===164||167<=n&&n<=168||n===170||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||n===198||n===208||215<=n&&n<=216||222<=n&&n<=225||n===230||232<=n&&n<=234||236<=n&&n<=237||n===240||242<=n&&n<=243||247<=n&&n<=250||n===252||n===254||n===257||n===273||n===275||n===283||294<=n&&n<=295||n===299||305<=n&&n<=307||n===312||319<=n&&n<=322||n===324||328<=n&&n<=331||n===333||338<=n&&n<=339||358<=n&&n<=359||n===363||n===462||n===464||n===466||n===468||n===470||n===472||n===474||n===476||n===593||n===609||n===708||n===711||713<=n&&n<=715||n===717||n===720||728<=n&&n<=731||n===733||n===735||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||n===1025||1040<=n&&n<=1103||n===1105||n===8208||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||n===8240||8242<=n&&n<=8243||n===8245||n===8251||n===8254||n===8308||n===8319||8321<=n&&n<=8324||n===8364||n===8451||n===8453||n===8457||n===8467||n===8470||8481<=n&&n<=8482||n===8486||n===8491||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||n===8585||8592<=n&&n<=8601||8632<=n&&n<=8633||n===8658||n===8660||n===8679||n===8704||8706<=n&&n<=8707||8711<=n&&n<=8712||n===8715||n===8719||n===8721||n===8725||n===8730||8733<=n&&n<=8736||n===8739||n===8741||8743<=n&&n<=8748||n===8750||8756<=n&&n<=8759||8764<=n&&n<=8765||n===8776||n===8780||n===8786||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||n===8853||n===8857||n===8869||n===8895||n===8978||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||n===9675||9678<=n&&n<=9681||9698<=n&&n<=9701||n===9711||9733<=n&&n<=9734||n===9737||9742<=n&&n<=9743||9748<=n&&n<=9749||n===9756||n===9758||n===9792||n===9794||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||n===9839||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||n===9955||9960<=n&&n<=9983||n===10045||n===10071||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||n===65533||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"};function ywt(i,e={},t){t||(t=1);const{fontStyle:n=e.fontStyle,fontVariant:r=e.fontVariant,fontWeight:o=e.fontWeight,fontSize:s=e.fontSize,fontFamily:a=e.fontFamily}=i;return(n?n+" ":"")+(r?r+" ":"")+(o?o+" ":"")+s*t+"px "+(a||"sans-serif")}class Zh{constructor(e,t){this._numberCharSize=null,this._fullCharSize=null,this._letterCharSize=null,this._specialCharSizeMap={},this._canvas=null,this._context=null,this._contextSaved=!1,this._notSupportCanvas=!1,this._notSupportVRender=!1,this._userSpec={},this.specialCharSet=`-/: .,@%'"~`,this._option=e,this._userSpec=t!=null?t:{},this.textSpec=this._initSpec(),De(e.specialCharSet)&&(this.specialCharSet=e.specialCharSet),this._standardMethod=De(e.getTextBounds)?this.fullMeasure.bind(this):this.measureWithNaiveCanvas.bind(this)}initContext(){if(this._notSupportCanvas)return!1;if(vr(this._canvas)&&(De(this._option.getCanvasForMeasure)&&(this._canvas=this._option.getCanvasForMeasure()),vr(this._canvas)&&typeof window!="undefined"&&window.document!==void 0&&globalThis&&De(globalThis.document)&&(this._canvas=globalThis.document.createElement("canvas"))),vr(this._context)&&De(this._canvas)){const e=this._canvas.getContext("2d");De(e)&&(e.save(),e.font=ywt(this.textSpec),this._contextSaved=!0,this._context=e)}return!vr(this._context)||(this._notSupportCanvas=!0,!1)}_initSpec(){var e,t,n;const{defaultFontParams:r={}}=this._option,{fontStyle:o=r.fontStyle,fontVariant:s=r.fontVariant,fontWeight:a=(e=r.fontWeight)!==null&&e!==void 0?e:"normal",fontSize:l=(t=r.fontSize)!==null&&t!==void 0?t:12,fontFamily:u=(n=r.fontFamily)!==null&&n!==void 0?n:"sans-serif",align:c,textAlign:h=c!=null?c:"center",baseline:d,textBaseline:f=d!=null?d:"middle",ellipsis:g,limit:p}=this._userSpec;let{lineHeight:m=l}=this._userSpec;if(rs(m)&&m[m.length-1]==="%"){const v=Number.parseFloat(m.substring(0,m.length-1))/100;m=l*v}return{fontStyle:o,fontVariant:s,fontFamily:u,fontSize:l,fontWeight:a,textAlign:h,textBaseline:f,ellipsis:g,limit:p,lineHeight:m}}measure(e,t){switch(t){case"vrender":case"canopus":return this.fullMeasure(e);case"canvas":return this.measureWithNaiveCanvas(e);case"simple":return this.quickMeasureWithoutCanvas(e);default:return this.quickMeasure(e)}}fullMeasure(e){if(vr(e))return{width:0,height:0};if(vr(this._option.getTextBounds)||!this._notSupportVRender)return this.measureWithNaiveCanvas(e);const{fontFamily:t,fontSize:n,fontWeight:r,textAlign:o,textBaseline:s,ellipsis:a,limit:l,lineHeight:u}=this.textSpec;let c;try{const h=this._option.getTextBounds({text:e,fontFamily:t,fontSize:n,fontWeight:r,textAlign:o,textBaseline:s,ellipsis:!!a,maxLineWidth:l||1/0,lineHeight:u});c={width:h.width(),height:h.height()}}catch(h){this._notSupportVRender=!0,c=this.measureWithNaiveCanvas(e)}return c}measureWithNaiveCanvas(e){return this._measureReduce(e,this._measureWithNaiveCanvas.bind(this))}_measureWithNaiveCanvas(e){var t;if(!this.initContext())return this._quickMeasureWithoutCanvas(e);const n=this._context.measureText(e),{fontSize:r,lineHeight:o}=this.textSpec;return{width:n.width,height:(t=o)!==null&&t!==void 0?t:r,fontBoundingBoxAscent:n.fontBoundingBoxAscent,fontBoundingBoxDescent:n.fontBoundingBoxDescent}}quickMeasure(e){return this._measureReduce(e,this._quickMeasure.bind(this))}_quickMeasure(e){const t={width:0,height:0};for(let n=0;n<e.length;n++){const r=e[n];let o=this._measureSpecialChar(r);vr(o)&&Zh.NUMBERS_CHAR_SET.includes(r)&&(o=this._measureNumberChar()),vr(o)&&["F","W"].includes(h_e(r))&&(o=this._measureFullSizeChar()),vr(o)&&(o=this._measureLetterChar()),t.width+=o.width,t.height=Math.max(t.height,o.height),!vr(o.fontBoundingBoxAscent)&&(t.fontBoundingBoxAscent=o.fontBoundingBoxAscent),!vr(o.fontBoundingBoxDescent)&&(t.fontBoundingBoxDescent=o.fontBoundingBoxDescent)}return t}quickMeasureWithoutCanvas(e){return this._measureReduce(e,this._quickMeasureWithoutCanvas.bind(this))}_quickMeasureWithoutCanvas(e){var t;const n={width:0,height:0},{fontSize:r,lineHeight:o}=this.textSpec;for(let s=0;s<e.length;s++){const a=e[s],l=["F","W"].includes(h_e(a))?1:.53;n.width+=l*r}return n.height=(t=o)!==null&&t!==void 0?t:r,n}_measureReduce(e,t){var n;const{fontSize:r,lineHeight:o}=this.textSpec,s={width:0,height:0};if(vr(e))return s;if(Ht(e)){const a=e.filter(De).map((l=>l.toString()));return a.length===0?s:a.length===1?t(a[0]):{width:a.reduce(((l,u)=>Math.max(l,t(u).width)),0),height:a.length*(((n=o)!==null&&n!==void 0?n:r)+1)+1}}return t(e.toString())}_measureNumberChar(){if(vr(this._numberCharSize)){const e=this._standardMethod(Zh.NUMBERS_CHAR_SET);this._numberCharSize={width:e.width/Zh.NUMBERS_CHAR_SET.length,height:e.height,fontBoundingBoxAscent:e.fontBoundingBoxAscent,fontBoundingBoxDescent:e.fontBoundingBoxDescent}}return this._numberCharSize}_measureFullSizeChar(){return vr(this._fullCharSize)&&(this._fullCharSize=this._standardMethod(Zh.FULL_SIZE_CHAR)),this._fullCharSize}_measureLetterChar(){if(vr(this._letterCharSize)){const e=this._standardMethod(Zh.ALPHABET_CHAR_SET);this._letterCharSize={width:e.width/Zh.ALPHABET_CHAR_SET.length,height:e.height,fontBoundingBoxAscent:e.fontBoundingBoxAscent,fontBoundingBoxDescent:e.fontBoundingBoxDescent}}return this._letterCharSize}_measureSpecialChar(e){return De(this._specialCharSizeMap[e])?this._specialCharSizeMap[e]:this.specialCharSet.includes(e)?(this._specialCharSizeMap[e]=this._standardMethod(e),this._specialCharSizeMap[e]):null}release(){De(this._canvas)&&(this._canvas=null),De(this._context)&&(this._contextSaved&&(this._context.restore(),this._contextSaved=!1),this._context=null)}}Zh.ALPHABET_CHAR_SET="abcdefghijklmnopqrstuvwxyz",Zh.NUMBERS_CHAR_SET="0123456789",Zh.FULL_SIZE_CHAR="字";function _wt(i,e,t){const{x1:n,y1:r,x2:o,y2:s}=e;return t.onlyTranslate()?(i!==e&&i.setValue(e.x1,e.y1,e.x2,e.y2),i.translate(t.e,t.f),e):(i.clear(),i.add(t.a*n+t.c*r+t.e,t.b*n+t.d*r+t.f),i.add(t.a*o+t.c*r+t.e,t.b*o+t.d*r+t.f),i.add(t.a*o+t.c*s+t.e,t.b*o+t.d*s+t.f),i.add(t.a*n+t.c*s+t.e,t.b*n+t.d*s+t.f),e)}class Im{constructor(e){e?this.setValue(e.x1,e.y1,e.x2,e.y2):this.clear()}clone(){return new Im(this)}clear(){return this.x1=+Number.MAX_VALUE,this.y1=+Number.MAX_VALUE,this.x2=-Number.MAX_VALUE,this.y2=-Number.MAX_VALUE,this}empty(){return this.x1===+Number.MAX_VALUE&&this.y1===+Number.MAX_VALUE&&this.x2===-Number.MAX_VALUE&&this.y2===-Number.MAX_VALUE}equals(e){return this.x1===e.x1&&this.y1===e.y1&&this.x2===e.x2&&this.y2===e.y2}setValue(e=0,t=0,n=0,r=0){return this.x1=e,this.y1=t,this.x2=n,this.y2=r,this}set(e=0,t=0,n=0,r=0){return n<e?(this.x2=e,this.x1=n):(this.x1=e,this.x2=n),r<t?(this.y2=t,this.y1=r):(this.y1=t,this.y2=r),this}add(e=0,t=0){return e<this.x1&&(this.x1=e),t<this.y1&&(this.y1=t),e>this.x2&&(this.x2=e),t>this.y2&&(this.y2=t),this}expand(e=0){return Ht(e)?(this.y1-=e[0],this.x2+=e[1],this.y2+=e[2],this.x1-=e[3]):(this.x1-=e,this.y1-=e,this.x2+=e,this.y2+=e),this}round(){return this.x1=Math.floor(this.x1),this.y1=Math.floor(this.y1),this.x2=Math.ceil(this.x2),this.y2=Math.ceil(this.y2),this}translate(e=0,t=0){return this.x1+=e,this.x2+=e,this.y1+=t,this.y2+=t,this}rotate(e=0,t=0,n=0){const r=this.rotatedPoints(e,t,n);return this.clear().add(r[0],r[1]).add(r[2],r[3]).add(r[4],r[5]).add(r[6],r[7])}scale(e=0,t=0,n=0,r=0){const o=this.scalePoints(e,t,n,r);return this.clear().add(o[0],o[1]).add(o[2],o[3])}union(e){return e.x1<this.x1&&(this.x1=e.x1),e.y1<this.y1&&(this.y1=e.y1),e.x2>this.x2&&(this.x2=e.x2),e.y2>this.y2&&(this.y2=e.y2),this}intersect(e){return e.x1>this.x1&&(this.x1=e.x1),e.y1>this.y1&&(this.y1=e.y1),e.x2<this.x2&&(this.x2=e.x2),e.y2<this.y2&&(this.y2=e.y2),this}encloses(e){return e&&this.x1<=e.x1&&this.x2>=e.x2&&this.y1<=e.y1&&this.y2>=e.y2}alignsWith(e){return e&&(this.x1===e.x1||this.x2===e.x2||this.y1===e.y1||this.y2===e.y2)}intersects(e){return e&&!(this.x2<e.x1||this.x1>e.x2||this.y2<e.y1||this.y1>e.y2)}contains(e=0,t=0){return!(e<this.x1||e>this.x2||t<this.y1||t>this.y2)}containsPoint(e){return!(e.x<this.x1||e.x>this.x2||e.y<this.y1||e.y>this.y2)}width(){return this.empty()?0:this.x2-this.x1}height(){return this.empty()?0:this.y2-this.y1}scaleX(e=0){return this.x1*=e,this.x2*=e,this}scaleY(e=0){return this.y1*=e,this.y2*=e,this}transformWithMatrix(e){return _wt(this,this,e),this}copy(e){return this.x1=e.x1,this.y1=e.y1,this.x2=e.x2,this.y2=e.y2,this}rotatedPoints(e,t,n){const{x1:r,y1:o,x2:s,y2:a}=this,l=Math.cos(e),u=Math.sin(e),c=t-t*l+n*u,h=n-t*u-n*l;return[l*r-u*o+c,u*r+l*o+h,l*r-u*a+c,u*r+l*a+h,l*s-u*o+c,u*s+l*o+h,l*s-u*a+c,u*s+l*a+h]}scalePoints(e,t,n,r){const{x1:o,y1:s,x2:a,y2:l}=this;return[e*o+(1-e)*n,t*s+(1-t)*r,e*a+(1-e)*n,t*l+(1-t)*r]}}class Lw extends Im{}function d_e(i,e){return function(){return i.apply(e,arguments)}}const{toString:Cwt}=Object.prototype,{getPrototypeOf:Lz}=Object,{iterator:f7,toStringTag:f_e}=Symbol,g7=(i=>e=>{const t=Cwt.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),l0=i=>(i=i.toLowerCase(),e=>g7(e)===i),p7=i=>e=>typeof e===i,{isArray:uC}=Array,Bw=p7("undefined");function Fw(i){return i!==null&&!Bw(i)&&i.constructor!==null&&!Bw(i.constructor)&&_h(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const g_e=l0("ArrayBuffer");function Swt(i){let e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&g_e(i.buffer),e}const xwt=p7("string"),_h=p7("function"),p_e=p7("number"),Nw=i=>i!==null&&typeof i=="object",wwt=i=>i===!0||i===!1,m7=i=>{if(g7(i)!=="object")return!1;const e=Lz(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(f_e in i)&&!(f7 in i)},Ewt=i=>{if(!Nw(i)||Fw(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch(e){return!1}},Awt=l0("Date"),Twt=l0("File"),Rwt=l0("Blob"),Mwt=l0("FileList"),kwt=i=>Nw(i)&&_h(i.pipe),Owt=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||_h(i.append)&&((e=g7(i))==="formdata"||e==="object"&&_h(i.toString)&&i.toString()==="[object FormData]"))},Iwt=l0("URLSearchParams"),[Dwt,Pwt,Lwt,Bwt]=["ReadableStream","Request","Response","Headers"].map(l0),Fwt=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $w(i,e,{allOwnKeys:t=!1}={}){if(i===null||typeof i=="undefined")return;let n,r;if(typeof i!="object"&&(i=[i]),uC(i))for(n=0,r=i.length;n<r;n++)e.call(null,i[n],n,i);else{if(Fw(i))return;const o=t?Object.getOwnPropertyNames(i):Object.keys(i),s=o.length;let a;for(n=0;n<s;n++)a=o[n],e.call(null,i[a],a,i)}}function m_e(i,e){if(Fw(i))return null;e=e.toLowerCase();const t=Object.keys(i);let n=t.length,r;for(;n-- >0;)if(r=t[n],e===r.toLowerCase())return r;return null}const I2=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,v_e=i=>!Bw(i)&&i!==I2;function Bz(){const{caseless:i}=v_e(this)&&this||{},e={},t=(n,r)=>{const o=i&&m_e(e,r)||r;m7(e[o])&&m7(n)?e[o]=Bz(e[o],n):m7(n)?e[o]=Bz({},n):uC(n)?e[o]=n.slice():e[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&$w(arguments[n],t);return e}const Nwt=(i,e,t,{allOwnKeys:n}={})=>($w(e,(r,o)=>{t&&_h(r)?i[o]=d_e(r,t):i[o]=r},{allOwnKeys:n}),i),$wt=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),Hwt=(i,e,t,n)=>{i.prototype=Object.create(e.prototype,n),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),t&&Object.assign(i.prototype,t)},zwt=(i,e,t,n)=>{let r,o,s;const a={};if(e=e||{},i==null)return e;do{for(r=Object.getOwnPropertyNames(i),o=r.length;o-- >0;)s=r[o],(!n||n(s,i,e))&&!a[s]&&(e[s]=i[s],a[s]=!0);i=t!==!1&&Lz(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e},Wwt=(i,e,t)=>{i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;const n=i.indexOf(e,t);return n!==-1&&n===t},Vwt=i=>{if(!i)return null;if(uC(i))return i;let e=i.length;if(!p_e(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=i[e];return t},jwt=(i=>e=>i&&e instanceof i)(typeof Uint8Array!="undefined"&&Lz(Uint8Array)),Uwt=(i,e)=>{const n=(i&&i[f7]).call(i);let r;for(;(r=n.next())&&!r.done;){const o=r.value;e.call(i,o[0],o[1])}},Gwt=(i,e)=>{let t;const n=[];for(;(t=i.exec(e))!==null;)n.push(t);return n},qwt=l0("HTMLFormElement"),Ywt=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),b_e=(({hasOwnProperty:i})=>(e,t)=>i.call(e,t))(Object.prototype),Xwt=l0("RegExp"),y_e=(i,e)=>{const t=Object.getOwnPropertyDescriptors(i),n={};$w(t,(r,o)=>{let s;(s=e(r,o,i))!==!1&&(n[o]=s||r)}),Object.defineProperties(i,n)},Kwt=i=>{y_e(i,(e,t)=>{if(_h(i)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=i[t];if(_h(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+"'")})}})},Zwt=(i,e)=>{const t={},n=r=>{r.forEach(o=>{t[o]=!0})};return uC(i)?n(i):n(String(i).split(e)),t},Qwt=()=>{},Jwt=(i,e)=>i!=null&&Number.isFinite(i=+i)?i:e;function e6t(i){return!!(i&&_h(i.append)&&i[f_e]==="FormData"&&i[f7])}const t6t=i=>{const e=new Array(10),t=(n,r)=>{if(Nw(n)){if(e.indexOf(n)>=0)return;if(Fw(n))return n;if(!("toJSON"in n)){e[r]=n;const o=uC(n)?[]:{};return $w(n,(s,a)=>{const l=t(s,r+1);!Bw(l)&&(o[a]=l)}),e[r]=void 0,o}}return n};return t(i,0)},i6t=l0("AsyncFunction"),n6t=i=>i&&(Nw(i)||_h(i))&&_h(i.then)&&_h(i.catch),__e=((i,e)=>i?setImmediate:e?((t,n)=>(I2.addEventListener("message",({source:r,data:o})=>{r===I2&&o===t&&n.length&&n.shift()()},!1),r=>{n.push(r),I2.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",_h(I2.postMessage)),r6t=typeof queueMicrotask!="undefined"?queueMicrotask.bind(I2):typeof process!="undefined"&&process.nextTick||__e,ai={isArray:uC,isArrayBuffer:g_e,isBuffer:Fw,isFormData:Owt,isArrayBufferView:Swt,isString:xwt,isNumber:p_e,isBoolean:wwt,isObject:Nw,isPlainObject:m7,isEmptyObject:Ewt,isReadableStream:Dwt,isRequest:Pwt,isResponse:Lwt,isHeaders:Bwt,isUndefined:Bw,isDate:Awt,isFile:Twt,isBlob:Rwt,isRegExp:Xwt,isFunction:_h,isStream:kwt,isURLSearchParams:Iwt,isTypedArray:jwt,isFileList:Mwt,forEach:$w,merge:Bz,extend:Nwt,trim:Fwt,stripBOM:$wt,inherits:Hwt,toFlatObject:zwt,kindOf:g7,kindOfTest:l0,endsWith:Wwt,toArray:Vwt,forEachEntry:Uwt,matchAll:Gwt,isHTMLForm:qwt,hasOwnProperty:b_e,hasOwnProp:b_e,reduceDescriptors:y_e,freezeMethods:Kwt,toObjectSet:Zwt,toCamelCase:Ywt,noop:Qwt,toFiniteNumber:Jwt,findKey:m_e,global:I2,isContextDefined:v_e,isSpecCompliantForm:e6t,toJSONObject:t6t,isAsyncFn:i6t,isThenable:n6t,setImmediate:__e,asap:r6t,isIterable:i=>i!=null&&_h(i[f7])};function Qr(i,e,t,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}ai.inherits(Qr,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:ai.toJSONObject(this.config),code:this.code,status:this.status}}});const C_e=Qr.prototype,S_e={};["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(i=>{S_e[i]={value:i}}),Object.defineProperties(Qr,S_e),Object.defineProperty(C_e,"isAxiosError",{value:!0}),Qr.from=(i,e,t,n,r,o)=>{const s=Object.create(C_e);return ai.toFlatObject(i,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Qr.call(s,i.message,e,t,n,r),s.cause=i,s.name=i.name,o&&Object.assign(s,o),s};const o6t=null;function Fz(i){return ai.isPlainObject(i)||ai.isArray(i)}function x_e(i){return ai.endsWith(i,"[]")?i.slice(0,-2):i}function w_e(i,e,t){return i?i.concat(e).map(function(r,o){return r=x_e(r),!t&&o?"["+r+"]":r}).join(t?".":""):e}function s6t(i){return ai.isArray(i)&&!i.some(Fz)}const a6t=ai.toFlatObject(ai,{},null,function(e){return/^is[A-Z]/.test(e)});function v7(i,e,t){if(!ai.isObject(i))throw new TypeError("target must be an object");e=e||new FormData,t=ai.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!ai.isUndefined(m[p])});const n=t.metaTokens,r=t.visitor||c,o=t.dots,s=t.indexes,l=(t.Blob||typeof Blob!="undefined"&&Blob)&&ai.isSpecCompliantForm(e);if(!ai.isFunction(r))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(ai.isDate(g))return g.toISOString();if(ai.isBoolean(g))return g.toString();if(!l&&ai.isBlob(g))throw new Qr("Blob is not supported. Use a Buffer instead.");return ai.isArrayBuffer(g)||ai.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function c(g,p,m){let v=g;if(g&&!m&&typeof g=="object"){if(ai.endsWith(p,"{}"))p=n?p:p.slice(0,-2),g=JSON.stringify(g);else if(ai.isArray(g)&&s6t(g)||(ai.isFileList(g)||ai.endsWith(p,"[]"))&&(v=ai.toArray(g)))return p=x_e(p),v.forEach(function(y,C){!(ai.isUndefined(y)||y===null)&&e.append(s===!0?w_e([p],C,o):s===null?p:p+"[]",u(y))}),!1}return Fz(g)?!0:(e.append(w_e(m,p,o),u(g)),!1)}const h=[],d=Object.assign(a6t,{defaultVisitor:c,convertValue:u,isVisitable:Fz});function f(g,p){if(!ai.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),ai.forEach(g,function(v,b){(!(ai.isUndefined(v)||v===null)&&r.call(e,v,ai.isString(b)?b.trim():b,p,d))===!0&&f(v,p?p.concat(b):[b])}),h.pop()}}if(!ai.isObject(i))throw new TypeError("data must be an object");return f(i),e}function E_e(i){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Nz(i,e){this._pairs=[],i&&v7(i,this,e)}const A_e=Nz.prototype;A_e.append=function(e,t){this._pairs.push([e,t])},A_e.toString=function(e){const t=e?function(n){return e.call(this,n,E_e)}:E_e;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function l6t(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function T_e(i,e,t){if(!e)return i;const n=t&&t.encode||l6t;ai.isFunction(t)&&(t={serialize:t});const r=t&&t.serialize;let o;if(r?o=r(e,t):o=ai.isURLSearchParams(e)?e.toString():new Nz(e,t).toString(n),o){const s=i.indexOf("#");s!==-1&&(i=i.slice(0,s)),i+=(i.indexOf("?")===-1?"?":"&")+o}return i}class R_e{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){ai.forEach(this.handlers,function(n){n!==null&&e(n)})}}const M_e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u6t={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams!="undefined"?URLSearchParams:Nz,FormData:typeof FormData!="undefined"?FormData:null,Blob:typeof Blob!="undefined"?Blob:null},protocols:["http","https","file","blob","url","data"]},$z=typeof window!="undefined"&&typeof document!="undefined",Hz=typeof navigator=="object"&&navigator||void 0,c6t=$z&&(!Hz||["ReactNative","NativeScript","NS"].indexOf(Hz.product)<0),h6t=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",d6t=$z&&window.location.href||"http://localhost",Cu=Ae(Ae({},Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$z,hasStandardBrowserEnv:c6t,hasStandardBrowserWebWorkerEnv:h6t,navigator:Hz,origin:d6t},Symbol.toStringTag,{value:"Module"}))),u6t);function f6t(i,e){return v7(i,new Cu.classes.URLSearchParams,Ae({visitor:function(t,n,r,o){return Cu.isNode&&ai.isBuffer(t)?(this.append(n,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function g6t(i){return ai.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function p6t(i){const e={},t=Object.keys(i);let n;const r=t.length;let o;for(n=0;n<r;n++)o=t[n],e[o]=i[o];return e}function k_e(i){function e(t,n,r,o){let s=t[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=o>=t.length;return s=!s&&ai.isArray(r)?r.length:s,l?(ai.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!a):((!r[s]||!ai.isObject(r[s]))&&(r[s]=[]),e(t,n,r[s],o)&&ai.isArray(r[s])&&(r[s]=p6t(r[s])),!a)}if(ai.isFormData(i)&&ai.isFunction(i.entries)){const t={};return ai.forEachEntry(i,(n,r)=>{e(g6t(n),r,t,0)}),t}return null}function m6t(i,e,t){if(ai.isString(i))try{return(e||JSON.parse)(i),ai.trim(i)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(i)}const Hw={transitional:M_e,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=ai.isObject(e);if(o&&ai.isHTMLForm(e)&&(e=new FormData(e)),ai.isFormData(e))return r?JSON.stringify(k_e(e)):e;if(ai.isArrayBuffer(e)||ai.isBuffer(e)||ai.isStream(e)||ai.isFile(e)||ai.isBlob(e)||ai.isReadableStream(e))return e;if(ai.isArrayBufferView(e))return e.buffer;if(ai.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return f6t(e,this.formSerializer).toString();if((a=ai.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return v7(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),m6t(e)):e}],transformResponse:[function(e){const t=this.transitional||Hw.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(ai.isResponse(e)||ai.isReadableStream(e))return e;if(e&&ai.isString(e)&&(n&&!this.responseType||r)){const s=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Qr.from(a,Qr.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Cu.classes.FormData,Blob:Cu.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ai.forEach(["delete","get","head","post","put","patch"],i=>{Hw.headers[i]={}});const v6t=ai.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"]),b6t=i=>{const e={};let t,n,r;return i&&i.split(`
|
|
131
|
+
*/return i.NODE_ENV!=="production"&&(function(){function e(c,h){return c===h&&(c!==0||1/c===1/h)||c!==c&&h!==h}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=ne,n=Yye(),r=typeof Object.is=="function"?Object.is:e,o=n.useSyncExternalStore,s=t.useRef,a=t.useEffect,l=t.useMemo,u=t.useDebugValue;Dz.useSyncExternalStoreWithSelector=function(c,h,d,f,g){var p=s(null);if(p.current===null){var m={hasValue:!1,value:null};p.current=m}else m=p.current;p=l(function(){function b(w){if(!y){if(y=!0,C=w,w=f(w),g!==void 0&&m.hasValue){var E=m.value;if(g(E,w))return x=E}return x=w}if(E=x,r(C,w))return E;var A=f(w);return g!==void 0&&g(E,A)?(C=w,E):(C=w,x=A)}var y=!1,C,x,S=d===void 0?null:d;return[function(){return b(h())},S===null?void 0:function(){return b(S())}]},[h,d,f,g]);var v=o(c,p[0],p[1]);return a(function(){m.hasValue=!0,m.value=v},[v]),u(v),v},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Dz}var Zye;function j4t(){if(Zye)return o7.exports;Zye=1;var i={};return i.NODE_ENV==="production"?o7.exports=W4t():o7.exports=V4t(),o7.exports}var U4t=j4t();const G4t=jr(U4t),{useDebugValue:q4t}=ne,{useSyncExternalStoreWithSelector:Y4t}=G4t,X4t=i=>i;function K4t(i,e=X4t,t){const n=Y4t(i.subscribe,i.getState,i.getServerState||i.getInitialState,e,t);return q4t(n),n}var a7={exports:{}},Z4t=a7.exports,Qye;function Jye(){return Qye||(Qye=1,(function(i,e){(function(t,n){i.exports=n()})(Z4t,(function(){var t=1e3,n=6e4,r=36e5,o="millisecond",s="second",a="minute",l="hour",u="day",c="week",h="month",d="quarter",f="year",g="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|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,b={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(P){var F=["th","st","nd","rd"],N=P%100;return"["+P+(F[(N-20)%10]||F[N]||F[0])+"]"}},y=function(P,F,N){var H=String(P);return!H||H.length>=F?P:""+Array(F+1-H.length).join(N)+P},C={s:y,z:function(P){var F=-P.utcOffset(),N=Math.abs(F),H=Math.floor(N/60),W=N%60;return(F<=0?"+":"-")+y(H,2,"0")+":"+y(W,2,"0")},m:function P(F,N){if(F.date()<N.date())return-P(N,F);var H=12*(N.year()-F.year())+(N.month()-F.month()),W=F.clone().add(H,h),U=N-W<0,$=F.clone().add(H+(U?-1:1),h);return+(-(H+(N-W)/(U?W-$:$-W))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:h,y:f,w:c,d:u,D:g,h:l,m:a,s,ms:o,Q:d}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},x="en",S={};S[x]=b;var w="$isDayjsObject",E=function(P){return P instanceof O||!(!P||!P[w])},A=function P(F,N,H){var W;if(!F)return x;if(typeof F=="string"){var U=F.toLowerCase();S[U]&&(W=U),N&&(S[U]=N,W=U);var $=F.split("-");if(!W&&$.length>1)return P($[0])}else{var Y=F.name;S[Y]=F,W=Y}return!H&&W&&(x=W),W||!H&&x},T=function(P,F){if(E(P))return P.clone();var N=typeof F=="object"?F:{};return N.date=P,N.args=arguments,new O(N)},M=C;M.l=A,M.i=E,M.w=function(P,F){return T(P,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var O=(function(){function P(N){this.$L=A(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[w]=!0}var F=P.prototype;return F.parse=function(N){this.$d=(function(H){var W=H.date,U=H.utc;if(W===null)return new Date(NaN);if(M.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var $=W.match(m);if($){var Y=$[2]-1||0,K=($[7]||"0").substring(0,3);return U?new Date(Date.UTC($[1],Y,$[3]||1,$[4]||0,$[5]||0,$[6]||0,K)):new Date($[1],Y,$[3]||1,$[4]||0,$[5]||0,$[6]||0,K)}}return new Date(W)})(N),this.init()},F.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},F.$utils=function(){return M},F.isValid=function(){return this.$d.toString()!==p},F.isSame=function(N,H){var W=T(N);return this.startOf(H)<=W&&W<=this.endOf(H)},F.isAfter=function(N,H){return T(N)<this.startOf(H)},F.isBefore=function(N,H){return this.endOf(H)<T(N)},F.$g=function(N,H,W){return M.u(N)?this[H]:this.set(W,N)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(N,H){var W=this,U=!!M.u(H)||H,$=M.p(N),Y=function(ue,de){var le=M.w(W.$u?Date.UTC(W.$y,de,ue):new Date(W.$y,de,ue),W);return U?le:le.endOf(u)},K=function(ue,de){return M.w(W.toDate()[ue].apply(W.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(de)),W)},z=this.$W,J=this.$M,te=this.$D,oe="set"+(this.$u?"UTC":"");switch($){case f:return U?Y(1,0):Y(31,11);case h:return U?Y(1,J):Y(0,J+1);case c:var Q=this.$locale().weekStart||0,re=(z<Q?z+7:z)-Q;return Y(U?te-re:te+(6-re),J);case u:case g:return K(oe+"Hours",0);case l:return K(oe+"Minutes",1);case a:return K(oe+"Seconds",2);case s:return K(oe+"Milliseconds",3);default:return this.clone()}},F.endOf=function(N){return this.startOf(N,!1)},F.$set=function(N,H){var W,U=M.p(N),$="set"+(this.$u?"UTC":""),Y=(W={},W[u]=$+"Date",W[g]=$+"Date",W[h]=$+"Month",W[f]=$+"FullYear",W[l]=$+"Hours",W[a]=$+"Minutes",W[s]=$+"Seconds",W[o]=$+"Milliseconds",W)[U],K=U===u?this.$D+(H-this.$W):H;if(U===h||U===f){var z=this.clone().set(g,1);z.$d[Y](K),z.init(),this.$d=z.set(g,Math.min(this.$D,z.daysInMonth())).$d}else Y&&this.$d[Y](K);return this.init(),this},F.set=function(N,H){return this.clone().$set(N,H)},F.get=function(N){return this[M.p(N)]()},F.add=function(N,H){var W,U=this;N=Number(N);var $=M.p(H),Y=function(J){var te=T(U);return M.w(te.date(te.date()+Math.round(J*N)),U)};if($===h)return this.set(h,this.$M+N);if($===f)return this.set(f,this.$y+N);if($===u)return Y(1);if($===c)return Y(7);var K=(W={},W[a]=n,W[l]=r,W[s]=t,W)[$]||1,z=this.$d.getTime()+N*K;return M.w(z,this)},F.subtract=function(N,H){return this.add(-1*N,H)},F.format=function(N){var H=this,W=this.$locale();if(!this.isValid())return W.invalidDate||p;var U=N||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),Y=this.$H,K=this.$m,z=this.$M,J=W.weekdays,te=W.months,oe=W.meridiem,Q=function(de,le,ce,ae){return de&&(de[le]||de(H,U))||ce[le].slice(0,ae)},re=function(de){return M.s(Y%12||12,de,"0")},ue=oe||function(de,le,ce){var ae=de<12?"AM":"PM";return ce?ae.toLowerCase():ae};return U.replace(v,(function(de,le){return le||(function(ce){switch(ce){case"YY":return String(H.$y).slice(-2);case"YYYY":return M.s(H.$y,4,"0");case"M":return z+1;case"MM":return M.s(z+1,2,"0");case"MMM":return Q(W.monthsShort,z,te,3);case"MMMM":return Q(te,z);case"D":return H.$D;case"DD":return M.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return Q(W.weekdaysMin,H.$W,J,2);case"ddd":return Q(W.weekdaysShort,H.$W,J,3);case"dddd":return J[H.$W];case"H":return String(Y);case"HH":return M.s(Y,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return ue(Y,K,!0);case"A":return ue(Y,K,!1);case"m":return String(K);case"mm":return M.s(K,2,"0");case"s":return String(H.$s);case"ss":return M.s(H.$s,2,"0");case"SSS":return M.s(H.$ms,3,"0");case"Z":return $}return null})(de)||$.replace(":","")}))},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(N,H,W){var U,$=this,Y=M.p(H),K=T(N),z=(K.utcOffset()-this.utcOffset())*n,J=this-K,te=function(){return M.m($,K)};switch(Y){case f:U=te()/12;break;case h:U=te();break;case d:U=te()/3;break;case c:U=(J-z)/6048e5;break;case u:U=(J-z)/864e5;break;case l:U=J/r;break;case a:U=J/n;break;case s:U=J/t;break;default:U=J}return W?U:M.a(U)},F.daysInMonth=function(){return this.endOf(h).$D},F.$locale=function(){return S[this.$L]},F.locale=function(N,H){if(!N)return this.$L;var W=this.clone(),U=A(N,H,!0);return U&&(W.$L=U),W},F.clone=function(){return M.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},P})(),I=O.prototype;return T.prototype=I,[["$ms",o],["$s",s],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",g]].forEach((function(P){I[P[1]]=function(F){return this.$g(F,P[0],P[1])}})),T.extend=function(P,F){return P.$i||(P(F,O,T),P.$i=!0),T},T.locale=A,T.isDayjs=E,T.unix=function(P){return T(1e3*P)},T.en=S[x],T.Ls=S,T.p={},T}))})(a7)),a7.exports}var Q4t=Jye();const Hr=jr(Q4t),Om="YYYY/MM/DD HH:mm:ss",l7="YYYY-MM-DD HH:mm:ss";var e_e=(i=>(i.Second="second",i.Minute="minute",i.Hour="hour",i.Day="day",i.Week="week",i.Month="month",i.Quarter="quarter",i.Year="year",i))(e_e||{});const J4t={second:"YYYY/MM/DD HH:mm:ss",minute:"YYYY/MM/DD HH:mm",hour:"YYYY/MM/DD HH",day:"YYYY/MM/DD",week:"YYYY/MM/DD",month:"YYYY/MM",quarter:"YYYY/MM",year:"YYYY"},t_e=(i,e=Om)=>{let t=null;return typeof i=="number"?i>=1e9&&i<=2e9?t=Hr(i*1e3):t=Hr(i):typeof i=="string"&&(t=Hr(i)),!t||!t.isValid()?i:t.format(e)},ewt=["time","date","timestamp","metricTime"],twt=i=>Hr(i).isValid()?!0:typeof i=="string"?!isNaN(Date.parse(i))||/^\d{4}-\d{2}-\d{2}/.test(i):!1,iwt=(i,e)=>{const t=e.filter(n=>ewt.includes(n.toLowerCase()));return t.length>0?i.map(n=>{const r=Ae({},n);return t.forEach(o=>{r[o]&&twt(r[o])&&(r[o]=t_e(r[o]))}),r}):i};var pg=(i=>(i[i.Number=0]="Number",i[i.String=1]="String",i[i.Timestamp=2]="Timestamp",i[i.Date=3]="Date",i[i.Boolean=4]="Boolean",i))(pg||{});const i_e={timestamp:2,datetime:2,timestamptz:2,date:3,time:3,number:0,double:0,bigint:0,numerical:0,ratio:0,count:0,float:0,int:0,decimal:0,string:1},n_e=(i,e)=>t_e(i,e||Om),u7=(i,e,t)=>{let n,r=i==null?void 0:i.find(o=>o.fieldName===e);if(r!=null&&r.type){const o=C4t(r.type);n=i_e[o]}return!n&&t&&(n=i_e[typeof t]),n},nwt=(i,e,t,n)=>{const r=u7(i,e,t);return r===pg.Timestamp||r===pg.Date?n_e(t,n):t},rwt=(i=[],e,t)=>{const n=u7(i,e,t);return n===pg.Timestamp||n===pg.Date?Hr(t).valueOf():t},O2=()=>{const{chartJson:i,controllerConfig:e,dataSourceQueryInfo:t,dataset:n,drillBy:r}=m0(),o=()=>{var h,d,f,g;return r!=null&&r.visible&&((d=(h=r==null?void 0:r.config)==null?void 0:h.current)!=null&&d.selectedTimeGrain)?(g=(f=r==null?void 0:r.config)==null?void 0:f.current)==null?void 0:g.selectedTimeGrain:(e==null?void 0:e.timeGrain)||(i==null?void 0:i.timeGrain)||e_e.Day},s=()=>{const h=o();return J4t[h]||Om},a=(h,d)=>{let f=d||s();return n_e(h,f)},l=(h,d)=>{var g;let f=[];return(g=t==null?void 0:t.fieldInfo)!=null&&g.length?f=(t==null?void 0:t.fieldInfo)||[]:f=(n==null?void 0:n.fieldInfo)||[],u7(f,h,d)};return{formatTime:a,getFieldType:l,formatValue:(h,d,f)=>{const g=l(h,d);return g===pg.Timestamp||g===pg.Date?a(d,f):d},getAxesType:h=>{const d=l(h);return d===pg.Timestamp||d===pg.Date?"band":d===pg.Number?"linear":"band"}}};var Ow=(i=>(i[i.Number=0]="Number",i[i.String=1]="String",i[i.Timestamp=2]="Timestamp",i[i.Date=3]="Date",i[i.Boolean=4]="Boolean",i[i.Other=5]="Other",i))(Ow||{});const lC=(i,e)=>Object.prototype.toString.call(i)===`[object ${e}]`,Yu=(i,e=!1)=>e?typeof i=="boolean":i===!0||i===!1||lC(i,"Boolean"),Xu=i=>typeof i=="function",vr=i=>i==null,De=i=>i!=null,wa=i=>{const e=typeof i;return i!==null&&e==="object"||e==="function"},owt=i=>typeof i=="object"&&i!==null,Iw=function(i){if(!owt(i)||!lC(i,"Object"))return!1;if(Object.getPrototypeOf(i)===null)return!0;let e=i;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(i)===e},rs=(i,e=!1)=>{const t=typeof i;return e?t==="string":t==="string"||lC(i,"String")},Ht=i=>Array.isArray?Array.isArray(i):lC(i,"Array"),Pz=function(i){return i!==null&&typeof i!="function"&&Number.isFinite(i.length)},swt=i=>lC(i,"Date"),_i=(i,e=!1)=>{const t=typeof i;return e?t==="number":t==="number"||lC(i,"Number")},Ku=i=>_i(i)&&Number.isFinite(i),awt=i=>({}).toString.call(i).replace(/^\[object /,"").replace(/]$/,""),lwt=Object.prototype,uwt=function(i){const e=i&&i.constructor;return i===(typeof e=="function"&&e.prototype||lwt)},cwt=Object.prototype.hasOwnProperty;function ou(i){if(vr(i))return!0;if(Pz(i))return!i.length;const e=awt(i);if(e==="Map"||e==="Set")return!i.size;if(uwt(i))return!Object.keys(i).length;for(const t in i)if(cwt.call(i,t))return!1;return!0}const c7=(i,e,t)=>{const n=rs(e)?e.split("."):e;for(let r=0;r<n.length;r++)i=i?i[n[r]]:void 0;return i===void 0?t:i};function La(i,e,t){let n;if(!De(i)||typeof i!="object"||e)return i;const r=Ht(i),o=i.length;n=r?new Array(o):typeof i=="object"?{}:Yu(i)||_i(i)||rs(i)?i:swt(i)?new Date(+i):void 0;const s=r?void 0:Object.keys(Object(i));let a=-1;if(n)for(;++a<(s||i).length;){const l=s?s[a]:a,u=i[l];t&&t.includes(l.toString())?n[l]=u:n[l]=La(u,e,t)}return n}function r_e(i,e,t=!1,n=!1){if(e){if(i===e)return;if(De(e)&&typeof e=="object"){const r=Object(e),o=[];for(const l in r)o.push(l);let{length:s}=o,a=-1;for(;s--;){const l=o[++a];!De(r[l])||typeof r[l]!="object"||n&&Ht(i[l])?o_e(i,l,r[l]):hwt(i,e,l,t,n)}}}}function hwt(i,e,t,n=!1,r=!1){const o=i[t],s=e[t];let a=e[t],l=!0;if(Ht(s)){if(n)a=[];else if(Ht(o))a=o;else if(Pz(o)){a=new Array(o.length);let u=-1;const c=o.length;for(;++u<c;)a[u]=o[u]}}else Iw(s)?(a=o!=null?o:{},typeof o!="function"&&typeof o=="object"||(a={})):l=!1;l&&r_e(a,s,n,r),o_e(i,t,a)}function o_e(i,e,t){(t!==void 0&&!dwt(i[e],t)||t===void 0&&!(e in i))&&(i[e]=t)}function dwt(i,e){return i===e||Number.isNaN(i)&&Number.isNaN(e)}function ar(i,...e){let t=-1;const n=e.length;for(;++t<n;)r_e(i,e[t],!0);return i}const fwt=Object.prototype.hasOwnProperty;function Dw(i,e){if(!i||!Iw(i))return i;const t={};return e.forEach((n=>{fwt.call(i,n)&&(t[n]=i[n])})),t}function gwt(i,e){if(!i||!Iw(i))return i;const t={};return Object.keys(i).forEach((n=>{const r=i[n];let o=!1;e.forEach((s=>{(rs(s)&&s===n||s instanceof RegExp&&n.match(s))&&(o=!0)})),o||(t[n]=r)})),t}function s_e(i){return Object.prototype.toString.call(i)}function a_e(i){return Object.keys(i)}function Pw(i,e,t){if(i===e)return!0;if(typeof i!=typeof e||i==null||e==null)return!1;if(Number.isNaN(i)&&Number.isNaN(e))return!0;if(s_e(i)!==s_e(e)||Xu(i)||typeof i!="object")return!1;if(Ht(i)){if(i.length!==e.length)return!1;for(let o=i.length-1;o>=0;o--)if(!Pw(i[o],e[o]))return!1;return!0}if(!Iw(i))return!1;const n=a_e(i),r=a_e(e);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=n.length-1;o>=0;o--)if(n[o]!=r[o])return!1;for(let o=n.length-1;o>=0;o--){const s=n[o];if(!Pw(i[s],e[s]))return!1}return!0}function Ba(i){return De(i)?Ht(i)?i:[i]:[]}function pwt(i){if(Pz(i))return i[i.length-1]}const l_e=(i,e)=>{var t;if(i.length===0)return;let n=i[0];for(let r=1;r<i.length;r++){const o=i[r];((t=void 0)!==null&&t!==void 0?t:o-n)>0&&(n=o)}return n},u_e=(i,e)=>{var t;if(i.length===0)return;let n=i[0];for(let r=1;r<i.length;r++){const o=i[r];((t=void 0)!==null&&t!==void 0?t:o-n)<0&&(n=o)}return n};function mwt(i,e){if(!Ht(i)||!Ht(e)||i.length!==e.length)return!1;for(let t=0;t<i.length;t++)if(i[t]!==e[t])return!1;return!0}function yh(i){return i&&Ht(i)?Array.from(new Set(Ba(i))):i}function vwt(i,e,t){De(e)||(e=i,i=0),De(t)||(t=1);let n=-1;const r=0|Math.max(0,Math.ceil((e-i)/t)),o=new Array(r);for(;++n<r;)o[n]=i+n*t;return o}const bwt=typeof console!="undefined";function h7(i,e,t){const n=[e].concat([].slice.call(t));bwt&&console[i].apply(console,n)}var a0;(function(i){i[i.None=0]="None",i[i.Error=1]="Error",i[i.Warn=2]="Warn",i[i.Info=3]="Info",i[i.Debug=4]="Debug"})(a0||(a0={}));let c_e=class Td{static getInstance(e,t){return Td._instance&&_i(e)?Td._instance.level(e):Td._instance||(Td._instance=new Td(e,t)),Td._instance}static setInstance(e){return Td._instance=e}static setInstanceLevel(e){Td._instance?Td._instance.level(e):Td._instance=new Td(e)}static clearInstance(){Td._instance=null}constructor(e=a0.None,t){this._onErrorHandler=[],this._level=e,this._method=t}addErrorHandler(e){this._onErrorHandler.find((t=>t===e))||this._onErrorHandler.push(e)}removeErrorHandler(e){const t=this._onErrorHandler.findIndex((n=>n===e));t<0||this._onErrorHandler.splice(t,1)}callErrorHandler(...e){this._onErrorHandler.forEach((t=>t(...e)))}canLogInfo(){return this._level>=a0.Info}canLogDebug(){return this._level>=a0.Debug}canLogError(){return this._level>=a0.Error}canLogWarn(){return this._level>=a0.Warn}level(e){return arguments.length?(this._level=+e,this):this._level}error(...e){var t;return this._level>=a0.Error&&(this._onErrorHandler.length?this.callErrorHandler(...e):h7((t=this._method)!==null&&t!==void 0?t:"error","ERROR",e)),this}warn(...e){return this._level>=a0.Warn&&h7(this._method||"warn","WARN",e),this}info(...e){return this._level>=a0.Info&&h7(this._method||"log","INFO",e),this}debug(...e){return this._level>=a0.Debug&&h7(this._method||"log","DEBUG",e),this}};c_e._instance=null;function d7(i){return i*(Math.PI/180)}const h_e=i=>{let e=i.charCodeAt(0),t=i.length===2?i.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=t&&t<=57343&&(e&=1023,t&=1023,n=e<<10|t,n+=65536),n===12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":n===8361||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||n===172||n===175||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":n===161||n===164||167<=n&&n<=168||n===170||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||n===198||n===208||215<=n&&n<=216||222<=n&&n<=225||n===230||232<=n&&n<=234||236<=n&&n<=237||n===240||242<=n&&n<=243||247<=n&&n<=250||n===252||n===254||n===257||n===273||n===275||n===283||294<=n&&n<=295||n===299||305<=n&&n<=307||n===312||319<=n&&n<=322||n===324||328<=n&&n<=331||n===333||338<=n&&n<=339||358<=n&&n<=359||n===363||n===462||n===464||n===466||n===468||n===470||n===472||n===474||n===476||n===593||n===609||n===708||n===711||713<=n&&n<=715||n===717||n===720||728<=n&&n<=731||n===733||n===735||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||n===1025||1040<=n&&n<=1103||n===1105||n===8208||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||n===8240||8242<=n&&n<=8243||n===8245||n===8251||n===8254||n===8308||n===8319||8321<=n&&n<=8324||n===8364||n===8451||n===8453||n===8457||n===8467||n===8470||8481<=n&&n<=8482||n===8486||n===8491||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||n===8585||8592<=n&&n<=8601||8632<=n&&n<=8633||n===8658||n===8660||n===8679||n===8704||8706<=n&&n<=8707||8711<=n&&n<=8712||n===8715||n===8719||n===8721||n===8725||n===8730||8733<=n&&n<=8736||n===8739||n===8741||8743<=n&&n<=8748||n===8750||8756<=n&&n<=8759||8764<=n&&n<=8765||n===8776||n===8780||n===8786||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||n===8853||n===8857||n===8869||n===8895||n===8978||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||n===9675||9678<=n&&n<=9681||9698<=n&&n<=9701||n===9711||9733<=n&&n<=9734||n===9737||9742<=n&&n<=9743||9748<=n&&n<=9749||n===9756||n===9758||n===9792||n===9794||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||n===9839||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||n===9955||9960<=n&&n<=9983||n===10045||n===10071||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||n===65533||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"};function ywt(i,e={},t){t||(t=1);const{fontStyle:n=e.fontStyle,fontVariant:r=e.fontVariant,fontWeight:o=e.fontWeight,fontSize:s=e.fontSize,fontFamily:a=e.fontFamily}=i;return(n?n+" ":"")+(r?r+" ":"")+(o?o+" ":"")+s*t+"px "+(a||"sans-serif")}class Zh{constructor(e,t){this._numberCharSize=null,this._fullCharSize=null,this._letterCharSize=null,this._specialCharSizeMap={},this._canvas=null,this._context=null,this._contextSaved=!1,this._notSupportCanvas=!1,this._notSupportVRender=!1,this._userSpec={},this.specialCharSet=`-/: .,@%'"~`,this._option=e,this._userSpec=t!=null?t:{},this.textSpec=this._initSpec(),De(e.specialCharSet)&&(this.specialCharSet=e.specialCharSet),this._standardMethod=De(e.getTextBounds)?this.fullMeasure.bind(this):this.measureWithNaiveCanvas.bind(this)}initContext(){if(this._notSupportCanvas)return!1;if(vr(this._canvas)&&(De(this._option.getCanvasForMeasure)&&(this._canvas=this._option.getCanvasForMeasure()),vr(this._canvas)&&typeof window!="undefined"&&window.document!==void 0&&globalThis&&De(globalThis.document)&&(this._canvas=globalThis.document.createElement("canvas"))),vr(this._context)&&De(this._canvas)){const e=this._canvas.getContext("2d");De(e)&&(e.save(),e.font=ywt(this.textSpec),this._contextSaved=!0,this._context=e)}return!vr(this._context)||(this._notSupportCanvas=!0,!1)}_initSpec(){var e,t,n;const{defaultFontParams:r={}}=this._option,{fontStyle:o=r.fontStyle,fontVariant:s=r.fontVariant,fontWeight:a=(e=r.fontWeight)!==null&&e!==void 0?e:"normal",fontSize:l=(t=r.fontSize)!==null&&t!==void 0?t:12,fontFamily:u=(n=r.fontFamily)!==null&&n!==void 0?n:"sans-serif",align:c,textAlign:h=c!=null?c:"center",baseline:d,textBaseline:f=d!=null?d:"middle",ellipsis:g,limit:p}=this._userSpec;let{lineHeight:m=l}=this._userSpec;if(rs(m)&&m[m.length-1]==="%"){const v=Number.parseFloat(m.substring(0,m.length-1))/100;m=l*v}return{fontStyle:o,fontVariant:s,fontFamily:u,fontSize:l,fontWeight:a,textAlign:h,textBaseline:f,ellipsis:g,limit:p,lineHeight:m}}measure(e,t){switch(t){case"vrender":case"canopus":return this.fullMeasure(e);case"canvas":return this.measureWithNaiveCanvas(e);case"simple":return this.quickMeasureWithoutCanvas(e);default:return this.quickMeasure(e)}}fullMeasure(e){if(vr(e))return{width:0,height:0};if(vr(this._option.getTextBounds)||!this._notSupportVRender)return this.measureWithNaiveCanvas(e);const{fontFamily:t,fontSize:n,fontWeight:r,textAlign:o,textBaseline:s,ellipsis:a,limit:l,lineHeight:u}=this.textSpec;let c;try{const h=this._option.getTextBounds({text:e,fontFamily:t,fontSize:n,fontWeight:r,textAlign:o,textBaseline:s,ellipsis:!!a,maxLineWidth:l||1/0,lineHeight:u});c={width:h.width(),height:h.height()}}catch(h){this._notSupportVRender=!0,c=this.measureWithNaiveCanvas(e)}return c}measureWithNaiveCanvas(e){return this._measureReduce(e,this._measureWithNaiveCanvas.bind(this))}_measureWithNaiveCanvas(e){var t;if(!this.initContext())return this._quickMeasureWithoutCanvas(e);const n=this._context.measureText(e),{fontSize:r,lineHeight:o}=this.textSpec;return{width:n.width,height:(t=o)!==null&&t!==void 0?t:r,fontBoundingBoxAscent:n.fontBoundingBoxAscent,fontBoundingBoxDescent:n.fontBoundingBoxDescent}}quickMeasure(e){return this._measureReduce(e,this._quickMeasure.bind(this))}_quickMeasure(e){const t={width:0,height:0};for(let n=0;n<e.length;n++){const r=e[n];let o=this._measureSpecialChar(r);vr(o)&&Zh.NUMBERS_CHAR_SET.includes(r)&&(o=this._measureNumberChar()),vr(o)&&["F","W"].includes(h_e(r))&&(o=this._measureFullSizeChar()),vr(o)&&(o=this._measureLetterChar()),t.width+=o.width,t.height=Math.max(t.height,o.height),!vr(o.fontBoundingBoxAscent)&&(t.fontBoundingBoxAscent=o.fontBoundingBoxAscent),!vr(o.fontBoundingBoxDescent)&&(t.fontBoundingBoxDescent=o.fontBoundingBoxDescent)}return t}quickMeasureWithoutCanvas(e){return this._measureReduce(e,this._quickMeasureWithoutCanvas.bind(this))}_quickMeasureWithoutCanvas(e){var t;const n={width:0,height:0},{fontSize:r,lineHeight:o}=this.textSpec;for(let s=0;s<e.length;s++){const a=e[s],l=["F","W"].includes(h_e(a))?1:.53;n.width+=l*r}return n.height=(t=o)!==null&&t!==void 0?t:r,n}_measureReduce(e,t){var n;const{fontSize:r,lineHeight:o}=this.textSpec,s={width:0,height:0};if(vr(e))return s;if(Ht(e)){const a=e.filter(De).map((l=>l.toString()));return a.length===0?s:a.length===1?t(a[0]):{width:a.reduce(((l,u)=>Math.max(l,t(u).width)),0),height:a.length*(((n=o)!==null&&n!==void 0?n:r)+1)+1}}return t(e.toString())}_measureNumberChar(){if(vr(this._numberCharSize)){const e=this._standardMethod(Zh.NUMBERS_CHAR_SET);this._numberCharSize={width:e.width/Zh.NUMBERS_CHAR_SET.length,height:e.height,fontBoundingBoxAscent:e.fontBoundingBoxAscent,fontBoundingBoxDescent:e.fontBoundingBoxDescent}}return this._numberCharSize}_measureFullSizeChar(){return vr(this._fullCharSize)&&(this._fullCharSize=this._standardMethod(Zh.FULL_SIZE_CHAR)),this._fullCharSize}_measureLetterChar(){if(vr(this._letterCharSize)){const e=this._standardMethod(Zh.ALPHABET_CHAR_SET);this._letterCharSize={width:e.width/Zh.ALPHABET_CHAR_SET.length,height:e.height,fontBoundingBoxAscent:e.fontBoundingBoxAscent,fontBoundingBoxDescent:e.fontBoundingBoxDescent}}return this._letterCharSize}_measureSpecialChar(e){return De(this._specialCharSizeMap[e])?this._specialCharSizeMap[e]:this.specialCharSet.includes(e)?(this._specialCharSizeMap[e]=this._standardMethod(e),this._specialCharSizeMap[e]):null}release(){De(this._canvas)&&(this._canvas=null),De(this._context)&&(this._contextSaved&&(this._context.restore(),this._contextSaved=!1),this._context=null)}}Zh.ALPHABET_CHAR_SET="abcdefghijklmnopqrstuvwxyz",Zh.NUMBERS_CHAR_SET="0123456789",Zh.FULL_SIZE_CHAR="字";function _wt(i,e,t){const{x1:n,y1:r,x2:o,y2:s}=e;return t.onlyTranslate()?(i!==e&&i.setValue(e.x1,e.y1,e.x2,e.y2),i.translate(t.e,t.f),e):(i.clear(),i.add(t.a*n+t.c*r+t.e,t.b*n+t.d*r+t.f),i.add(t.a*o+t.c*r+t.e,t.b*o+t.d*r+t.f),i.add(t.a*o+t.c*s+t.e,t.b*o+t.d*s+t.f),i.add(t.a*n+t.c*s+t.e,t.b*n+t.d*s+t.f),e)}class Im{constructor(e){e?this.setValue(e.x1,e.y1,e.x2,e.y2):this.clear()}clone(){return new Im(this)}clear(){return this.x1=+Number.MAX_VALUE,this.y1=+Number.MAX_VALUE,this.x2=-Number.MAX_VALUE,this.y2=-Number.MAX_VALUE,this}empty(){return this.x1===+Number.MAX_VALUE&&this.y1===+Number.MAX_VALUE&&this.x2===-Number.MAX_VALUE&&this.y2===-Number.MAX_VALUE}equals(e){return this.x1===e.x1&&this.y1===e.y1&&this.x2===e.x2&&this.y2===e.y2}setValue(e=0,t=0,n=0,r=0){return this.x1=e,this.y1=t,this.x2=n,this.y2=r,this}set(e=0,t=0,n=0,r=0){return n<e?(this.x2=e,this.x1=n):(this.x1=e,this.x2=n),r<t?(this.y2=t,this.y1=r):(this.y1=t,this.y2=r),this}add(e=0,t=0){return e<this.x1&&(this.x1=e),t<this.y1&&(this.y1=t),e>this.x2&&(this.x2=e),t>this.y2&&(this.y2=t),this}expand(e=0){return Ht(e)?(this.y1-=e[0],this.x2+=e[1],this.y2+=e[2],this.x1-=e[3]):(this.x1-=e,this.y1-=e,this.x2+=e,this.y2+=e),this}round(){return this.x1=Math.floor(this.x1),this.y1=Math.floor(this.y1),this.x2=Math.ceil(this.x2),this.y2=Math.ceil(this.y2),this}translate(e=0,t=0){return this.x1+=e,this.x2+=e,this.y1+=t,this.y2+=t,this}rotate(e=0,t=0,n=0){const r=this.rotatedPoints(e,t,n);return this.clear().add(r[0],r[1]).add(r[2],r[3]).add(r[4],r[5]).add(r[6],r[7])}scale(e=0,t=0,n=0,r=0){const o=this.scalePoints(e,t,n,r);return this.clear().add(o[0],o[1]).add(o[2],o[3])}union(e){return e.x1<this.x1&&(this.x1=e.x1),e.y1<this.y1&&(this.y1=e.y1),e.x2>this.x2&&(this.x2=e.x2),e.y2>this.y2&&(this.y2=e.y2),this}intersect(e){return e.x1>this.x1&&(this.x1=e.x1),e.y1>this.y1&&(this.y1=e.y1),e.x2<this.x2&&(this.x2=e.x2),e.y2<this.y2&&(this.y2=e.y2),this}encloses(e){return e&&this.x1<=e.x1&&this.x2>=e.x2&&this.y1<=e.y1&&this.y2>=e.y2}alignsWith(e){return e&&(this.x1===e.x1||this.x2===e.x2||this.y1===e.y1||this.y2===e.y2)}intersects(e){return e&&!(this.x2<e.x1||this.x1>e.x2||this.y2<e.y1||this.y1>e.y2)}contains(e=0,t=0){return!(e<this.x1||e>this.x2||t<this.y1||t>this.y2)}containsPoint(e){return!(e.x<this.x1||e.x>this.x2||e.y<this.y1||e.y>this.y2)}width(){return this.empty()?0:this.x2-this.x1}height(){return this.empty()?0:this.y2-this.y1}scaleX(e=0){return this.x1*=e,this.x2*=e,this}scaleY(e=0){return this.y1*=e,this.y2*=e,this}transformWithMatrix(e){return _wt(this,this,e),this}copy(e){return this.x1=e.x1,this.y1=e.y1,this.x2=e.x2,this.y2=e.y2,this}rotatedPoints(e,t,n){const{x1:r,y1:o,x2:s,y2:a}=this,l=Math.cos(e),u=Math.sin(e),c=t-t*l+n*u,h=n-t*u-n*l;return[l*r-u*o+c,u*r+l*o+h,l*r-u*a+c,u*r+l*a+h,l*s-u*o+c,u*s+l*o+h,l*s-u*a+c,u*s+l*a+h]}scalePoints(e,t,n,r){const{x1:o,y1:s,x2:a,y2:l}=this;return[e*o+(1-e)*n,t*s+(1-t)*r,e*a+(1-e)*n,t*l+(1-t)*r]}}class Lw extends Im{}function d_e(i,e){return function(){return i.apply(e,arguments)}}const{toString:Cwt}=Object.prototype,{getPrototypeOf:Lz}=Object,{iterator:f7,toStringTag:f_e}=Symbol,g7=(i=>e=>{const t=Cwt.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),l0=i=>(i=i.toLowerCase(),e=>g7(e)===i),p7=i=>e=>typeof e===i,{isArray:uC}=Array,Bw=p7("undefined");function Fw(i){return i!==null&&!Bw(i)&&i.constructor!==null&&!Bw(i.constructor)&&_h(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const g_e=l0("ArrayBuffer");function Swt(i){let e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&g_e(i.buffer),e}const xwt=p7("string"),_h=p7("function"),p_e=p7("number"),Nw=i=>i!==null&&typeof i=="object",wwt=i=>i===!0||i===!1,m7=i=>{if(g7(i)!=="object")return!1;const e=Lz(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(f_e in i)&&!(f7 in i)},Ewt=i=>{if(!Nw(i)||Fw(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch(e){return!1}},Awt=l0("Date"),Twt=l0("File"),Rwt=l0("Blob"),Mwt=l0("FileList"),kwt=i=>Nw(i)&&_h(i.pipe),Owt=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||_h(i.append)&&((e=g7(i))==="formdata"||e==="object"&&_h(i.toString)&&i.toString()==="[object FormData]"))},Iwt=l0("URLSearchParams"),[Dwt,Pwt,Lwt,Bwt]=["ReadableStream","Request","Response","Headers"].map(l0),Fwt=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $w(i,e,{allOwnKeys:t=!1}={}){if(i===null||typeof i=="undefined")return;let n,r;if(typeof i!="object"&&(i=[i]),uC(i))for(n=0,r=i.length;n<r;n++)e.call(null,i[n],n,i);else{if(Fw(i))return;const o=t?Object.getOwnPropertyNames(i):Object.keys(i),s=o.length;let a;for(n=0;n<s;n++)a=o[n],e.call(null,i[a],a,i)}}function m_e(i,e){if(Fw(i))return null;e=e.toLowerCase();const t=Object.keys(i);let n=t.length,r;for(;n-- >0;)if(r=t[n],e===r.toLowerCase())return r;return null}const I2=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,v_e=i=>!Bw(i)&&i!==I2;function Bz(){const{caseless:i}=v_e(this)&&this||{},e={},t=(n,r)=>{const o=i&&m_e(e,r)||r;m7(e[o])&&m7(n)?e[o]=Bz(e[o],n):m7(n)?e[o]=Bz({},n):uC(n)?e[o]=n.slice():e[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&$w(arguments[n],t);return e}const Nwt=(i,e,t,{allOwnKeys:n}={})=>($w(e,(r,o)=>{t&&_h(r)?i[o]=d_e(r,t):i[o]=r},{allOwnKeys:n}),i),$wt=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),Hwt=(i,e,t,n)=>{i.prototype=Object.create(e.prototype,n),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),t&&Object.assign(i.prototype,t)},zwt=(i,e,t,n)=>{let r,o,s;const a={};if(e=e||{},i==null)return e;do{for(r=Object.getOwnPropertyNames(i),o=r.length;o-- >0;)s=r[o],(!n||n(s,i,e))&&!a[s]&&(e[s]=i[s],a[s]=!0);i=t!==!1&&Lz(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e},Wwt=(i,e,t)=>{i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;const n=i.indexOf(e,t);return n!==-1&&n===t},Vwt=i=>{if(!i)return null;if(uC(i))return i;let e=i.length;if(!p_e(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=i[e];return t},jwt=(i=>e=>i&&e instanceof i)(typeof Uint8Array!="undefined"&&Lz(Uint8Array)),Uwt=(i,e)=>{const n=(i&&i[f7]).call(i);let r;for(;(r=n.next())&&!r.done;){const o=r.value;e.call(i,o[0],o[1])}},Gwt=(i,e)=>{let t;const n=[];for(;(t=i.exec(e))!==null;)n.push(t);return n},qwt=l0("HTMLFormElement"),Ywt=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),b_e=(({hasOwnProperty:i})=>(e,t)=>i.call(e,t))(Object.prototype),Xwt=l0("RegExp"),y_e=(i,e)=>{const t=Object.getOwnPropertyDescriptors(i),n={};$w(t,(r,o)=>{let s;(s=e(r,o,i))!==!1&&(n[o]=s||r)}),Object.defineProperties(i,n)},Kwt=i=>{y_e(i,(e,t)=>{if(_h(i)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=i[t];if(_h(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+"'")})}})},Zwt=(i,e)=>{const t={},n=r=>{r.forEach(o=>{t[o]=!0})};return uC(i)?n(i):n(String(i).split(e)),t},Qwt=()=>{},Jwt=(i,e)=>i!=null&&Number.isFinite(i=+i)?i:e;function e6t(i){return!!(i&&_h(i.append)&&i[f_e]==="FormData"&&i[f7])}const t6t=i=>{const e=new Array(10),t=(n,r)=>{if(Nw(n)){if(e.indexOf(n)>=0)return;if(Fw(n))return n;if(!("toJSON"in n)){e[r]=n;const o=uC(n)?[]:{};return $w(n,(s,a)=>{const l=t(s,r+1);!Bw(l)&&(o[a]=l)}),e[r]=void 0,o}}return n};return t(i,0)},i6t=l0("AsyncFunction"),n6t=i=>i&&(Nw(i)||_h(i))&&_h(i.then)&&_h(i.catch),__e=((i,e)=>i?setImmediate:e?((t,n)=>(I2.addEventListener("message",({source:r,data:o})=>{r===I2&&o===t&&n.length&&n.shift()()},!1),r=>{n.push(r),I2.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",_h(I2.postMessage)),r6t=typeof queueMicrotask!="undefined"?queueMicrotask.bind(I2):typeof process!="undefined"&&process.nextTick||__e,ai={isArray:uC,isArrayBuffer:g_e,isBuffer:Fw,isFormData:Owt,isArrayBufferView:Swt,isString:xwt,isNumber:p_e,isBoolean:wwt,isObject:Nw,isPlainObject:m7,isEmptyObject:Ewt,isReadableStream:Dwt,isRequest:Pwt,isResponse:Lwt,isHeaders:Bwt,isUndefined:Bw,isDate:Awt,isFile:Twt,isBlob:Rwt,isRegExp:Xwt,isFunction:_h,isStream:kwt,isURLSearchParams:Iwt,isTypedArray:jwt,isFileList:Mwt,forEach:$w,merge:Bz,extend:Nwt,trim:Fwt,stripBOM:$wt,inherits:Hwt,toFlatObject:zwt,kindOf:g7,kindOfTest:l0,endsWith:Wwt,toArray:Vwt,forEachEntry:Uwt,matchAll:Gwt,isHTMLForm:qwt,hasOwnProperty:b_e,hasOwnProp:b_e,reduceDescriptors:y_e,freezeMethods:Kwt,toObjectSet:Zwt,toCamelCase:Ywt,noop:Qwt,toFiniteNumber:Jwt,findKey:m_e,global:I2,isContextDefined:v_e,isSpecCompliantForm:e6t,toJSONObject:t6t,isAsyncFn:i6t,isThenable:n6t,setImmediate:__e,asap:r6t,isIterable:i=>i!=null&&_h(i[f7])};function Qr(i,e,t,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}ai.inherits(Qr,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:ai.toJSONObject(this.config),code:this.code,status:this.status}}});const C_e=Qr.prototype,S_e={};["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(i=>{S_e[i]={value:i}}),Object.defineProperties(Qr,S_e),Object.defineProperty(C_e,"isAxiosError",{value:!0}),Qr.from=(i,e,t,n,r,o)=>{const s=Object.create(C_e);return ai.toFlatObject(i,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Qr.call(s,i.message,e,t,n,r),s.cause=i,s.name=i.name,o&&Object.assign(s,o),s};const o6t=null;function Fz(i){return ai.isPlainObject(i)||ai.isArray(i)}function x_e(i){return ai.endsWith(i,"[]")?i.slice(0,-2):i}function w_e(i,e,t){return i?i.concat(e).map(function(r,o){return r=x_e(r),!t&&o?"["+r+"]":r}).join(t?".":""):e}function s6t(i){return ai.isArray(i)&&!i.some(Fz)}const a6t=ai.toFlatObject(ai,{},null,function(e){return/^is[A-Z]/.test(e)});function v7(i,e,t){if(!ai.isObject(i))throw new TypeError("target must be an object");e=e||new FormData,t=ai.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!ai.isUndefined(m[p])});const n=t.metaTokens,r=t.visitor||c,o=t.dots,s=t.indexes,l=(t.Blob||typeof Blob!="undefined"&&Blob)&&ai.isSpecCompliantForm(e);if(!ai.isFunction(r))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(ai.isDate(g))return g.toISOString();if(ai.isBoolean(g))return g.toString();if(!l&&ai.isBlob(g))throw new Qr("Blob is not supported. Use a Buffer instead.");return ai.isArrayBuffer(g)||ai.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function c(g,p,m){let v=g;if(g&&!m&&typeof g=="object"){if(ai.endsWith(p,"{}"))p=n?p:p.slice(0,-2),g=JSON.stringify(g);else if(ai.isArray(g)&&s6t(g)||(ai.isFileList(g)||ai.endsWith(p,"[]"))&&(v=ai.toArray(g)))return p=x_e(p),v.forEach(function(y,C){!(ai.isUndefined(y)||y===null)&&e.append(s===!0?w_e([p],C,o):s===null?p:p+"[]",u(y))}),!1}return Fz(g)?!0:(e.append(w_e(m,p,o),u(g)),!1)}const h=[],d=Object.assign(a6t,{defaultVisitor:c,convertValue:u,isVisitable:Fz});function f(g,p){if(!ai.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),ai.forEach(g,function(v,b){(!(ai.isUndefined(v)||v===null)&&r.call(e,v,ai.isString(b)?b.trim():b,p,d))===!0&&f(v,p?p.concat(b):[b])}),h.pop()}}if(!ai.isObject(i))throw new TypeError("data must be an object");return f(i),e}function E_e(i){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Nz(i,e){this._pairs=[],i&&v7(i,this,e)}const A_e=Nz.prototype;A_e.append=function(e,t){this._pairs.push([e,t])},A_e.toString=function(e){const t=e?function(n){return e.call(this,n,E_e)}:E_e;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function l6t(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function T_e(i,e,t){if(!e)return i;const n=t&&t.encode||l6t;ai.isFunction(t)&&(t={serialize:t});const r=t&&t.serialize;let o;if(r?o=r(e,t):o=ai.isURLSearchParams(e)?e.toString():new Nz(e,t).toString(n),o){const s=i.indexOf("#");s!==-1&&(i=i.slice(0,s)),i+=(i.indexOf("?")===-1?"?":"&")+o}return i}class R_e{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){ai.forEach(this.handlers,function(n){n!==null&&e(n)})}}const M_e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u6t={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams!="undefined"?URLSearchParams:Nz,FormData:typeof FormData!="undefined"?FormData:null,Blob:typeof Blob!="undefined"?Blob:null},protocols:["http","https","file","blob","url","data"]},$z=typeof window!="undefined"&&typeof document!="undefined",Hz=typeof navigator=="object"&&navigator||void 0,c6t=$z&&(!Hz||["ReactNative","NativeScript","NS"].indexOf(Hz.product)<0),h6t=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",d6t=$z&&window.location.href||"http://localhost",Cu=Ae(Ae({},Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$z,hasStandardBrowserEnv:c6t,hasStandardBrowserWebWorkerEnv:h6t,navigator:Hz,origin:d6t},Symbol.toStringTag,{value:"Module"}))),u6t);function f6t(i,e){return v7(i,new Cu.classes.URLSearchParams,Ae({visitor:function(t,n,r,o){return Cu.isNode&&ai.isBuffer(t)?(this.append(n,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function g6t(i){return ai.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function p6t(i){const e={},t=Object.keys(i);let n;const r=t.length;let o;for(n=0;n<r;n++)o=t[n],e[o]=i[o];return e}function k_e(i){function e(t,n,r,o){let s=t[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=o>=t.length;return s=!s&&ai.isArray(r)?r.length:s,l?(ai.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!a):((!r[s]||!ai.isObject(r[s]))&&(r[s]=[]),e(t,n,r[s],o)&&ai.isArray(r[s])&&(r[s]=p6t(r[s])),!a)}if(ai.isFormData(i)&&ai.isFunction(i.entries)){const t={};return ai.forEachEntry(i,(n,r)=>{e(g6t(n),r,t,0)}),t}return null}function m6t(i,e,t){if(ai.isString(i))try{return(e||JSON.parse)(i),ai.trim(i)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(i)}const Hw={transitional:M_e,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=ai.isObject(e);if(o&&ai.isHTMLForm(e)&&(e=new FormData(e)),ai.isFormData(e))return r?JSON.stringify(k_e(e)):e;if(ai.isArrayBuffer(e)||ai.isBuffer(e)||ai.isStream(e)||ai.isFile(e)||ai.isBlob(e)||ai.isReadableStream(e))return e;if(ai.isArrayBufferView(e))return e.buffer;if(ai.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return f6t(e,this.formSerializer).toString();if((a=ai.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return v7(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),m6t(e)):e}],transformResponse:[function(e){const t=this.transitional||Hw.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(ai.isResponse(e)||ai.isReadableStream(e))return e;if(e&&ai.isString(e)&&(n&&!this.responseType||r)){const s=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Qr.from(a,Qr.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Cu.classes.FormData,Blob:Cu.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ai.forEach(["delete","get","head","post","put","patch"],i=>{Hw.headers[i]={}});const v6t=ai.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"]),b6t=i=>{const e={};let t,n,r;return i&&i.split(`
|
|
132
132
|
`).forEach(function(s){r=s.indexOf(":"),t=s.substring(0,r).trim().toLowerCase(),n=s.substring(r+1).trim(),!(!t||e[t]&&v6t[t])&&(t==="set-cookie"?e[t]?e[t].push(n):e[t]=[n]:e[t]=e[t]?e[t]+", "+n:n)}),e},O_e=Symbol("internals");function zw(i){return i&&String(i).trim().toLowerCase()}function b7(i){return i===!1||i==null?i:ai.isArray(i)?i.map(b7):String(i)}function y6t(i){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=t.exec(i);)e[n[1]]=n[2];return e}const _6t=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function zz(i,e,t,n,r){if(ai.isFunction(n))return n.call(this,e,t);if(r&&(e=t),!!ai.isString(e)){if(ai.isString(n))return e.indexOf(n)!==-1;if(ai.isRegExp(n))return n.test(e)}}function C6t(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function S6t(i,e){const t=ai.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(i,n+t,{value:function(r,o,s){return this[n].call(this,e,r,o,s)},configurable:!0})})}let Ch=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(a,l,u){const c=zw(l);if(!c)throw new Error("header name must be a non-empty string");const h=ai.findKey(r,c);(!h||r[h]===void 0||u===!0||u===void 0&&r[h]!==!1)&&(r[h||l]=b7(a))}const s=(a,l)=>ai.forEach(a,(u,c)=>o(u,c,l));if(ai.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(ai.isString(e)&&(e=e.trim())&&!_6t(e))s(b6t(e),t);else if(ai.isObject(e)&&ai.isIterable(e)){let a={},l,u;for(const c of e){if(!ai.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?ai.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}s(a,t)}else e!=null&&o(t,e,n);return this}get(e,t){if(e=zw(e),e){const n=ai.findKey(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return y6t(r);if(ai.isFunction(t))return t.call(this,r,n);if(ai.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=zw(e),e){const n=ai.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||zz(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let r=!1;function o(s){if(s=zw(s),s){const a=ai.findKey(n,s);a&&(!t||zz(n,n[a],a,t))&&(delete n[a],r=!0)}}return ai.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];(!e||zz(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return ai.forEach(this,(r,o)=>{const s=ai.findKey(n,o);if(s){t[s]=b7(r),delete t[o];return}const a=e?C6t(o):String(o).trim();a!==o&&delete t[o],t[a]=b7(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ai.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&ai.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(`
|
|
133
133
|
`)}getSetCookie(){return this.get("set-cookie")||[]}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(r=>n.set(r)),n}static accessor(e){const n=(this[O_e]=this[O_e]={accessors:{}}).accessors,r=this.prototype;function o(s){const a=zw(s);n[a]||(S6t(r,s),n[a]=!0)}return ai.isArray(e)?e.forEach(o):o(e),this}};Ch.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ai.reduceDescriptors(Ch.prototype,({value:i},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(n){this[t]=n}}}),ai.freezeMethods(Ch);function Wz(i,e){const t=this||Hw,n=e||t,r=Ch.from(n.headers);let o=n.data;return ai.forEach(i,function(a){o=a.call(t,o,r.normalize(),e?e.status:void 0)}),r.normalize(),o}function I_e(i){return!!(i&&i.__CANCEL__)}function cC(i,e,t){Qr.call(this,i==null?"canceled":i,Qr.ERR_CANCELED,e,t),this.name="CanceledError"}ai.inherits(cC,Qr,{__CANCEL__:!0});function D_e(i,e,t){const n=t.config.validateStatus;!t.status||!n||n(t.status)?i(t):e(new Qr("Request failed with status code "+t.status,[Qr.ERR_BAD_REQUEST,Qr.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function x6t(i){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return e&&e[1]||""}function w6t(i,e){i=i||10;const t=new Array(i),n=new Array(i);let r=0,o=0,s;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=n[o];s||(s=u),t[r]=l,n[r]=u;let h=o,d=0;for(;h!==r;)d+=t[h++],h=h%i;if(r=(r+1)%i,r===o&&(o=(o+1)%i),u-s<e)return;const f=c&&u-c;return f?Math.round(d*1e3/f):void 0}}function E6t(i,e){let t=0,n=1e3/e,r,o;const s=(u,c=Date.now())=>{t=c,r=null,o&&(clearTimeout(o),o=null),i(...u)};return[(...u)=>{const c=Date.now(),h=c-t;h>=n?s(u,c):(r=u,o||(o=setTimeout(()=>{o=null,s(r)},n-h)))},()=>r&&s(r)]}const y7=(i,e,t=3)=>{let n=0;const r=w6t(50,250);return E6t(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-n,u=r(l),c=s<=a;n=s;const h={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-s)/u:void 0,event:o,lengthComputable:a!=null,[e?"download":"upload"]:!0};i(h)},t)},P_e=(i,e)=>{const t=i!=null;return[n=>e[0]({lengthComputable:t,total:i,loaded:n}),e[1]]},L_e=i=>(...e)=>ai.asap(()=>i(...e)),A6t=Cu.hasStandardBrowserEnv?((i,e)=>t=>(t=new URL(t,Cu.origin),i.protocol===t.protocol&&i.host===t.host&&(e||i.port===t.port)))(new URL(Cu.origin),Cu.navigator&&/(msie|trident)/i.test(Cu.navigator.userAgent)):()=>!0,T6t=Cu.hasStandardBrowserEnv?{write(i,e,t,n,r,o){const s=[i+"="+encodeURIComponent(e)];ai.isNumber(t)&&s.push("expires="+new Date(t).toGMTString()),ai.isString(n)&&s.push("path="+n),ai.isString(r)&&s.push("domain="+r),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(i){const e=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(i){this.write(i,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function R6t(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function M6t(i,e){return e?i.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):i}function B_e(i,e,t){let n=!R6t(e);return i&&(n||t==!1)?M6t(i,e):e}const F_e=i=>i instanceof Ch?Ae({},i):i;function D2(i,e){e=e||{};const t={};function n(u,c,h,d){return ai.isPlainObject(u)&&ai.isPlainObject(c)?ai.merge.call({caseless:d},u,c):ai.isPlainObject(c)?ai.merge({},c):ai.isArray(c)?c.slice():c}function r(u,c,h,d){if(ai.isUndefined(c)){if(!ai.isUndefined(u))return n(void 0,u,h,d)}else return n(u,c,h,d)}function o(u,c){if(!ai.isUndefined(c))return n(void 0,c)}function s(u,c){if(ai.isUndefined(c)){if(!ai.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function a(u,c,h){if(h in e)return n(u,c);if(h in i)return n(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,c,h)=>r(F_e(u),F_e(c),h,!0)};return ai.forEach(Object.keys(Ae(Ae({},i),e)),function(c){const h=l[c]||r,d=h(i[c],e[c],c);ai.isUndefined(d)&&h!==a||(t[c]=d)}),t}const N_e=i=>{const e=D2({},i);let{data:t,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:s,auth:a}=e;e.headers=s=Ch.from(s),e.url=T_e(B_e(e.baseURL,e.url,e.allowAbsoluteUrls),i.params,i.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(ai.isFormData(t)){if(Cu.hasStandardBrowserEnv||Cu.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[u,...c]=l?l.split(";").map(h=>h.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Cu.hasStandardBrowserEnv&&(n&&ai.isFunction(n)&&(n=n(e)),n||n!==!1&&A6t(e.url))){const u=r&&o&&T6t.read(o);u&&s.set(r,u)}return e},k6t=typeof XMLHttpRequest!="undefined"&&function(i){return new Promise(function(t,n){const r=N_e(i);let o=r.data;const s=Ch.from(r.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=r,c,h,d,f,g;function p(){f&&f(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function v(){if(!m)return;const y=Ch.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),x={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:i,request:m};D_e(function(w){t(w),p()},function(w){n(w),p()},x),m=null}"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(v)},m.onabort=function(){m&&(n(new Qr("Request aborted",Qr.ECONNABORTED,i,m)),m=null)},m.onerror=function(){n(new Qr("Network Error",Qr.ERR_NETWORK,i,m)),m=null},m.ontimeout=function(){let C=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const x=r.transitional||M_e;r.timeoutErrorMessage&&(C=r.timeoutErrorMessage),n(new Qr(C,x.clarifyTimeoutError?Qr.ETIMEDOUT:Qr.ECONNABORTED,i,m)),m=null},o===void 0&&s.setContentType(null),"setRequestHeader"in m&&ai.forEach(s.toJSON(),function(C,x){m.setRequestHeader(x,C)}),ai.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),a&&a!=="json"&&(m.responseType=r.responseType),u&&([d,g]=y7(u,!0),m.addEventListener("progress",d)),l&&m.upload&&([h,f]=y7(l),m.upload.addEventListener("progress",h),m.upload.addEventListener("loadend",f)),(r.cancelToken||r.signal)&&(c=y=>{m&&(n(!y||y.type?new cC(null,i,m):y),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const b=x6t(r.url);if(b&&Cu.protocols.indexOf(b)===-1){n(new Qr("Unsupported protocol "+b+":",Qr.ERR_BAD_REQUEST,i));return}m.send(o||null)})},O6t=(i,e)=>{const{length:t}=i=i?i.filter(Boolean):[];if(e||t){let n=new AbortController,r;const o=function(u){if(!r){r=!0,a();const c=u instanceof Error?u:this.reason;n.abort(c instanceof Qr?c:new cC(c instanceof Error?c.message:c))}};let s=e&&setTimeout(()=>{s=null,o(new Qr(`timeout ${e} of ms exceeded`,Qr.ETIMEDOUT))},e);const a=()=>{i&&(s&&clearTimeout(s),s=null,i.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),i=null)};i.forEach(u=>u.addEventListener("abort",o));const{signal:l}=n;return l.unsubscribe=()=>ai.asap(a),l}},I6t=function*(i,e){let t=i.byteLength;if(t<e){yield i;return}let n=0,r;for(;n<t;)r=n+e,yield i.slice(n,r),n=r},D6t=function(i,e){return Ile(this,null,function*(){try{for(var t=VQe(P6t(i)),n,r,o;n=!(r=yield new by(t.next())).done;n=!1){const s=r.value;yield*Dle(I6t(s,e))}}catch(r){o=[r]}finally{try{n&&(r=t.return)&&(yield new by(r.call(t)))}finally{if(o)throw o[0]}}})},P6t=function(i){return Ile(this,null,function*(){if(i[Symbol.asyncIterator]){yield*Dle(i);return}const e=i.getReader();try{for(;;){const{done:t,value:n}=yield new by(e.read());if(t)break;yield n}}finally{yield new by(e.cancel())}})},$_e=(i,e,t,n)=>{const r=D6t(i,e);let o=0,s,a=u=>{s||(s=!0,n&&n(u))};return new ReadableStream({pull(u){return vs(this,null,function*(){try{const{done:c,value:h}=yield r.next();if(c){a(),u.close();return}let d=h.byteLength;if(t){let f=o+=d;t(f)}u.enqueue(new Uint8Array(h))}catch(c){throw a(c),c}})},cancel(u){return a(u),r.return()}},{highWaterMark:2})},_7=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",H_e=_7&&typeof ReadableStream=="function",L6t=_7&&(typeof TextEncoder=="function"?(i=>e=>i.encode(e))(new TextEncoder):i=>vs(null,null,function*(){return new Uint8Array(yield new Response(i).arrayBuffer())})),z_e=(i,...e)=>{try{return!!i(...e)}catch(t){return!1}},B6t=H_e&&z_e(()=>{let i=!1;const e=new Request(Cu.origin,{body:new ReadableStream,method:"POST",get duplex(){return i=!0,"half"}}).headers.has("Content-Type");return i&&!e}),W_e=64*1024,Vz=H_e&&z_e(()=>ai.isReadableStream(new Response("").body)),C7={stream:Vz&&(i=>i.body)};_7&&(i=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!C7[e]&&(C7[e]=ai.isFunction(i[e])?t=>t[e]():(t,n)=>{throw new Qr(`Response type '${e}' is not supported`,Qr.ERR_NOT_SUPPORT,n)})})})(new Response);const F6t=i=>vs(null,null,function*(){if(i==null)return 0;if(ai.isBlob(i))return i.size;if(ai.isSpecCompliantForm(i))return(yield new Request(Cu.origin,{method:"POST",body:i}).arrayBuffer()).byteLength;if(ai.isArrayBufferView(i)||ai.isArrayBuffer(i))return i.byteLength;if(ai.isURLSearchParams(i)&&(i=i+""),ai.isString(i))return(yield L6t(i)).byteLength}),N6t=(i,e)=>vs(null,null,function*(){const t=ai.toFiniteNumber(i.getContentLength());return t==null?F6t(e):t}),jz={http:o6t,xhr:k6t,fetch:_7&&(i=>vs(null,null,function*(){let{url:e,method:t,data:n,signal:r,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:h="same-origin",fetchOptions:d}=N_e(i);u=u?(u+"").toLowerCase():"text";let f=O6t([r,o&&o.toAbortSignal()],s),g;const p=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(l&&B6t&&t!=="get"&&t!=="head"&&(m=yield N6t(c,n))!==0){let x=new Request(e,{method:"POST",body:n,duplex:"half"}),S;if(ai.isFormData(n)&&(S=x.headers.get("content-type"))&&c.setContentType(S),x.body){const[w,E]=P_e(m,y7(L_e(l)));n=$_e(x.body,W_e,w,E)}}ai.isString(h)||(h=h?"include":"omit");const v="credentials"in Request.prototype;g=new Request(e,on(Ae({},d),{signal:f,method:t.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:v?h:void 0}));let b=yield fetch(g,d);const y=Vz&&(u==="stream"||u==="response");if(Vz&&(a||y&&p)){const x={};["status","statusText","headers"].forEach(A=>{x[A]=b[A]});const S=ai.toFiniteNumber(b.headers.get("content-length")),[w,E]=a&&P_e(S,y7(L_e(a),!0))||[];b=new Response($_e(b.body,W_e,w,()=>{E&&E(),p&&p()}),x)}u=u||"text";let C=yield C7[ai.findKey(C7,u)||"text"](b,i);return!y&&p&&p(),yield new Promise((x,S)=>{D_e(x,S,{data:C,headers:Ch.from(b.headers),status:b.status,statusText:b.statusText,config:i,request:g})})}catch(v){throw p&&p(),v&&v.name==="TypeError"&&/Load failed|fetch/i.test(v.message)?Object.assign(new Qr("Network Error",Qr.ERR_NETWORK,i,g),{cause:v.cause||v}):Qr.from(v,v&&v.code,i,g)}}))};ai.forEach(jz,(i,e)=>{if(i){try{Object.defineProperty(i,"name",{value:e})}catch(t){}Object.defineProperty(i,"adapterName",{value:e})}});const V_e=i=>`- ${i}`,$6t=i=>ai.isFunction(i)||i===null||i===!1,j_e={getAdapter:i=>{i=ai.isArray(i)?i:[i];const{length:e}=i;let t,n;const r={};for(let o=0;o<e;o++){t=i[o];let s;if(n=t,!$6t(t)&&(n=jz[(s=String(t)).toLowerCase()],n===void 0))throw new Qr(`Unknown adapter '${s}'`);if(n)break;r[s||"#"+o]=n}if(!n){const o=Object.entries(r).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?o.length>1?`since :
|
|
134
134
|
`+o.map(V_e).join(`
|
|
@@ -9645,7 +9645,7 @@ For more details see https://formatjs.github.io/docs/getting-started/message-dis
|
|
|
9645
9645
|
*
|
|
9646
9646
|
* This source code is licensed under the MIT license found in the
|
|
9647
9647
|
* LICENSE file in the root directory of this source tree.
|
|
9648
|
-
*/return i.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(ae){return typeof ae=="string"||typeof ae=="function"||ae===r||ae===c||ae===s||ae===o||ae===d||ae===f||typeof ae=="object"&&ae!==null&&(ae.$$typeof===p||ae.$$typeof===g||ae.$$typeof===a||ae.$$typeof===l||ae.$$typeof===h||ae.$$typeof===v||ae.$$typeof===b||ae.$$typeof===y||ae.$$typeof===m)}function x(ae){if(typeof ae=="object"&&ae!==null){var me=ae.$$typeof;switch(me){case t:var be=ae.type;switch(be){case u:case c:case r:case s:case o:case d:return be;default:var ve=be&&be.$$typeof;switch(ve){case l:case h:case p:case g:case a:return ve;default:return me}}case n:return me}}}var S=u,w=c,E=l,A=a,T=t,M=h,O=r,I=p,P=g,F=n,N=s,H=o,W=d,U=!1;function $(ae){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(ae)||x(ae)===u}function Y(ae){return x(ae)===c}function K(ae){return x(ae)===l}function z(ae){return x(ae)===a}function J(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===t}function te(ae){return x(ae)===h}function oe(ae){return x(ae)===r}function Q(ae){return x(ae)===p}function re(ae){return x(ae)===g}function ue(ae){return x(ae)===n}function de(ae){return x(ae)===s}function le(ae){return x(ae)===o}function ce(ae){return x(ae)===d}us.AsyncMode=S,us.ConcurrentMode=w,us.ContextConsumer=E,us.ContextProvider=A,us.Element=T,us.ForwardRef=M,us.Fragment=O,us.Lazy=I,us.Memo=P,us.Portal=F,us.Profiler=N,us.StrictMode=H,us.Suspense=W,us.isAsyncMode=$,us.isConcurrentMode=Y,us.isContextConsumer=K,us.isContextProvider=z,us.isElement=J,us.isForwardRef=te,us.isFragment=oe,us.isLazy=Q,us.isMemo=re,us.isPortal=ue,us.isProfiler=de,us.isStrictMode=le,us.isSuspense=ce,us.isValidElementType=C,us.typeOf=x})(),us}var qLe;function kii(){if(qLe)return WO.exports;qLe=1;var i={};return i.NODE_ENV==="production"?WO.exports=Rii():WO.exports=Mii(),WO.exports}var xte,YLe;function Oii(){if(YLe)return xte;YLe=1;var i=kii(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[i.ForwardRef]=n,o[i.Memo]=r;function s(g){return i.isMemo(g)?r:o[g.$$typeof]||e}var a=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;function f(g,p,m){if(typeof p!="string"){if(d){var v=h(p);v&&v!==d&&f(g,v,m)}var b=l(p);u&&(b=b.concat(u(p)));for(var y=s(g),C=s(p),x=0;x<b.length;++x){var S=b[x];if(!t[S]&&!(m&&m[S])&&!(C&&C[S])&&!(y&&y[S])){var w=c(p,S);try{a(g,S,w)}catch(E){}}}}return g}return xte=f,xte}Oii();var wte=typeof window!="undefined"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=R.createContext(null)):R.createContext(null);wte.Consumer;var Iii=wte.Provider,Dii=Iii,Pii=wte;function bf(){var i=R.useContext(Pii);return VLe(i),i}var Ete;(function(i){i.formatDate="FormattedDate",i.formatTime="FormattedTime",i.formatNumber="FormattedNumber",i.formatList="FormattedList",i.formatDisplayName="FormattedDisplayName"})(Ete||(Ete={}));var Ate;(function(i){i.formatDate="FormattedDateParts",i.formatTime="FormattedTimeParts",i.formatNumber="FormattedNumberParts",i.formatList="FormattedListParts"})(Ate||(Ate={}));function XLe(i){var e=function(t){var n=bf(),r=t.value,o=t.children,s=C3(t,["value","children"]),a=typeof r=="string"?new Date(r||0):r,l=i==="formatDate"?n.formatDateToParts(a,s):n.formatTimeToParts(a,s);return o(l)};return e.displayName=Ate[i],e}function yE(i){var e=function(t){var n=bf(),r=t.value,o=t.children,s=C3(t,["value","children"]),a=n[i](r,s);if(typeof o=="function")return o(a);var l=n.textComponent||R.Fragment;return R.createElement(l,null,a)};return e.displayName=Ete[i],e}function KLe(i){return i&&Object.keys(i).reduce(function(e,t){var n=i[t];return e[t]=ILe(n)?Tii(n):n,e},{})}var ZLe=function(i,e,t,n){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];var s=KLe(n),a=Cte.apply(void 0,Mg([i,e,t,s],r,!1));return Array.isArray(a)?Aii(a):a},QLe=function(i,e){var t=i.defaultRichTextElements,n=C3(i,["defaultRichTextElements"]),r=KLe(t),o=Sii(nr(nr(nr({},jLe),n),{defaultRichTextElements:r}),e),s={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:r};return nr(nr({},o),{formatMessage:ZLe.bind(null,s,o.formatters),$t:ZLe.bind(null,s,o.formatters)})};function Lii(i,e){var t=i.values,n=C3(i,["values"]),r=e.values,o=C3(e,["values"]);return Ste(r,t)&&Ste(n,o)}function JLe(i){var e=bf(),t=e.formatMessage,n=e.textComponent,r=n===void 0?R.Fragment:n,o=i.id,s=i.description,a=i.defaultMessage,l=i.values,u=i.children,c=i.tagName,h=c===void 0?r:c,d=i.ignoreTag,f={id:o,description:s,defaultMessage:a},g=t(f,l,{ignoreTag:d});return typeof u=="function"?u(Array.isArray(g)?g:[g]):h?R.createElement(h,null,g):R.createElement(R.Fragment,null,g)}JLe.displayName="FormattedMessage";var gs=R.memo(JLe,Lii);gs.displayName="MemoizedFormattedMessage";function Tte(i){return{locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,textComponent:i.textComponent,messages:i.messages,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,onError:i.onError,onWarn:i.onWarn,wrapRichTextChunksInFragment:i.wrapRichTextChunksInFragment,defaultRichTextElements:i.defaultRichTextElements}}var Bii=(function(i){mf(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.cache=FLe(),t.state={cache:t.cache,intl:QLe(Tte(t.props),t.cache),prevConfig:Tte(t.props)},t}return e.getDerivedStateFromProps=function(t,n){var r=n.prevConfig,o=n.cache,s=Tte(t);return Ste(r,s)?null:{intl:QLe(s,o),prevConfig:s}},e.prototype.render=function(){return VLe(this.state.intl),R.createElement(Dii,{value:this.state.intl},this.props.children)},e.displayName="IntlProvider",e.defaultProps=jLe,e})(R.PureComponent);yE("formatDate"),yE("formatTime"),yE("formatNumber"),yE("formatList"),yE("formatDisplayName"),XLe("formatDate"),XLe("formatTime");const Fii=i=>{var g;const{formatMessage:e}=bf(),t="donutData",{data:n=[],dataset:r,nameField:o="name",valField:s="value",chartTheme:a}=i,l=h6(r,{nameField:o,valField:s}),{nameField:u,valField:c}=l,h=((g=r==null?void 0:r.transfromData)==null?void 0:g.data)||n,d=_4t(h,c),f=[...h].sort((p,m)=>Number(m[c])-Number(p[c]));return{type:"pie",data:[{id:t,values:f}],categoryField:u,valueField:c,tooltip:a6({categoryField:u,valueField:c,showPercent:!0}),outerRadius:.8,innerRadius:.5,legends:CM(!0,u),indicator:{visible:!0,limitRatio:.6,title:{visible:!0,style:{text:e({id:"total"}),fontSize:12,lineHeight:16,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}},content:{visible:!0,style:{text:d,fontSize:20,lineHeight:32,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}}}}},eBe=i=>{const{options:e}=A0("Donut",Fii,i);return Ce.jsx(v0,{VChart:ube,spec:e})},Nii=i=>{var h;const e="funnelData",{data:t,dataset:n,nameField:r="name",valField:o="value"}=i,s=h6(n,{nameField:r,valField:o}),{nameField:a,valField:l}=s,c=[...((h=n==null?void 0:n.transfromData)==null?void 0:h.data)||t].sort((d,f)=>Number(f[l])-Number(d[l]));return{type:"funnel",data:[{id:e,values:c}],categoryField:a,valueField:l,tooltip:a6({categoryField:a,valueField:l}),legends:on(Ae({},CM(!0,a)),{visible:!0,padding:{top:40}}),shape:"rect",isTransform:!0,heightRatio:.5,transform:{style:{fill:"#EDEDED",stroke:"#EEEEEE",lineWidth:2}}}},tBe=i=>{const{options:e}=A0("Funnel",Nii,i);return Ce.jsx(v0,{VChart:Nbt,spec:e})},$ii=i=>{var p;const e="gaugeData",{formatValue:t}=O2(),{data:n,dataset:r,nameField:o="name",valField:s="value",chartTheme:a}=i,l=h6(r,{nameField:o,valField:s}),{nameField:u,valField:c}=l,h=((p=r==null?void 0:r.transfromData)==null?void 0:p.data)||n,d=[...h].sort((m,v)=>Number(m[c])-Number(v[c])),f=Number(d[0][c]||0),g=(d==null?void 0:d.length)===1?Math.round(f*2):Number(d[d.length-1][c]||0);return{type:"gauge",data:[{id:e,values:[h[0]]},{id:"gaugeData",values:d}],scales:[{id:"gaugeColorScale",type:"ordinal",domain:u,range:["#00CC66","#FFA400","#F55D3E"]}],series:[{id:"outerGauge",type:"gauge",dataId:"gaugeData",radiusField:u,angleField:c,seriesField:u,roundCap:!0,innerRadius:.82,outerRadius:.86,segment:{style:{innerPadding:2,fill:{field:u,scale:"gaugeColorScale"}}},tooltip:{visible:!1}},{type:"gauge",dataId:"indicator",categoryField:u,valueField:c,innerRadius:.62,outerRadius:.82,segment:{style:{fill:{field:u,scale:"gaugeColorScale"}}},track:{style:{fill:a==="dark"?"#323232":"#EDEDED"}},tooltip:a6({categoryField:u,valueField:c})}],startAngle:-180,endAngle:0,axes:[{id:"gaugeData",visible:!0,type:"linear",orient:"angle",max:Math.max(g,0),min:Math.min(f,0),grid:{visible:!1},label:{visible:!1}}],legends:[{visible:!0,orient:"bottom",position:"middle",field:u,seriesId:"outerGauge",item:{label:{formatMethod:m=>t(u,m)}}}],indicator:[{visible:!0,offsetY:-24,title:{style:{text:t(u,h[0][u]),fontSize:12,lineHeight:16,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}},content:[{style:{text:h[0][c],fontSize:20,lineHeight:32,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}}]},{visible:!0,offsetX:"-82%",offsetY:15,title:{style:{text:Math.min(f,0),fontSize:12,lineHeight:16,fontWeight:700,fill:"#89898A",textAlign:"left"}}},{visible:!0,offsetX:"82%",offsetY:15,title:{style:{text:Math.max(g,0),fontSize:12,lineHeight:16,fontWeight:700,fill:"#89898A",textAlign:"right"}}}]}},iBe=i=>{const{options:e}=A0("Gauge",$ii,i);return Ce.jsx(v0,{VChart:$bt,spec:e})},Hii=i=>{const{data:e,xField:t="name",yField:n="category",valField:r="value"}=i;return{type:"heatmap",data:[{id:"heatmapData",values:iwt(e,[t,n])}],xField:t,yField:n,valueField:r,cell:{style:{fill:{field:r,scale:"color"}}},scales:[{id:"color",type:"linear",domain:[{dataId:"heatmapData",fields:[r]}],range:["#008CD6","#62C7EE","#B4E3F6","#F55D3E"]}],axes:[{orient:"bottom",type:"band",bandPadding:0,visible:!0,title:{visible:!0,text:t}},{orient:"left",type:"band",bandPadding:0,visible:!0,title:{visible:!0,text:n},domainLine:{visible:!1},tick:{visible:!1}}],legends:{type:"color",field:r,visible:!0,orient:"bottom",layoutType:"region-relative",rail:{style:{fill:"#E1E1E1"}}}}},nBe=i=>{const{options:e}=A0("Heatmap",Hii,i);return Ce.jsx(v0,{VChart:Hbt,spec:e})},zii=i=>Bxt({},nLe,i,t=>{if(Array.isArray(t))return t}),rBe=[12,12];[1,2,3,4,6,8,12].reduce((i,e)=>(i[e]=e.toString(),i),{});const VO={light:{base:"#008CD6",warpBg:"#FAFAFA",borderColor:"#89898a",textColor:"#323233"},dark:{base:"#62C7EE",warpBg:"#424243",borderColor:"#CCCCCC",textColor:"#FFFFFF"}},Wii=$a.div`
|
|
9648
|
+
*/return i.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function C(ae){return typeof ae=="string"||typeof ae=="function"||ae===r||ae===c||ae===s||ae===o||ae===d||ae===f||typeof ae=="object"&&ae!==null&&(ae.$$typeof===p||ae.$$typeof===g||ae.$$typeof===a||ae.$$typeof===l||ae.$$typeof===h||ae.$$typeof===v||ae.$$typeof===b||ae.$$typeof===y||ae.$$typeof===m)}function x(ae){if(typeof ae=="object"&&ae!==null){var me=ae.$$typeof;switch(me){case t:var be=ae.type;switch(be){case u:case c:case r:case s:case o:case d:return be;default:var ve=be&&be.$$typeof;switch(ve){case l:case h:case p:case g:case a:return ve;default:return me}}case n:return me}}}var S=u,w=c,E=l,A=a,T=t,M=h,O=r,I=p,P=g,F=n,N=s,H=o,W=d,U=!1;function $(ae){return U||(U=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(ae)||x(ae)===u}function Y(ae){return x(ae)===c}function K(ae){return x(ae)===l}function z(ae){return x(ae)===a}function J(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===t}function te(ae){return x(ae)===h}function oe(ae){return x(ae)===r}function Q(ae){return x(ae)===p}function re(ae){return x(ae)===g}function ue(ae){return x(ae)===n}function de(ae){return x(ae)===s}function le(ae){return x(ae)===o}function ce(ae){return x(ae)===d}us.AsyncMode=S,us.ConcurrentMode=w,us.ContextConsumer=E,us.ContextProvider=A,us.Element=T,us.ForwardRef=M,us.Fragment=O,us.Lazy=I,us.Memo=P,us.Portal=F,us.Profiler=N,us.StrictMode=H,us.Suspense=W,us.isAsyncMode=$,us.isConcurrentMode=Y,us.isContextConsumer=K,us.isContextProvider=z,us.isElement=J,us.isForwardRef=te,us.isFragment=oe,us.isLazy=Q,us.isMemo=re,us.isPortal=ue,us.isProfiler=de,us.isStrictMode=le,us.isSuspense=ce,us.isValidElementType=C,us.typeOf=x})(),us}var qLe;function kii(){if(qLe)return WO.exports;qLe=1;var i={};return i.NODE_ENV==="production"?WO.exports=Rii():WO.exports=Mii(),WO.exports}var xte,YLe;function Oii(){if(YLe)return xte;YLe=1;var i=kii(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[i.ForwardRef]=n,o[i.Memo]=r;function s(g){return i.isMemo(g)?r:o[g.$$typeof]||e}var a=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;function f(g,p,m){if(typeof p!="string"){if(d){var v=h(p);v&&v!==d&&f(g,v,m)}var b=l(p);u&&(b=b.concat(u(p)));for(var y=s(g),C=s(p),x=0;x<b.length;++x){var S=b[x];if(!t[S]&&!(m&&m[S])&&!(C&&C[S])&&!(y&&y[S])){var w=c(p,S);try{a(g,S,w)}catch(E){}}}}return g}return xte=f,xte}Oii();var wte=typeof window!="undefined"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=R.createContext(null)):R.createContext(null);wte.Consumer;var Iii=wte.Provider,Dii=Iii,Pii=wte;function bf(){var i=R.useContext(Pii);return VLe(i),i}var Ete;(function(i){i.formatDate="FormattedDate",i.formatTime="FormattedTime",i.formatNumber="FormattedNumber",i.formatList="FormattedList",i.formatDisplayName="FormattedDisplayName"})(Ete||(Ete={}));var Ate;(function(i){i.formatDate="FormattedDateParts",i.formatTime="FormattedTimeParts",i.formatNumber="FormattedNumberParts",i.formatList="FormattedListParts"})(Ate||(Ate={}));function XLe(i){var e=function(t){var n=bf(),r=t.value,o=t.children,s=C3(t,["value","children"]),a=typeof r=="string"?new Date(r||0):r,l=i==="formatDate"?n.formatDateToParts(a,s):n.formatTimeToParts(a,s);return o(l)};return e.displayName=Ate[i],e}function yE(i){var e=function(t){var n=bf(),r=t.value,o=t.children,s=C3(t,["value","children"]),a=n[i](r,s);if(typeof o=="function")return o(a);var l=n.textComponent||R.Fragment;return R.createElement(l,null,a)};return e.displayName=Ete[i],e}function KLe(i){return i&&Object.keys(i).reduce(function(e,t){var n=i[t];return e[t]=ILe(n)?Tii(n):n,e},{})}var ZLe=function(i,e,t,n){for(var r=[],o=4;o<arguments.length;o++)r[o-4]=arguments[o];var s=KLe(n),a=Cte.apply(void 0,Mg([i,e,t,s],r,!1));return Array.isArray(a)?Aii(a):a},QLe=function(i,e){var t=i.defaultRichTextElements,n=C3(i,["defaultRichTextElements"]),r=KLe(t),o=Sii(nr(nr(nr({},jLe),n),{defaultRichTextElements:r}),e),s={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:r};return nr(nr({},o),{formatMessage:ZLe.bind(null,s,o.formatters),$t:ZLe.bind(null,s,o.formatters)})};function Lii(i,e){var t=i.values,n=C3(i,["values"]),r=e.values,o=C3(e,["values"]);return Ste(r,t)&&Ste(n,o)}function JLe(i){var e=bf(),t=e.formatMessage,n=e.textComponent,r=n===void 0?R.Fragment:n,o=i.id,s=i.description,a=i.defaultMessage,l=i.values,u=i.children,c=i.tagName,h=c===void 0?r:c,d=i.ignoreTag,f={id:o,description:s,defaultMessage:a},g=t(f,l,{ignoreTag:d});return typeof u=="function"?u(Array.isArray(g)?g:[g]):h?R.createElement(h,null,g):R.createElement(R.Fragment,null,g)}JLe.displayName="FormattedMessage";var gs=R.memo(JLe,Lii);gs.displayName="MemoizedFormattedMessage";function Tte(i){return{locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,textComponent:i.textComponent,messages:i.messages,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,onError:i.onError,onWarn:i.onWarn,wrapRichTextChunksInFragment:i.wrapRichTextChunksInFragment,defaultRichTextElements:i.defaultRichTextElements}}var Bii=(function(i){mf(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.cache=FLe(),t.state={cache:t.cache,intl:QLe(Tte(t.props),t.cache),prevConfig:Tte(t.props)},t}return e.getDerivedStateFromProps=function(t,n){var r=n.prevConfig,o=n.cache,s=Tte(t);return Ste(r,s)?null:{intl:QLe(s,o),prevConfig:s}},e.prototype.render=function(){return VLe(this.state.intl),R.createElement(Dii,{value:this.state.intl},this.props.children)},e.displayName="IntlProvider",e.defaultProps=jLe,e})(R.PureComponent);yE("formatDate"),yE("formatTime"),yE("formatNumber"),yE("formatList"),yE("formatDisplayName"),XLe("formatDate"),XLe("formatTime");const Fii=i=>{var g;const{formatMessage:e}=bf(),t="donutData",{data:n=[],dataset:r,nameField:o="name",valField:s="value",chartTheme:a}=i,l=h6(r,{nameField:o,valField:s}),{nameField:u,valField:c}=l,h=((g=r==null?void 0:r.transfromData)==null?void 0:g.data)||n,d=_4t(h,p=>{const m=p[c];return typeof m=="number"?m:typeof m=="string"&&parseFloat(m)||0}),f=[...h].sort((p,m)=>Number(m[c])-Number(p[c]));return{type:"pie",data:[{id:t,values:f}],categoryField:u,valueField:c,tooltip:a6({categoryField:u,valueField:c,showPercent:!0}),outerRadius:.8,innerRadius:.5,legends:CM(!0,u),indicator:{visible:!0,limitRatio:.6,title:{visible:!0,style:{text:e({id:"total"}),fontSize:12,lineHeight:16,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}},content:{visible:!0,style:{text:d,fontSize:20,lineHeight:32,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}}}}},eBe=i=>{const{options:e}=A0("Donut",Fii,i);return Ce.jsx(v0,{VChart:ube,spec:e})},Nii=i=>{var h;const e="funnelData",{data:t,dataset:n,nameField:r="name",valField:o="value"}=i,s=h6(n,{nameField:r,valField:o}),{nameField:a,valField:l}=s,c=[...((h=n==null?void 0:n.transfromData)==null?void 0:h.data)||t].sort((d,f)=>Number(f[l])-Number(d[l]));return{type:"funnel",data:[{id:e,values:c}],categoryField:a,valueField:l,tooltip:a6({categoryField:a,valueField:l}),legends:on(Ae({},CM(!0,a)),{visible:!0,padding:{top:40}}),shape:"rect",isTransform:!0,heightRatio:.5,transform:{style:{fill:"#EDEDED",stroke:"#EEEEEE",lineWidth:2}}}},tBe=i=>{const{options:e}=A0("Funnel",Nii,i);return Ce.jsx(v0,{VChart:Nbt,spec:e})},$ii=i=>{var p;const e="gaugeData",{formatValue:t}=O2(),{data:n,dataset:r,nameField:o="name",valField:s="value",chartTheme:a}=i,l=h6(r,{nameField:o,valField:s}),{nameField:u,valField:c}=l,h=((p=r==null?void 0:r.transfromData)==null?void 0:p.data)||n,d=[...h].sort((m,v)=>Number(m[c])-Number(v[c])),f=Number(d[0][c]||0),g=(d==null?void 0:d.length)===1?Math.round(f*2):Number(d[d.length-1][c]||0);return{type:"gauge",data:[{id:e,values:[h[0]]},{id:"gaugeData",values:d}],scales:[{id:"gaugeColorScale",type:"ordinal",domain:u,range:["#00CC66","#FFA400","#F55D3E"]}],series:[{id:"outerGauge",type:"gauge",dataId:"gaugeData",radiusField:u,angleField:c,seriesField:u,roundCap:!0,innerRadius:.82,outerRadius:.86,segment:{style:{innerPadding:2,fill:{field:u,scale:"gaugeColorScale"}}},tooltip:{visible:!1}},{type:"gauge",dataId:"indicator",categoryField:u,valueField:c,innerRadius:.62,outerRadius:.82,segment:{style:{fill:{field:u,scale:"gaugeColorScale"}}},track:{style:{fill:a==="dark"?"#323232":"#EDEDED"}},tooltip:a6({categoryField:u,valueField:c})}],startAngle:-180,endAngle:0,axes:[{id:"gaugeData",visible:!0,type:"linear",orient:"angle",max:Math.max(g,0),min:Math.min(f,0),grid:{visible:!1},label:{visible:!1}}],legends:[{visible:!0,orient:"bottom",position:"middle",field:u,seriesId:"outerGauge",item:{label:{formatMethod:m=>t(u,m)}}}],indicator:[{visible:!0,offsetY:-24,title:{style:{text:t(u,h[0][u]),fontSize:12,lineHeight:16,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}},content:[{style:{text:h[0][c],fontSize:20,lineHeight:32,fontWeight:700,fill:a==="dark"?"#FFFFFF":"#323233"}}]},{visible:!0,offsetX:"-82%",offsetY:15,title:{style:{text:Math.min(f,0),fontSize:12,lineHeight:16,fontWeight:700,fill:"#89898A",textAlign:"left"}}},{visible:!0,offsetX:"82%",offsetY:15,title:{style:{text:Math.max(g,0),fontSize:12,lineHeight:16,fontWeight:700,fill:"#89898A",textAlign:"right"}}}]}},iBe=i=>{const{options:e}=A0("Gauge",$ii,i);return Ce.jsx(v0,{VChart:$bt,spec:e})},Hii=i=>{const{data:e,xField:t="name",yField:n="category",valField:r="value"}=i;return{type:"heatmap",data:[{id:"heatmapData",values:iwt(e,[t,n])}],xField:t,yField:n,valueField:r,cell:{style:{fill:{field:r,scale:"color"}}},scales:[{id:"color",type:"linear",domain:[{dataId:"heatmapData",fields:[r]}],range:["#008CD6","#62C7EE","#B4E3F6","#F55D3E"]}],axes:[{orient:"bottom",type:"band",bandPadding:0,visible:!0,title:{visible:!0,text:t}},{orient:"left",type:"band",bandPadding:0,visible:!0,title:{visible:!0,text:n},domainLine:{visible:!1},tick:{visible:!1}}],legends:{type:"color",field:r,visible:!0,orient:"bottom",layoutType:"region-relative",rail:{style:{fill:"#E1E1E1"}}}}},nBe=i=>{const{options:e}=A0("Heatmap",Hii,i);return Ce.jsx(v0,{VChart:Hbt,spec:e})},zii=i=>Bxt({},nLe,i,t=>{if(Array.isArray(t))return t}),rBe=[12,12];[1,2,3,4,6,8,12].reduce((i,e)=>(i[e]=e.toString(),i),{});const VO={light:{base:"#008CD6",warpBg:"#FAFAFA",borderColor:"#89898a",textColor:"#323233"},dark:{base:"#62C7EE",warpBg:"#424243",borderColor:"#CCCCCC",textColor:"#FFFFFF"}},Wii=$a.div`
|
|
9649
9649
|
${({ctheme:i})=>vl`
|
|
9650
9650
|
height: 100%;
|
|
9651
9651
|
width: 100%;
|
|
@@ -10839,7 +10839,7 @@ ${r}
|
|
|
10839
10839
|
background: #C8C8C8;
|
|
10840
10840
|
border-radius: 4px;
|
|
10841
10841
|
}
|
|
10842
|
-
`,sqe=({style:i})=>Ce.jsx(Pse,{className:"gpt-vis",style:i,children:Ce.jsx(Qne,{})}),w_i=({debug:i,loadingTimeout:e,loading:t,setLoading:n,style:r})=>{const o=ne.useRef(null);return o.current&&(clearTimeout(o.current),i&&console.warn("GPT-Vis withChartCode parse content timeout")),o.current=setTimeout(()=>{n(!1)},e||50),t?Ce.jsx(sqe,{style:r}):Ce.jsx(Pse,{className:"gpt-vis",style:r,children:Ce.jsx("p",{children:"Chart generation error."})})},aqe=ne.memo(({style:i,content:e,components:t,debug:n,loadingTimeout:r})=>{const[o,s]=ne.useState(!0),[a,l]=ne.useState(null),[u,c]=ne.useState(null),h=m=>vs(null,null,function*(){try{let v=JSON.parse(m);DPt(v)&&(v=yield PPt(v)),l(v),s(!1)}catch(v){c(v)}});if(ne.useEffect(()=>{h(e)},[e]),u)return Ce.jsx(w_i,{loadingTimeout:r,debug:n,style:i,setLoading:s});if(o)return Ce.jsx(sqe,{style:i});n&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",a);const p=a,{className:d,chartStyle:f}=p,g=sh(p,["className","chartStyle"]);return Ce.jsxs(Pse,{className:"gpt-vis",style:i,children:[Ce.jsx(x_i,{}),Ce.jsx(YPt,{chartProps:g,children:Ce.jsx(S_i,{className:d,chartStyle:f,components:t})})]})}),E_i=i=>{const o=i,{children:e,className:t="",node:n}=o,r=sh(o,["children","className","node"]);return Ce.jsx("code",on(Ae({},r),{className:t,children:e}))},A_i=i=>function(t){var m;const{children:n,className:r=""}=t,o=String(n).trim(),s=r.includes("language-vis-chart"),{components:a,languageRenderers:l,defaultRenderer:u,debug:c,loadingTimeout:h=5e3,style:d}=i;if(s)return Ce.jsx(aqe,{style:d,content:o,components:a,debug:c,loadingTimeout:h});const f=((m=r.match(/language-(.*)/))==null?void 0:m[1])||"",g=l,p=g&&g[f];return p?Ce.jsx(p,Ae({},t)):u?Ce.jsx(u,Ae({},t)):Ce.jsx(E_i,Ae({},t))},lqe=i=>A_i(i),uqe=i=>lqe(on(Ae({},i),{components:Ae(Ae({},zb),gg(i,"components",{}))})),T_i={timeRange:"Time range",custom:"Custom",today:"Today",last7Days:"Last 7 days",last30Days:"Last 30 days",last1Year:"Last year",lastNUnits:"Last {last} {unit}",periodAgoNUnits:"{range} {unit} Ago",unitday:"day",unitweek:"week",unitmonth:"month",unitquarter:"quarter",unityear:"year",thisWeek:"This week",thisMonth:"This month",thisQuarter:"This quarter",thisYear:"This year",weekToDate:"Week-to-date",monthToDate:"Month-to-date",quarterToDate:"Quarter-to-date",yearToDate:"Year-to-date",advanced:"Advanced",startTime:"Start time",endTime:"End time",cancel:"Cancel",modalApply:"Apply",apply:"Apply",lastPeriod:"Last N period",periodAgo:"N periods ago",periodBoundary:"Current/previous period boundary",currentNUnit:"Current {periodUnit} {boundaryType} {boundaryUnit}",previousNUnits:"previous {periodRange} {periodUnit} {boundaryType} {boundaryUnit}",configuration:"Configuration",periodRange:"Period range",boundaryType:"Boundary type",inputLast:"Last",inputPrevious:"Previous",current:"Current",previous:"Previous",day:"Day",week:"Week",month:"Month",quarter:"Quarter",year:"Year",first:"First",last:"Last",metric:"Metric",dimension:"Dimension",timeGrain:"Time grain",resetToDefault:"Reset to default",saveAsDefault:"Save as default",metricTime:"Metric time",basic:"Basic",customSql:"Custom SQL",column:"Column",condition:"Condition",value:"Value",conditionType:"Condition type",filterConditionSQL:"Filter condition SQL",equal:"Equal",notEqual:"Not equal",isNull:"Is null",isNotNull:"Is not null",greaterThan:"Greater than",greaterThanOrEqualto:"Greater than or equal to",lessThan:"Less than",lessThanEqualTo:"Less than or equal to",contains:"contains",notContains:"Not contains",StartsWith:"Starts with",doesNotStartWith:"Does not start with",endsWith:"Ends with",doesNotEndWith:"Does not end with",in:"In",notIn:"Not in",filterConditionPlaceholder:"Filter using the English name of the dimension",bar:"Bar chart",donut:"Donut chart",line:"Line chart",table:"Table",area:"Area chart",funnel:"Funnel",gauge:"Gauge",heatmap:"Heatmap",indicator:"Indicator",pie:"Pie chart",radar:"Radar chart",rank:"Rank",scatter:"Scatter chart",total:"Total",drillDown:"Drill down",metricError:"Failed to fetch metric data",chartDataLoadingFailed:"Data loading failed"};var Iv=(i=>(i.enUS="en-US",i.zhCN="zh-CN",i.zhTW="zh-TW",i.jaJP="ja-JP",i))(Iv||{});const R_i={timeRange:"时间范围",custom:"自定义",today:"今天",last7Days:"过去7天",last30Days:"过去30天",last1Year:"过去1年",lastNUnits:"过去 {range} {unit}",periodAgoNUnits:"前 {range} {unit}",unitday:"天",unitweek:"周",unitmonth:"月",unitquarter:"季度",unityear:"年",thisWeek:"本周",thisMonth:"本月",thisQuarter:"本季度",thisYear:"今年",weekToDate:"本周至今",monthToDate:"本月至今",quarterToDate:"本季度至今",yearToDate:"本年至今",advanced:"进阶",startTime:"开始时间",endTime:"结束时间",cancel:"取消",modalApply:"确定",apply:"应用",lastPeriod:"过去",periodAgo:"之前",periodBoundary:"期初期末",currentNUnit:"当前{periodUnit}{boundaryType}{boundaryUnit}",previousNUnits:"前{periodRange}{periodUnit}{boundaryType}{boundaryUnit}",configuration:"配置",periodRange:"周期",boundaryType:"类型",inputLast:"近",inputPrevious:"前",current:"当前",previous:"减少",day:"日",week:"周",month:"月",quarter:"季度",year:"年",first:"第一",last:"最后一",metric:"指标",dimension:"维度",timeGrain:"时间粒度",resetToDefault:"恢复默认",saveAsDefault:"保存为默认",metricTime:"时间",basic:"基础",customSql:"自定义SQL",column:"列",condition:"条件",value:"值",conditionType:"条件类型",filterConditionSQL:"过滤条件SQL",equal:"等于",notEqual:"不等于",isNull:"为空",isNotNull:"不为空",greaterThan:"大于",greaterThanOrEqualto:"大于等于",lessThan:"小于",lessThanEqualTo:"小于等于",contains:"包含",notContains:"不包含",StartsWith:"以...开头",doesNotStartWith:"不以...开头",endsWith:"以...结尾",doesNotEndWith:"不以...结尾",in:"在...中",notIn:"不在...中",filterConditionPlaceholder:"请使用维度的英文名称进行过滤",bar:"柱状图",donut:"环形图",line:"折线图",table:"表格",area:"面积图",funnel:"漏斗图",gauge:"仪表盘",heatmap:"热力图",indicator:"指标卡",pie:"饼图",radar:"雷达图",rank:"排名图",scatter:"散点图",total:"总计",drillDown:"下钻",metricError:"指标数据获取失败",chartDataLoadingFailed:"数据加载失败"},M_i={timeRange:"時間範圍",custom:"自訂",today:"今天",last7Days:"過去7天",last30Days:"過去30天",last1Year:"過去1年",lastNUnits:"過去{last}{unit}",periodAgoNUnits:"前{range}{unit}",unitday:"天",unitweek:"週",unitmonth:"月",unitquarter:"季度",unityear:"年",thisWeek:"本週",thisMonth:"本月",thisQuarter:"本季度",thisYear:"今年",weekToDate:"本週至今",monthToDate:"本月至今",quarterToDate:"本季度至今",yearToDate:"本年至今",advanced:"進階",startTime:"開始時間",endTime:"結束時間",cancel:"取消",modalApply:"確定",apply:"應用",lastPeriod:"过去",periodAgo:"之前",periodBoundary:"期初期末",currentNUnit:"當前{periodUnit}{boundaryType}{boundaryUnit}",previousNUnits:"前{periodRange}{periodUnit}{boundaryType}{boundaryUnit}",configuration:"配置",periodRange:"週期",boundaryType:"類型",inputLast:"近",inputPrevious:"前",current:"當前",previous:"減少",day:"日",week:"週",month:"月",quarter:"季度",year:"年",first:"第一",last:"最後",metric:"指標",dimension:"維度",timeGrain:"時間粒度",resetToDefault:"恢復預設",saveAsDefault:"儲存為預設",metricTime:"時間",basic:"基礎",customSql:"自訂SQL",column:"欄位",condition:"條件",value:"值",conditionType:"條件類型",filterConditionSQL:"過濾條件SQL",equal:"等於",notEqual:"不等於",isNull:"為空",isNotNull:"不為空",greaterThan:"大於",greaterThanOrEqualto:"大於等於",lessThan:"小於",lessThanEqualTo:"小於等於",contains:"包含",notContains:"不包含",StartsWith:"以...開頭",doesNotStartWith:"不以...開頭",endsWith:"以...結尾",doesNotEndWith:"不以...結尾",in:"在...中",notIn:"不在...中",filterConditionPlaceholder:"请使用維度的英文名稱進行過濾",bar:"柱狀圖",donut:"環形圖",line:"折線圖",table:"表格",area:"面積圖",funnel:"漏斗圖",gauge:"儀表板",heatmap:"熱力圖",indicator:"指標卡",pie:"餅圖",radar:"雷達圖",rank:"排名圖",scatter:"散點圖"},k_i={[Iv.enUS]:Ae({},T_i),[Iv.zhCN]:Ae({},R_i),[Iv.zhTW]:Ae({},M_i)};var GA={},Lse={exports:{}},cqe;function Pu(){return cqe||(cqe=1,(function(i){function e(t){return t&&t.__esModule?t:{default:t}}i.exports=e,i.exports.__esModule=!0,i.exports.default=i.exports})(Lse)),Lse.exports}var qA={},hqe;function O_i(){if(hqe)return qA;hqe=1,Object.defineProperty(qA,"__esModule",{value:!0}),qA.default=void 0;var i={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};return qA.default=i,qA}var YA={},XA={},KA={},Bse={exports:{}},Fse={exports:{}},Nse={exports:{}},$se={exports:{}},dqe;function fqe(){return dqe||(dqe=1,(function(i){function e(t){"@babel/helpers - typeof";return i.exports=e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i.exports.__esModule=!0,i.exports.default=i.exports,e(t)}i.exports=e,i.exports.__esModule=!0,i.exports.default=i.exports})($se)),$se.exports}var Hse={exports:{}},gqe;function I_i(){return gqe||(gqe=1,(function(i){var e=fqe().default;function t(n,r){if(e(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var s=o.call(n,r||"default");if(e(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}i.exports=t,i.exports.__esModule=!0,i.exports.default=i.exports})(Hse)),Hse.exports}var pqe;function D_i(){return pqe||(pqe=1,(function(i){var e=fqe().default,t=I_i();function n(r){var o=t(r,"string");return e(o)=="symbol"?o:o+""}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports})(Nse)),Nse.exports}var mqe;function P_i(){return mqe||(mqe=1,(function(i){var e=D_i();function t(n,r,o){return(r=e(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n}i.exports=t,i.exports.__esModule=!0,i.exports.default=i.exports})(Fse)),Fse.exports}var vqe;function ZP(){return vqe||(vqe=1,(function(i){var e=P_i();function t(r,o){var s=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),s.push.apply(s,a)}return s}function n(r){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?t(Object(s),!0).forEach(function(a){e(r,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):t(Object(s)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(s,a))})}return r}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports})(Bse)),Bse.exports}var ZA={},bqe;function QP(){return bqe||(bqe=1,Object.defineProperty(ZA,"__esModule",{value:!0}),ZA.commonLocale=void 0,ZA.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),ZA}var yqe;function L_i(){if(yqe)return KA;yqe=1;var i=Pu().default;Object.defineProperty(KA,"__esModule",{value:!0}),KA.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});return KA.default=n,KA}var QA={},_qe;function Cqe(){if(_qe)return QA;_qe=1,Object.defineProperty(QA,"__esModule",{value:!0}),QA.default=void 0;const i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};return QA.default=i,QA}var Sqe;function xqe(){if(Sqe)return XA;Sqe=1;var i=Pu().default;Object.defineProperty(XA,"__esModule",{value:!0}),XA.default=void 0;var e=i(L_i()),t=i(Cqe());const n={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},e.default),timePickerLocale:Object.assign({},t.default)};return XA.default=n,XA}var wqe;function B_i(){if(wqe)return YA;wqe=1;var i=Pu().default;Object.defineProperty(YA,"__esModule",{value:!0}),YA.default=void 0;var e=i(xqe());return YA.default=e.default,YA}var Eqe;function F_i(){if(Eqe)return GA;Eqe=1;var i=Pu().default;Object.defineProperty(GA,"__esModule",{value:!0}),GA.default=void 0;var e=i(O_i()),t=i(B_i()),n=i(xqe()),r=i(Cqe());const o="${label} is not a valid ${type}",s={locale:"en",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};return GA.default=s,GA}var zse,Aqe;function N_i(){return Aqe||(Aqe=1,zse=F_i()),zse}var $_i=N_i();const H_i=jr($_i);var JA={},e5={},Tqe;function z_i(){if(Tqe)return e5;Tqe=1,Object.defineProperty(e5,"__esModule",{value:!0}),e5.default=void 0;var i={items_per_page:"件 / ページ",jump_to:"移動",jump_to_confirm:"確認する",page:"ページ",prev_page:"前のページ",next_page:"次のページ",prev_5:"前 5ページ",next_5:"次 5ページ",prev_3:"前 3ページ",next_3:"次 3ページ",page_size:"ページサイズ"};return e5.default=i,e5}var t5={},i5={},n5={},Rqe;function W_i(){if(Rqe)return n5;Rqe=1;var i=Pu().default;Object.defineProperty(n5,"__esModule",{value:!0}),n5.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"ja_JP",today:"今日",now:"現在時刻",backToToday:"今日に戻る",ok:"確定",timeSelect:"時間を選択",dateSelect:"日時を選択",weekSelect:"週を選択",clear:"クリア",week:"週",month:"月",year:"年",previousMonth:"前月 (ページアップキー)",nextMonth:"翌月 (ページダウンキー)",monthSelect:"月を選択",yearSelect:"年を選択",decadeSelect:"年代を選択",yearFormat:"YYYY年",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"前年 (Controlを押しながら左キー)",nextYear:"翌年 (Controlを押しながら右キー)",previousDecade:"前の年代",nextDecade:"次の年代",previousCentury:"前の世紀",nextCentury:"次の世紀",monthBeforeYear:!1});return n5.default=n,n5}var r5={},Mqe;function kqe(){if(Mqe)return r5;Mqe=1,Object.defineProperty(r5,"__esModule",{value:!0}),r5.default=void 0;const i={placeholder:"時間を選択",rangePlaceholder:["開始時間","終了時間"]};return r5.default=i,r5}var Oqe;function Iqe(){if(Oqe)return i5;Oqe=1;var i=Pu().default;Object.defineProperty(i5,"__esModule",{value:!0}),i5.default=void 0;var e=i(W_i()),t=i(kqe());const n={lang:Object.assign({placeholder:"日付を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",monthPlaceholder:"月を選択",weekPlaceholder:"週を選択",rangePlaceholder:["開始日付","終了日付"],rangeYearPlaceholder:["開始年","終了年"],rangeMonthPlaceholder:["開始月","終了月"],rangeQuarterPlaceholder:["開始四半期","終了四半期"],rangeWeekPlaceholder:["開始週","終了週"],shortWeekDays:["日","月","火","水","木","金","土"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},e.default),timePickerLocale:Object.assign({},t.default)};return i5.default=n,i5}var Dqe;function V_i(){if(Dqe)return t5;Dqe=1;var i=Pu().default;Object.defineProperty(t5,"__esModule",{value:!0}),t5.default=void 0;var e=i(Iqe());return t5.default=e.default,t5}var Pqe;function j_i(){if(Pqe)return JA;Pqe=1;var i=Pu().default;Object.defineProperty(JA,"__esModule",{value:!0}),JA.default=void 0;var e=i(z_i()),t=i(V_i()),n=i(Iqe()),r=i(kqe());const o="${label}は有効な${type}ではありません",s={locale:"ja",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"選んでください",close:"閉じる"},Table:{filterTitle:"フィルター",filterConfirm:"OK",filterReset:"リセット",filterEmptyText:"フィルターなし",filterCheckAll:"すべてを選択",filterSearchPlaceholder:"フィルターで検索",emptyText:"データなし",selectAll:"ページ単位で選択",selectInvert:"ページ単位で反転",selectNone:"クリア",selectionAll:"すべてを選択",sortTitle:"ソート",expand:"展開する",collapse:"折り畳む",triggerDesc:"クリックで降順にソート",triggerAsc:"クリックで昇順にソート",cancelSort:"ソートをキャンセル"},Tour:{Next:"次",Previous:"前の",Finish:"仕上げる"},Modal:{okText:"OK",cancelText:"キャンセル",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"キャンセル"},Transfer:{titles:["",""],searchPlaceholder:"ここを検索",itemUnit:"アイテム",itemsUnit:"アイテム",remove:"削除",selectCurrent:"現在のページを選択",removeCurrent:"現在のページを削除",selectAll:"ページ単位で選択",deselectAll:"すべてのデータの選択を解除する",removeAll:"ページ単位で削除",selectInvert:"ページ単位で反転"},Upload:{uploading:"アップロード中...",removeFile:"ファイルを削除",uploadError:"アップロードエラー",previewFile:"ファイルをプレビュー",downloadFile:"ダウンロードファイル"},Empty:{description:"データがありません"},Icon:{icon:"アイコン"},Text:{edit:"編集",copy:"コピー",copied:"コピーされました",expand:"拡大する",collapse:"崩壊"},Form:{optional:"(オプション)",defaultValidateMessages:{default:"${label}のフィールド検証エラー",required:"${label}を入力してください",enum:"${label}は[${enum}]のいずれかである必要があります",whitespace:"${label}は空白文字にすることはできません",date:{format:"${label}の日付形式は不正です",parse:"${label}は日付に変換できません",invalid:"${label}は不正な日付です"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}は${len}文字である必要があります",min:"${label}は${min}文字以上である必要があります",max:"${label}は${max}文字以下である必要があります",range:"${label}は${min}-${max}文字の範囲である必要があります"},number:{len:"${label}は${len}と等しい必要があります",min:"${label}の最小値は${min}です",max:"${label}の最大値は${max}です",range:"${label}は${min}-${max}の範囲である必要があります"},array:{len:"${label}は${len}である必要があります",min:"${label}の最小は${min}です",max:"${label}の最大は${max}です",range:"${label}の合計は${min}-${max}の範囲である必要があります"},pattern:{mismatch:"${label}はパターン${pattern}と一致しません"}}},Image:{preview:"プレビュー"},QRCode:{expired:"QRコードの有効期限が切れました",refresh:"リフレッシュ",scanned:"スキャン済み"},ColorPicker:{presetEmpty:"空の",transparent:"透明",singleColor:"単色",gradientColor:"グラデーション"}};return JA.default=s,JA}var Wse,Lqe;function U_i(){return Lqe||(Lqe=1,Wse=j_i()),Wse}var G_i=U_i();const q_i=jr(G_i);var o5={},s5={},Bqe;function Y_i(){if(Bqe)return s5;Bqe=1,Object.defineProperty(s5,"__esModule",{value:!0}),s5.default=void 0;var i={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};return s5.default=i,s5}var a5={},l5={},u5={},Fqe;function X_i(){if(Fqe)return u5;Fqe=1;var i=Pu().default;Object.defineProperty(u5,"__esModule",{value:!0}),u5.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return u5.default=n,u5}var c5={},Nqe;function $qe(){if(Nqe)return c5;Nqe=1,Object.defineProperty(c5,"__esModule",{value:!0}),c5.default=void 0;const i={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};return c5.default=i,c5}var Hqe;function zqe(){if(Hqe)return l5;Hqe=1;var i=Pu().default;Object.defineProperty(l5,"__esModule",{value:!0}),l5.default=void 0;var e=i(X_i()),t=i($qe());const n={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},e.default),timePickerLocale:Object.assign({},t.default)};return n.lang.ok="确定",l5.default=n,l5}var Wqe;function K_i(){if(Wqe)return a5;Wqe=1;var i=Pu().default;Object.defineProperty(a5,"__esModule",{value:!0}),a5.default=void 0;var e=i(zqe());return a5.default=e.default,a5}var Vqe;function Z_i(){if(Vqe)return o5;Vqe=1;var i=Pu().default;Object.defineProperty(o5,"__esModule",{value:!0}),o5.default=void 0;var e=i(Y_i()),t=i(K_i()),n=i(zqe()),r=i($qe());const o="${label}不是一个有效的${type}",s={locale:"zh-cn",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"请选择",close:"关闭"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return o5.default=s,o5}var Vse,jqe;function Q_i(){return jqe||(jqe=1,Vse=Z_i()),Vse}var J_i=Q_i();const eCi=jr(J_i);var h5={},d5={},Uqe;function tCi(){if(Uqe)return d5;Uqe=1,Object.defineProperty(d5,"__esModule",{value:!0}),d5.default=void 0;var i={items_per_page:"條/頁",jump_to:"跳至",jump_to_confirm:"確定",page:"頁",prev_page:"上一頁",next_page:"下一頁",prev_5:"向前 5 頁",next_5:"向後 5 頁",prev_3:"向前 3 頁",next_3:"向後 3 頁",page_size:"頁碼"};return d5.default=i,d5}var f5={},g5={},p5={},Gqe;function iCi(){if(Gqe)return p5;Gqe=1;var i=Pu().default;Object.defineProperty(p5,"__esModule",{value:!0}),p5.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"zh_TW",today:"今天",now:"此刻",backToToday:"返回今天",ok:"確定",timeSelect:"選擇時間",dateSelect:"選擇日期",weekSelect:"選擇周",clear:"清除",week:"週",month:"月",year:"年",previousMonth:"上個月 (翻頁上鍵)",nextMonth:"下個月 (翻頁下鍵)",monthSelect:"選擇月份",yearSelect:"選擇年份",decadeSelect:"選擇年代",yearFormat:"YYYY年",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"上一年 (Control鍵加左方向鍵)",nextYear:"下一年 (Control鍵加右方向鍵)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世紀",nextCentury:"下一世紀",cellDateFormat:"D",monthBeforeYear:!1});return p5.default=n,p5}var m5={},qqe;function Yqe(){if(qqe)return m5;qqe=1,Object.defineProperty(m5,"__esModule",{value:!0}),m5.default=void 0;const i={placeholder:"請選擇時間"};return m5.default=i,m5}var Xqe;function Kqe(){if(Xqe)return g5;Xqe=1;var i=Pu().default;Object.defineProperty(g5,"__esModule",{value:!0}),g5.default=void 0;var e=i(iCi()),t=i(Yqe());const n={lang:Object.assign({placeholder:"請選擇日期",yearPlaceholder:"請選擇年份",quarterPlaceholder:"請選擇季度",monthPlaceholder:"請選擇月份",weekPlaceholder:"請選擇周",rangePlaceholder:["開始日期","結束日期"],rangeYearPlaceholder:["開始年份","結束年份"],rangeMonthPlaceholder:["開始月份","結束月份"],rangeQuarterPlaceholder:["開始季度","結束季度"],rangeWeekPlaceholder:["開始周","結束周"]},e.default),timePickerLocale:Object.assign({},t.default)};return n.lang.ok="確 定",g5.default=n,g5}var Zqe;function nCi(){if(Zqe)return f5;Zqe=1;var i=Pu().default;Object.defineProperty(f5,"__esModule",{value:!0}),f5.default=void 0;var e=i(Kqe());return f5.default=e.default,f5}var Qqe;function rCi(){if(Qqe)return h5;Qqe=1;var i=Pu().default;Object.defineProperty(h5,"__esModule",{value:!0}),h5.default=void 0;var e=i(tCi()),t=i(nCi()),n=i(Kqe()),r=i(Yqe());const o="${label}不是一個有效的${type}",s={locale:"zh-tw",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"請選擇",close:"關閉"},Table:{filterTitle:"篩選器",filterConfirm:"確定",filterReset:"重置",filterEmptyText:"無篩選項",filterCheckAll:"全選",filterSearchPlaceholder:"在篩選項中搜尋",emptyText:"暫無數據",selectAll:"全部選取",selectInvert:"反向選取",selectNone:"清空所有",selectionAll:"全選所有",sortTitle:"排序",expand:"展開行",collapse:"關閉行",triggerDesc:"點擊降序",triggerAsc:"點擊升序",cancelSort:"取消排序"},Modal:{okText:"確定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"結束導覽"},Popconfirm:{okText:"確定",cancelText:"取消"},Transfer:{titles:["",""],searchPlaceholder:"搜尋資料",itemUnit:"項目",itemsUnit:"項目",remove:"删除",selectCurrent:"全選當頁",removeCurrent:"删除當頁",selectAll:"全選所有",removeAll:"删除全部",selectInvert:"反選當頁"},Upload:{uploading:"正在上傳...",removeFile:"刪除檔案",uploadError:"上傳失敗",previewFile:"檔案預覽",downloadFile:"下载文件"},Empty:{description:"無此資料"},Icon:{icon:"圖標"},Text:{edit:"編輯",copy:"複製",copied:"複製成功",expand:"展開",collapse:"收起"},Form:{optional:"(可選)",defaultValidateMessages:{default:"字段驗證錯誤${label}",required:"請輸入${label}",enum:"${label}必須是其中一個[${enum}]",whitespace:"${label}不能為空字符",date:{format:"${label}日期格式無效",parse:"${label}不能轉換為日期",invalid:"${label}是一個無效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}須為${len}個字符",min:"${label}最少${min}個字符",max:"${label}最多${max}個字符",range:"${label}須在${min}-${max}字符之間"},number:{len:"${label}必須等於${len}",min:"${label}最小值為${min}",max:"${label}最大值為${max}",range:"${label}須在${min}-${max}之間"},array:{len:"須為${len}個${label}",min:"最少${min}個${label}",max:"最多${max}個${label}",range:"${label}數量須在${min}-${max}之間"},pattern:{mismatch:"${label}與模式不匹配${pattern}"}}},Image:{preview:"預覽"},QRCode:{expired:"二維碼過期",refresh:"點擊刷新",scanned:"已掃描"},ColorPicker:{presetEmpty:"暫無",transparent:"透明",singleColor:"單色",gradientColor:"漸變色"}};return h5.default=s,h5}var jse,Jqe;function oCi(){return Jqe||(Jqe=1,jse=rCi()),jse}var sCi=oCi();const aCi=jr(sCi),lCi={[Iv.enUS]:H_i,[Iv.zhCN]:eCi,[Iv.zhTW]:aCi,[Iv.jaJP]:q_i};var JP={exports:{}},uCi=JP.exports,eYe;function cCi(){return eYe||(eYe=1,(function(i,e){(function(t,n){i.exports=n(Jye())})(uCi,(function(t){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var r=n(t),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(s,a){return a==="W"?s+"周":s+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(s,a){var l=100*s+a;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return r.default.locale(o,null,!0),o}))})(JP)),JP.exports}cCi();const hCi=i=>{switch(i){case"zh-CN":Hr.locale("zh-cn");break}},dCi={light:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6",colorText:"#323233"}},dark:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6"}}},fCi=i=>{var a,l;const s=i,{children:e}=s,t=sh(s,["children"]);console.log("ConfigProvider",t);const n=ne.useMemo(()=>zii(t),[t]),r=((a=n.common)==null?void 0:a.lang)||"zh-CN",o=((l=n.common)==null?void 0:l.theme)||"light";return hCi(r),Ce.jsx(rLe.Provider,{value:n,children:Ce.jsx(Bii,{locale:r,messages:k_i[r],defaultLocale:"zh-CN",children:Ce.jsx(uf,{theme:dCi[o],locale:lCi[r],children:e})})})};var gCi="*",pCi=(function(){function i(){this._events={}}return i.prototype.on=function(e,t,n){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!n}),this},i.prototype.once=function(e,t){return this.on(e,t,!0)},i.prototype.emit=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this._events[e]||[],s=this._events[gCi]||[],a=function(l){for(var u=l.length,c=0;c<u;c++)if(l[c]){var h=l[c],d=h.callback,f=h.once;f&&(l.splice(c,1),l.length===0&&delete t._events[e],u--,c--),d.apply(t,n)}};a(o),a(s)},i.prototype.off=function(e,t){if(!e)this._events={};else if(!t)delete this._events[e];else{for(var n=this._events[e]||[],r=n.length,o=0;o<r;o++)n[o].callback===t&&(n.splice(o,1),r--,o--);n.length===0&&delete this._events[e]}return this},i.prototype.getEvents=function(){return this._events},i})();function R8i(){}function M8i(){}function tYe(i){const e=[],t=String(i||"");let n=t.indexOf(","),r=0,o=!1;for(;!o;){n===-1&&(n=t.length,o=!0);const s=t.slice(r,n).trim();(s||!o)&&e.push(s),r=n+1,n=t.indexOf(",",r)}return e}function iYe(i,e){const t={};return(i[i.length-1]===""?[...i,""]:i).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const mCi=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vCi=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bCi={};function nYe(i,e){return(bCi.jsx?vCi:mCi).test(i)}const yCi=/[ \t\n\f\r]/g;function _Ci(i){return typeof i=="object"?i.type==="text"?rYe(i.value):!1:rYe(i)}function rYe(i){return i.replace(yCi,"")===""}let v5=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};v5.prototype.normal={},v5.prototype.property={},v5.prototype.space=void 0;function oYe(i,e){const t={},n={};for(const r of i)Object.assign(t,r.property),Object.assign(n,r.normal);return new v5(t,n,e)}function b5(i){return i.toLowerCase()}let Lh=class{constructor(e,t){this.attribute=t,this.property=e}};Lh.prototype.attribute="",Lh.prototype.booleanish=!1,Lh.prototype.boolean=!1,Lh.prototype.commaOrSpaceSeparated=!1,Lh.prototype.commaSeparated=!1,Lh.prototype.defined=!1,Lh.prototype.mustUseProperty=!1,Lh.prototype.number=!1,Lh.prototype.overloadedBoolean=!1,Lh.prototype.property="",Lh.prototype.spaceSeparated=!1,Lh.prototype.space=void 0;let CCi=0;const ro=ny(),_l=ny(),Use=ny(),en=ny(),$s=ny(),_S=ny(),bd=ny();function ny(){return po(2,++CCi)}const Gse=Object.freeze(Object.defineProperty({__proto__:null,boolean:ro,booleanish:_l,commaOrSpaceSeparated:bd,commaSeparated:_S,number:en,overloadedBoolean:Use,spaceSeparated:$s},Symbol.toStringTag,{value:"Module"})),qse=Object.keys(Gse);let Yse=class extends Lh{constructor(e,t,n,r){let o=-1;if(super(e,t),sYe(this,"space",r),typeof n=="number")for(;++o<qse.length;){const s=qse[o];sYe(this,qse[o],(n&Gse[s])===Gse[s])}}};Yse.prototype.defined=!0;function sYe(i,e,t){t&&(i[e]=t)}function CS(i){const e={},t={};for(const[n,r]of Object.entries(i.properties)){const o=new Yse(n,i.transform(i.attributes||{},n),r,i.space);i.mustUseProperty&&i.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),e[n]=o,t[b5(n)]=n,t[b5(o.attribute)]=n}return new v5(e,t,i.space)}const aYe=CS({properties:{ariaActiveDescendant:null,ariaAtomic:_l,ariaAutoComplete:null,ariaBusy:_l,ariaChecked:_l,ariaColCount:en,ariaColIndex:en,ariaColSpan:en,ariaControls:$s,ariaCurrent:null,ariaDescribedBy:$s,ariaDetails:null,ariaDisabled:_l,ariaDropEffect:$s,ariaErrorMessage:null,ariaExpanded:_l,ariaFlowTo:$s,ariaGrabbed:_l,ariaHasPopup:null,ariaHidden:_l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$s,ariaLevel:en,ariaLive:null,ariaModal:_l,ariaMultiLine:_l,ariaMultiSelectable:_l,ariaOrientation:null,ariaOwns:$s,ariaPlaceholder:null,ariaPosInSet:en,ariaPressed:_l,ariaReadOnly:_l,ariaRelevant:null,ariaRequired:_l,ariaRoleDescription:$s,ariaRowCount:en,ariaRowIndex:en,ariaRowSpan:en,ariaSelected:_l,ariaSetSize:en,ariaSort:null,ariaValueMax:en,ariaValueMin:en,ariaValueNow:en,ariaValueText:null,role:null},transform(i,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function lYe(i,e){return e in i?i[e]:e}function uYe(i,e){return lYe(i,e.toLowerCase())}const SCi=CS({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_S,acceptCharset:$s,accessKey:$s,action:null,allow:null,allowFullScreen:ro,allowPaymentRequest:ro,allowUserMedia:ro,alt:null,as:null,async:ro,autoCapitalize:null,autoComplete:$s,autoFocus:ro,autoPlay:ro,blocking:$s,capture:null,charSet:null,checked:ro,cite:null,className:$s,cols:en,colSpan:null,content:null,contentEditable:_l,controls:ro,controlsList:$s,coords:en|_S,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ro,defer:ro,dir:null,dirName:null,disabled:ro,download:Use,draggable:_l,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ro,formTarget:null,headers:$s,height:en,hidden:Use,high:en,href:null,hrefLang:null,htmlFor:$s,httpEquiv:$s,id:null,imageSizes:null,imageSrcSet:null,inert:ro,inputMode:null,integrity:null,is:null,isMap:ro,itemId:null,itemProp:$s,itemRef:$s,itemScope:ro,itemType:$s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ro,low:en,manifest:null,max:null,maxLength:en,media:null,method:null,min:null,minLength:en,multiple:ro,muted:ro,name:null,nonce:null,noModule:ro,noValidate:ro,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ro,optimum:en,pattern:null,ping:$s,placeholder:null,playsInline:ro,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ro,referrerPolicy:null,rel:$s,required:ro,reversed:ro,rows:en,rowSpan:en,sandbox:$s,scope:null,scoped:ro,seamless:ro,selected:ro,shadowRootClonable:ro,shadowRootDelegatesFocus:ro,shadowRootMode:null,shape:null,size:en,sizes:null,slot:null,span:en,spellCheck:_l,src:null,srcDoc:null,srcLang:null,srcSet:null,start:en,step:null,style:null,tabIndex:en,target:null,title:null,translate:null,type:null,typeMustMatch:ro,useMap:null,value:_l,width:en,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$s,axis:null,background:null,bgColor:null,border:en,borderColor:null,bottomMargin:en,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ro,declare:ro,event:null,face:null,frame:null,frameBorder:null,hSpace:en,leftMargin:en,link:null,longDesc:null,lowSrc:null,marginHeight:en,marginWidth:en,noResize:ro,noHref:ro,noShade:ro,noWrap:ro,object:null,profile:null,prompt:null,rev:null,rightMargin:en,rules:null,scheme:null,scrolling:_l,standby:null,summary:null,text:null,topMargin:en,valueType:null,version:null,vAlign:null,vLink:null,vSpace:en,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ro,disableRemotePlayback:ro,prefix:null,property:null,results:en,security:null,unselectable:null},space:"html",transform:uYe}),xCi=CS({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:bd,accentHeight:en,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:en,amplitude:en,arabicForm:null,ascent:en,attributeName:null,attributeType:null,azimuth:en,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:en,by:null,calcMode:null,capHeight:en,className:$s,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:en,diffuseConstant:en,direction:null,display:null,dur:null,divisor:en,dominantBaseline:null,download:ro,dx:null,dy:null,edgeMode:null,editable:null,elevation:en,enableBackground:null,end:null,event:null,exponent:en,externalResourcesRequired:null,fill:null,fillOpacity:en,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_S,g2:_S,glyphName:_S,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:en,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:en,horizOriginX:en,horizOriginY:en,id:null,ideographic:en,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:en,k:en,k1:en,k2:en,k3:en,k4:en,kernelMatrix:bd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:en,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:en,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:en,overlineThickness:en,paintOrder:null,panose1:null,path:null,pathLength:en,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$s,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:en,pointsAtY:en,pointsAtZ:en,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:bd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:bd,rev:bd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:bd,requiredFeatures:bd,requiredFonts:bd,requiredFormats:bd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:en,specularExponent:en,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:en,strikethroughThickness:en,string:null,stroke:null,strokeDashArray:bd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:en,strokeOpacity:en,strokeWidth:null,style:null,surfaceScale:en,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:bd,tabIndex:en,tableValues:null,target:null,targetX:en,targetY:en,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:bd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:en,underlineThickness:en,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:en,values:null,vAlphabetic:en,vMathematical:en,vectorEffect:null,vHanging:en,vIdeographic:en,version:null,vertAdvY:en,vertOriginX:en,vertOriginY:en,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:en,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:lYe}),cYe=CS({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(i,e){return"xlink:"+e.slice(5).toLowerCase()}}),hYe=CS({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:uYe}),dYe=CS({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,e){return"xml:"+e.slice(3).toLowerCase()}}),wCi={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ECi=/[A-Z]/g,fYe=/-[a-z]/g,ACi=/^data[-\w.:]+$/i;function Xse(i,e){const t=b5(e);let n=e,r=Lh;if(t in i.normal)return i.property[i.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&ACi.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(fYe,RCi);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!fYe.test(o)){let s=o.replace(ECi,TCi);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}r=Yse}return new r(n,e)}function TCi(i){return"-"+i.toLowerCase()}function RCi(i){return i.charAt(1).toUpperCase()}const eL=oYe([aYe,SCi,cYe,hYe,dYe],"html"),SS=oYe([aYe,xCi,cYe,hYe,dYe],"svg");function gYe(i){const e=String(i||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function pYe(i){return i.join(" ").trim()}var xS={},Kse,mYe;function MCi(){if(mYe)return Kse;mYe=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,a=/^\s+|\s+$/g,l=`
|
|
10842
|
+
`,sqe=({style:i})=>Ce.jsx(Pse,{className:"gpt-vis",style:i,children:Ce.jsx(Qne,{})}),w_i=({debug:i,loadingTimeout:e,loading:t,setLoading:n,style:r})=>{const o=ne.useRef(null);return o.current&&(clearTimeout(o.current),i&&console.warn("GPT-Vis withChartCode parse content timeout")),o.current=setTimeout(()=>{n(!1)},e||50),t?Ce.jsx(sqe,{style:r}):Ce.jsx(Pse,{className:"gpt-vis",style:r,children:Ce.jsx("p",{children:"Chart generation error."})})},aqe=ne.memo(({style:i,content:e,components:t,debug:n,loadingTimeout:r})=>{const[o,s]=ne.useState(!0),[a,l]=ne.useState(null),[u,c]=ne.useState(null),h=m=>vs(null,null,function*(){try{let v=JSON.parse(m);DPt(v)&&(v=yield PPt(v)),l(v),s(!1)}catch(v){c(v)}});if(ne.useEffect(()=>{h(e)},[e]),u)return Ce.jsx(w_i,{loadingTimeout:r,debug:n,style:i,setLoading:s});if(o)return Ce.jsx(sqe,{style:i});n&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",a);const p=a,{className:d,chartStyle:f}=p,g=sh(p,["className","chartStyle"]);return Ce.jsxs(Pse,{className:"gpt-vis",style:i,children:[Ce.jsx(x_i,{}),Ce.jsx(YPt,{chartProps:g,children:Ce.jsx(S_i,{className:d,chartStyle:f,components:t})})]})}),E_i=i=>{const o=i,{children:e,className:t="",node:n}=o,r=sh(o,["children","className","node"]);return Ce.jsx("code",on(Ae({},r),{className:t,children:e}))},A_i=i=>function(t){var m;const{children:n,className:r=""}=t,o=String(n).trim(),s=r.includes("language-vis-chart"),{components:a,languageRenderers:l,defaultRenderer:u,debug:c,loadingTimeout:h=5e3,style:d}=i;if(s)return Ce.jsx(aqe,{style:d,content:o,components:a,debug:c,loadingTimeout:h});const f=((m=r.match(/language-(.*)/))==null?void 0:m[1])||"",g=l,p=g&&g[f];return p?Ce.jsx(p,Ae({},t)):u?Ce.jsx(u,Ae({},t)):Ce.jsx(E_i,Ae({},t))},lqe=i=>A_i(i),uqe=i=>lqe(on(Ae({},i),{components:Ae(Ae({},zb),gg(i,"components",{}))})),T_i={timeRange:"Time range",custom:"Custom",today:"Today",last7Days:"Last 7 days",last30Days:"Last 30 days",last1Year:"Last year",lastNUnits:"Last {last} {unit}",periodAgoNUnits:"{range} {unit} Ago",unitday:"day",unitweek:"week",unitmonth:"month",unitquarter:"quarter",unityear:"year",thisWeek:"This week",thisMonth:"This month",thisQuarter:"This quarter",thisYear:"This year",weekToDate:"Week-to-date",monthToDate:"Month-to-date",quarterToDate:"Quarter-to-date",yearToDate:"Year-to-date",advanced:"Advanced",startTime:"Start time",endTime:"End time",cancel:"Cancel",modalApply:"Apply",apply:"Apply",lastPeriod:"Last N period",periodAgo:"N periods ago",periodBoundary:"Current/previous period boundary",currentNUnit:"Current {periodUnit} {boundaryType} {boundaryUnit}",previousNUnits:"previous {periodRange} {periodUnit} {boundaryType} {boundaryUnit}",configuration:"Configuration",periodRange:"Period range",boundaryType:"Boundary type",inputLast:"Last",inputPrevious:"Previous",current:"Current",previous:"Previous",day:"Day",week:"Week",month:"Month",quarter:"Quarter",year:"Year",first:"First",last:"Last",metric:"Metric",dimension:"Dimension",timeGrain:"Time grain",resetToDefault:"Reset to default",saveAsDefault:"Save as default",metricTime:"Metric time",basic:"Basic",customSql:"Custom SQL",column:"Column",condition:"Condition",value:"Value",conditionType:"Condition type",filterConditionSQL:"Filter condition SQL",equal:"Equal",notEqual:"Not equal",isNull:"Is null",isNotNull:"Is not null",greaterThan:"Greater than",greaterThanOrEqualto:"Greater than or equal to",lessThan:"Less than",lessThanEqualTo:"Less than or equal to",contains:"contains",notContains:"Not contains",StartsWith:"Starts with",doesNotStartWith:"Does not start with",endsWith:"Ends with",doesNotEndWith:"Does not end with",in:"In",notIn:"Not in",filterConditionPlaceholder:"Filter using the English name of the dimension",bar:"Bar chart",donut:"Donut chart",line:"Line chart",table:"Table",area:"Area chart",funnel:"Funnel",gauge:"Gauge",heatmap:"Heatmap",indicator:"Indicator",pie:"Pie chart",radar:"Radar chart",rank:"Rank",scatter:"Scatter chart",total:"Total",drillDown:"Drill down",metricError:"Failed to fetch metric data",chartDataLoadingFailed:"Data loading failed"};var Iv=(i=>(i.enUS="en-US",i.zhCN="zh-CN",i.zhTW="zh-TW",i.jaJP="ja-JP",i))(Iv||{});const R_i={timeRange:"时间范围",custom:"自定义",today:"今天",last7Days:"过去7天",last30Days:"过去30天",last1Year:"过去1年",lastNUnits:"过去 {range} {unit}",periodAgoNUnits:"前 {range} {unit}",unitday:"天",unitweek:"周",unitmonth:"月",unitquarter:"季度",unityear:"年",thisWeek:"本周",thisMonth:"本月",thisQuarter:"本季度",thisYear:"今年",weekToDate:"本周至今",monthToDate:"本月至今",quarterToDate:"本季度至今",yearToDate:"本年至今",advanced:"进阶",startTime:"开始时间",endTime:"结束时间",cancel:"取消",modalApply:"确定",apply:"应用",lastPeriod:"过去",periodAgo:"之前",periodBoundary:"期初期末",currentNUnit:"当前{periodUnit}{boundaryType}{boundaryUnit}",previousNUnits:"前{periodRange}{periodUnit}{boundaryType}{boundaryUnit}",configuration:"配置",periodRange:"周期",boundaryType:"类型",inputLast:"近",inputPrevious:"前",current:"当前",previous:"减少",day:"日",week:"周",month:"月",quarter:"季度",year:"年",first:"第一",last:"最后一",metric:"指标",dimension:"维度",timeGrain:"时间粒度",resetToDefault:"恢复默认",saveAsDefault:"保存为默认",metricTime:"时间",basic:"基础",customSql:"自定义SQL",column:"列",condition:"条件",value:"值",conditionType:"条件类型",filterConditionSQL:"过滤条件SQL",equal:"等于",notEqual:"不等于",isNull:"为空",isNotNull:"不为空",greaterThan:"大于",greaterThanOrEqualto:"大于等于",lessThan:"小于",lessThanEqualTo:"小于等于",contains:"包含",notContains:"不包含",StartsWith:"以...开头",doesNotStartWith:"不以...开头",endsWith:"以...结尾",doesNotEndWith:"不以...结尾",in:"在...中",notIn:"不在...中",filterConditionPlaceholder:"请使用维度的英文名称进行过滤",bar:"柱状图",donut:"环形图",line:"折线图",table:"表格",area:"面积图",funnel:"漏斗图",gauge:"仪表盘",heatmap:"热力图",indicator:"指标卡",pie:"饼图",radar:"雷达图",rank:"排名图",scatter:"散点图",total:"总计",drillDown:"下钻",metricError:"指标数据获取失败",chartDataLoadingFailed:"数据加载失败"},M_i={timeRange:"時間範圍",custom:"自訂",today:"今天",last7Days:"過去7天",last30Days:"過去30天",last1Year:"過去1年",lastNUnits:"過去{last}{unit}",periodAgoNUnits:"前{range}{unit}",unitday:"天",unitweek:"週",unitmonth:"月",unitquarter:"季度",unityear:"年",thisWeek:"本週",thisMonth:"本月",thisQuarter:"本季度",thisYear:"今年",weekToDate:"本週至今",monthToDate:"本月至今",quarterToDate:"本季度至今",yearToDate:"本年至今",advanced:"進階",startTime:"開始時間",endTime:"結束時間",cancel:"取消",modalApply:"確定",apply:"應用",lastPeriod:"过去",periodAgo:"之前",periodBoundary:"期初期末",currentNUnit:"當前{periodUnit}{boundaryType}{boundaryUnit}",previousNUnits:"前{periodRange}{periodUnit}{boundaryType}{boundaryUnit}",configuration:"配置",periodRange:"週期",boundaryType:"類型",inputLast:"近",inputPrevious:"前",current:"當前",previous:"減少",day:"日",week:"週",month:"月",quarter:"季度",year:"年",first:"第一",last:"最後",metric:"指標",dimension:"維度",timeGrain:"時間粒度",resetToDefault:"恢復預設",saveAsDefault:"儲存為預設",metricTime:"時間",basic:"基礎",customSql:"自訂SQL",column:"欄位",condition:"條件",value:"值",conditionType:"條件類型",filterConditionSQL:"過濾條件SQL",equal:"等於",notEqual:"不等於",isNull:"為空",isNotNull:"不為空",greaterThan:"大於",greaterThanOrEqualto:"大於等於",lessThan:"小於",lessThanEqualTo:"小於等於",contains:"包含",notContains:"不包含",StartsWith:"以...開頭",doesNotStartWith:"不以...開頭",endsWith:"以...結尾",doesNotEndWith:"不以...結尾",in:"在...中",notIn:"不在...中",filterConditionPlaceholder:"请使用維度的英文名稱進行過濾",bar:"柱狀圖",donut:"環形圖",line:"折線圖",table:"表格",area:"面積圖",funnel:"漏斗圖",gauge:"儀表板",heatmap:"熱力圖",indicator:"指標卡",pie:"餅圖",radar:"雷達圖",rank:"排名圖",scatter:"散點圖"},k_i={[Iv.enUS]:Ae({},T_i),[Iv.zhCN]:Ae({},R_i),[Iv.zhTW]:Ae({},M_i)};var GA={},Lse={exports:{}},cqe;function Pu(){return cqe||(cqe=1,(function(i){function e(t){return t&&t.__esModule?t:{default:t}}i.exports=e,i.exports.__esModule=!0,i.exports.default=i.exports})(Lse)),Lse.exports}var qA={},hqe;function O_i(){if(hqe)return qA;hqe=1,Object.defineProperty(qA,"__esModule",{value:!0}),qA.default=void 0;var i={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};return qA.default=i,qA}var YA={},XA={},KA={},Bse={exports:{}},Fse={exports:{}},Nse={exports:{}},$se={exports:{}},dqe;function fqe(){return dqe||(dqe=1,(function(i){function e(t){"@babel/helpers - typeof";return i.exports=e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i.exports.__esModule=!0,i.exports.default=i.exports,e(t)}i.exports=e,i.exports.__esModule=!0,i.exports.default=i.exports})($se)),$se.exports}var Hse={exports:{}},gqe;function I_i(){return gqe||(gqe=1,(function(i){var e=fqe().default;function t(n,r){if(e(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var s=o.call(n,r||"default");if(e(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}i.exports=t,i.exports.__esModule=!0,i.exports.default=i.exports})(Hse)),Hse.exports}var pqe;function D_i(){return pqe||(pqe=1,(function(i){var e=fqe().default,t=I_i();function n(r){var o=t(r,"string");return e(o)=="symbol"?o:o+""}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports})(Nse)),Nse.exports}var mqe;function P_i(){return mqe||(mqe=1,(function(i){var e=D_i();function t(n,r,o){return(r=e(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n}i.exports=t,i.exports.__esModule=!0,i.exports.default=i.exports})(Fse)),Fse.exports}var vqe;function ZP(){return vqe||(vqe=1,(function(i){var e=P_i();function t(r,o){var s=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);o&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),s.push.apply(s,a)}return s}function n(r){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?t(Object(s),!0).forEach(function(a){e(r,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):t(Object(s)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(s,a))})}return r}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports})(Bse)),Bse.exports}var ZA={},bqe;function QP(){return bqe||(bqe=1,Object.defineProperty(ZA,"__esModule",{value:!0}),ZA.commonLocale=void 0,ZA.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),ZA}var yqe;function L_i(){if(yqe)return KA;yqe=1;var i=Pu().default;Object.defineProperty(KA,"__esModule",{value:!0}),KA.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});return KA.default=n,KA}var QA={},_qe;function Cqe(){if(_qe)return QA;_qe=1,Object.defineProperty(QA,"__esModule",{value:!0}),QA.default=void 0;const i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};return QA.default=i,QA}var Sqe;function xqe(){if(Sqe)return XA;Sqe=1;var i=Pu().default;Object.defineProperty(XA,"__esModule",{value:!0}),XA.default=void 0;var e=i(L_i()),t=i(Cqe());const n={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},e.default),timePickerLocale:Object.assign({},t.default)};return XA.default=n,XA}var wqe;function B_i(){if(wqe)return YA;wqe=1;var i=Pu().default;Object.defineProperty(YA,"__esModule",{value:!0}),YA.default=void 0;var e=i(xqe());return YA.default=e.default,YA}var Eqe;function F_i(){if(Eqe)return GA;Eqe=1;var i=Pu().default;Object.defineProperty(GA,"__esModule",{value:!0}),GA.default=void 0;var e=i(O_i()),t=i(B_i()),n=i(xqe()),r=i(Cqe());const o="${label} is not a valid ${type}",s={locale:"en",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};return GA.default=s,GA}var zse,Aqe;function N_i(){return Aqe||(Aqe=1,zse=F_i()),zse}var $_i=N_i();const H_i=jr($_i);var JA={},e5={},Tqe;function z_i(){if(Tqe)return e5;Tqe=1,Object.defineProperty(e5,"__esModule",{value:!0}),e5.default=void 0;var i={items_per_page:"件 / ページ",jump_to:"移動",jump_to_confirm:"確認する",page:"ページ",prev_page:"前のページ",next_page:"次のページ",prev_5:"前 5ページ",next_5:"次 5ページ",prev_3:"前 3ページ",next_3:"次 3ページ",page_size:"ページサイズ"};return e5.default=i,e5}var t5={},i5={},n5={},Rqe;function W_i(){if(Rqe)return n5;Rqe=1;var i=Pu().default;Object.defineProperty(n5,"__esModule",{value:!0}),n5.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"ja_JP",today:"今日",now:"現在時刻",backToToday:"今日に戻る",ok:"確定",timeSelect:"時間を選択",dateSelect:"日時を選択",weekSelect:"週を選択",clear:"クリア",week:"週",month:"月",year:"年",previousMonth:"前月 (ページアップキー)",nextMonth:"翌月 (ページダウンキー)",monthSelect:"月を選択",yearSelect:"年を選択",decadeSelect:"年代を選択",yearFormat:"YYYY年",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"前年 (Controlを押しながら左キー)",nextYear:"翌年 (Controlを押しながら右キー)",previousDecade:"前の年代",nextDecade:"次の年代",previousCentury:"前の世紀",nextCentury:"次の世紀",monthBeforeYear:!1});return n5.default=n,n5}var r5={},Mqe;function kqe(){if(Mqe)return r5;Mqe=1,Object.defineProperty(r5,"__esModule",{value:!0}),r5.default=void 0;const i={placeholder:"時間を選択",rangePlaceholder:["開始時間","終了時間"]};return r5.default=i,r5}var Oqe;function Iqe(){if(Oqe)return i5;Oqe=1;var i=Pu().default;Object.defineProperty(i5,"__esModule",{value:!0}),i5.default=void 0;var e=i(W_i()),t=i(kqe());const n={lang:Object.assign({placeholder:"日付を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",monthPlaceholder:"月を選択",weekPlaceholder:"週を選択",rangePlaceholder:["開始日付","終了日付"],rangeYearPlaceholder:["開始年","終了年"],rangeMonthPlaceholder:["開始月","終了月"],rangeQuarterPlaceholder:["開始四半期","終了四半期"],rangeWeekPlaceholder:["開始週","終了週"],shortWeekDays:["日","月","火","水","木","金","土"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},e.default),timePickerLocale:Object.assign({},t.default)};return i5.default=n,i5}var Dqe;function V_i(){if(Dqe)return t5;Dqe=1;var i=Pu().default;Object.defineProperty(t5,"__esModule",{value:!0}),t5.default=void 0;var e=i(Iqe());return t5.default=e.default,t5}var Pqe;function j_i(){if(Pqe)return JA;Pqe=1;var i=Pu().default;Object.defineProperty(JA,"__esModule",{value:!0}),JA.default=void 0;var e=i(z_i()),t=i(V_i()),n=i(Iqe()),r=i(kqe());const o="${label}は有効な${type}ではありません",s={locale:"ja",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"選んでください",close:"閉じる"},Table:{filterTitle:"フィルター",filterConfirm:"OK",filterReset:"リセット",filterEmptyText:"フィルターなし",filterCheckAll:"すべてを選択",filterSearchPlaceholder:"フィルターで検索",emptyText:"データなし",selectAll:"ページ単位で選択",selectInvert:"ページ単位で反転",selectNone:"クリア",selectionAll:"すべてを選択",sortTitle:"ソート",expand:"展開する",collapse:"折り畳む",triggerDesc:"クリックで降順にソート",triggerAsc:"クリックで昇順にソート",cancelSort:"ソートをキャンセル"},Tour:{Next:"次",Previous:"前の",Finish:"仕上げる"},Modal:{okText:"OK",cancelText:"キャンセル",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"キャンセル"},Transfer:{titles:["",""],searchPlaceholder:"ここを検索",itemUnit:"アイテム",itemsUnit:"アイテム",remove:"削除",selectCurrent:"現在のページを選択",removeCurrent:"現在のページを削除",selectAll:"ページ単位で選択",deselectAll:"すべてのデータの選択を解除する",removeAll:"ページ単位で削除",selectInvert:"ページ単位で反転"},Upload:{uploading:"アップロード中...",removeFile:"ファイルを削除",uploadError:"アップロードエラー",previewFile:"ファイルをプレビュー",downloadFile:"ダウンロードファイル"},Empty:{description:"データがありません"},Icon:{icon:"アイコン"},Text:{edit:"編集",copy:"コピー",copied:"コピーされました",expand:"拡大する",collapse:"崩壊"},Form:{optional:"(オプション)",defaultValidateMessages:{default:"${label}のフィールド検証エラー",required:"${label}を入力してください",enum:"${label}は[${enum}]のいずれかである必要があります",whitespace:"${label}は空白文字にすることはできません",date:{format:"${label}の日付形式は不正です",parse:"${label}は日付に変換できません",invalid:"${label}は不正な日付です"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}は${len}文字である必要があります",min:"${label}は${min}文字以上である必要があります",max:"${label}は${max}文字以下である必要があります",range:"${label}は${min}-${max}文字の範囲である必要があります"},number:{len:"${label}は${len}と等しい必要があります",min:"${label}の最小値は${min}です",max:"${label}の最大値は${max}です",range:"${label}は${min}-${max}の範囲である必要があります"},array:{len:"${label}は${len}である必要があります",min:"${label}の最小は${min}です",max:"${label}の最大は${max}です",range:"${label}の合計は${min}-${max}の範囲である必要があります"},pattern:{mismatch:"${label}はパターン${pattern}と一致しません"}}},Image:{preview:"プレビュー"},QRCode:{expired:"QRコードの有効期限が切れました",refresh:"リフレッシュ",scanned:"スキャン済み"},ColorPicker:{presetEmpty:"空の",transparent:"透明",singleColor:"単色",gradientColor:"グラデーション"}};return JA.default=s,JA}var Wse,Lqe;function U_i(){return Lqe||(Lqe=1,Wse=j_i()),Wse}var G_i=U_i();const q_i=jr(G_i);var o5={},s5={},Bqe;function Y_i(){if(Bqe)return s5;Bqe=1,Object.defineProperty(s5,"__esModule",{value:!0}),s5.default=void 0;var i={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};return s5.default=i,s5}var a5={},l5={},u5={},Fqe;function X_i(){if(Fqe)return u5;Fqe=1;var i=Pu().default;Object.defineProperty(u5,"__esModule",{value:!0}),u5.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return u5.default=n,u5}var c5={},Nqe;function $qe(){if(Nqe)return c5;Nqe=1,Object.defineProperty(c5,"__esModule",{value:!0}),c5.default=void 0;const i={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};return c5.default=i,c5}var Hqe;function zqe(){if(Hqe)return l5;Hqe=1;var i=Pu().default;Object.defineProperty(l5,"__esModule",{value:!0}),l5.default=void 0;var e=i(X_i()),t=i($qe());const n={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},e.default),timePickerLocale:Object.assign({},t.default)};return n.lang.ok="确定",l5.default=n,l5}var Wqe;function K_i(){if(Wqe)return a5;Wqe=1;var i=Pu().default;Object.defineProperty(a5,"__esModule",{value:!0}),a5.default=void 0;var e=i(zqe());return a5.default=e.default,a5}var Vqe;function Z_i(){if(Vqe)return o5;Vqe=1;var i=Pu().default;Object.defineProperty(o5,"__esModule",{value:!0}),o5.default=void 0;var e=i(Y_i()),t=i(K_i()),n=i(zqe()),r=i($qe());const o="${label}不是一个有效的${type}",s={locale:"zh-cn",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"请选择",close:"关闭"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return o5.default=s,o5}var Vse,jqe;function Q_i(){return jqe||(jqe=1,Vse=Z_i()),Vse}var J_i=Q_i();const eCi=jr(J_i);var h5={},d5={},Uqe;function tCi(){if(Uqe)return d5;Uqe=1,Object.defineProperty(d5,"__esModule",{value:!0}),d5.default=void 0;var i={items_per_page:"條/頁",jump_to:"跳至",jump_to_confirm:"確定",page:"頁",prev_page:"上一頁",next_page:"下一頁",prev_5:"向前 5 頁",next_5:"向後 5 頁",prev_3:"向前 3 頁",next_3:"向後 3 頁",page_size:"頁碼"};return d5.default=i,d5}var f5={},g5={},p5={},Gqe;function iCi(){if(Gqe)return p5;Gqe=1;var i=Pu().default;Object.defineProperty(p5,"__esModule",{value:!0}),p5.default=void 0;var e=i(ZP()),t=QP(),n=(0,e.default)((0,e.default)({},t.commonLocale),{},{locale:"zh_TW",today:"今天",now:"此刻",backToToday:"返回今天",ok:"確定",timeSelect:"選擇時間",dateSelect:"選擇日期",weekSelect:"選擇周",clear:"清除",week:"週",month:"月",year:"年",previousMonth:"上個月 (翻頁上鍵)",nextMonth:"下個月 (翻頁下鍵)",monthSelect:"選擇月份",yearSelect:"選擇年份",decadeSelect:"選擇年代",yearFormat:"YYYY年",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH時mm分ss秒",previousYear:"上一年 (Control鍵加左方向鍵)",nextYear:"下一年 (Control鍵加右方向鍵)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世紀",nextCentury:"下一世紀",cellDateFormat:"D",monthBeforeYear:!1});return p5.default=n,p5}var m5={},qqe;function Yqe(){if(qqe)return m5;qqe=1,Object.defineProperty(m5,"__esModule",{value:!0}),m5.default=void 0;const i={placeholder:"請選擇時間"};return m5.default=i,m5}var Xqe;function Kqe(){if(Xqe)return g5;Xqe=1;var i=Pu().default;Object.defineProperty(g5,"__esModule",{value:!0}),g5.default=void 0;var e=i(iCi()),t=i(Yqe());const n={lang:Object.assign({placeholder:"請選擇日期",yearPlaceholder:"請選擇年份",quarterPlaceholder:"請選擇季度",monthPlaceholder:"請選擇月份",weekPlaceholder:"請選擇周",rangePlaceholder:["開始日期","結束日期"],rangeYearPlaceholder:["開始年份","結束年份"],rangeMonthPlaceholder:["開始月份","結束月份"],rangeQuarterPlaceholder:["開始季度","結束季度"],rangeWeekPlaceholder:["開始周","結束周"]},e.default),timePickerLocale:Object.assign({},t.default)};return n.lang.ok="確 定",g5.default=n,g5}var Zqe;function nCi(){if(Zqe)return f5;Zqe=1;var i=Pu().default;Object.defineProperty(f5,"__esModule",{value:!0}),f5.default=void 0;var e=i(Kqe());return f5.default=e.default,f5}var Qqe;function rCi(){if(Qqe)return h5;Qqe=1;var i=Pu().default;Object.defineProperty(h5,"__esModule",{value:!0}),h5.default=void 0;var e=i(tCi()),t=i(nCi()),n=i(Kqe()),r=i(Yqe());const o="${label}不是一個有效的${type}",s={locale:"zh-tw",Pagination:e.default,DatePicker:n.default,TimePicker:r.default,Calendar:t.default,global:{placeholder:"請選擇",close:"關閉"},Table:{filterTitle:"篩選器",filterConfirm:"確定",filterReset:"重置",filterEmptyText:"無篩選項",filterCheckAll:"全選",filterSearchPlaceholder:"在篩選項中搜尋",emptyText:"暫無數據",selectAll:"全部選取",selectInvert:"反向選取",selectNone:"清空所有",selectionAll:"全選所有",sortTitle:"排序",expand:"展開行",collapse:"關閉行",triggerDesc:"點擊降序",triggerAsc:"點擊升序",cancelSort:"取消排序"},Modal:{okText:"確定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"結束導覽"},Popconfirm:{okText:"確定",cancelText:"取消"},Transfer:{titles:["",""],searchPlaceholder:"搜尋資料",itemUnit:"項目",itemsUnit:"項目",remove:"删除",selectCurrent:"全選當頁",removeCurrent:"删除當頁",selectAll:"全選所有",removeAll:"删除全部",selectInvert:"反選當頁"},Upload:{uploading:"正在上傳...",removeFile:"刪除檔案",uploadError:"上傳失敗",previewFile:"檔案預覽",downloadFile:"下载文件"},Empty:{description:"無此資料"},Icon:{icon:"圖標"},Text:{edit:"編輯",copy:"複製",copied:"複製成功",expand:"展開",collapse:"收起"},Form:{optional:"(可選)",defaultValidateMessages:{default:"字段驗證錯誤${label}",required:"請輸入${label}",enum:"${label}必須是其中一個[${enum}]",whitespace:"${label}不能為空字符",date:{format:"${label}日期格式無效",parse:"${label}不能轉換為日期",invalid:"${label}是一個無效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}須為${len}個字符",min:"${label}最少${min}個字符",max:"${label}最多${max}個字符",range:"${label}須在${min}-${max}字符之間"},number:{len:"${label}必須等於${len}",min:"${label}最小值為${min}",max:"${label}最大值為${max}",range:"${label}須在${min}-${max}之間"},array:{len:"須為${len}個${label}",min:"最少${min}個${label}",max:"最多${max}個${label}",range:"${label}數量須在${min}-${max}之間"},pattern:{mismatch:"${label}與模式不匹配${pattern}"}}},Image:{preview:"預覽"},QRCode:{expired:"二維碼過期",refresh:"點擊刷新",scanned:"已掃描"},ColorPicker:{presetEmpty:"暫無",transparent:"透明",singleColor:"單色",gradientColor:"漸變色"}};return h5.default=s,h5}var jse,Jqe;function oCi(){return Jqe||(Jqe=1,jse=rCi()),jse}var sCi=oCi();const aCi=jr(sCi),lCi={[Iv.enUS]:H_i,[Iv.zhCN]:eCi,[Iv.zhTW]:aCi,[Iv.jaJP]:q_i};var JP={exports:{}},uCi=JP.exports,eYe;function cCi(){return eYe||(eYe=1,(function(i,e){(function(t,n){i.exports=n(Jye())})(uCi,(function(t){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var r=n(t),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(s,a){return a==="W"?s+"周":s+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(s,a){var l=100*s+a;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return r.default.locale(o,null,!0),o}))})(JP)),JP.exports}cCi();const hCi=i=>{switch(i){case"zh-CN":Hr.locale("zh-cn");break}},dCi={light:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6",colorText:"#323233"}},dark:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6"}}},fCi=i=>{var a,l;const s=i,{children:e}=s,t=sh(s,["children"]),n=ne.useMemo(()=>zii(t),[t]),r=((a=n.common)==null?void 0:a.lang)||"zh-CN",o=((l=n.common)==null?void 0:l.theme)||"light";return hCi(r),Ce.jsx(rLe.Provider,{value:n,children:Ce.jsx(Bii,{locale:r,messages:k_i[r],defaultLocale:"zh-CN",children:Ce.jsx(uf,{theme:dCi[o],locale:lCi[r],children:e})})})};var gCi="*",pCi=(function(){function i(){this._events={}}return i.prototype.on=function(e,t,n){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!n}),this},i.prototype.once=function(e,t){return this.on(e,t,!0)},i.prototype.emit=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this._events[e]||[],s=this._events[gCi]||[],a=function(l){for(var u=l.length,c=0;c<u;c++)if(l[c]){var h=l[c],d=h.callback,f=h.once;f&&(l.splice(c,1),l.length===0&&delete t._events[e],u--,c--),d.apply(t,n)}};a(o),a(s)},i.prototype.off=function(e,t){if(!e)this._events={};else if(!t)delete this._events[e];else{for(var n=this._events[e]||[],r=n.length,o=0;o<r;o++)n[o].callback===t&&(n.splice(o,1),r--,o--);n.length===0&&delete this._events[e]}return this},i.prototype.getEvents=function(){return this._events},i})();function R8i(){}function M8i(){}function tYe(i){const e=[],t=String(i||"");let n=t.indexOf(","),r=0,o=!1;for(;!o;){n===-1&&(n=t.length,o=!0);const s=t.slice(r,n).trim();(s||!o)&&e.push(s),r=n+1,n=t.indexOf(",",r)}return e}function iYe(i,e){const t={};return(i[i.length-1]===""?[...i,""]:i).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const mCi=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vCi=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bCi={};function nYe(i,e){return(bCi.jsx?vCi:mCi).test(i)}const yCi=/[ \t\n\f\r]/g;function _Ci(i){return typeof i=="object"?i.type==="text"?rYe(i.value):!1:rYe(i)}function rYe(i){return i.replace(yCi,"")===""}let v5=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};v5.prototype.normal={},v5.prototype.property={},v5.prototype.space=void 0;function oYe(i,e){const t={},n={};for(const r of i)Object.assign(t,r.property),Object.assign(n,r.normal);return new v5(t,n,e)}function b5(i){return i.toLowerCase()}let Lh=class{constructor(e,t){this.attribute=t,this.property=e}};Lh.prototype.attribute="",Lh.prototype.booleanish=!1,Lh.prototype.boolean=!1,Lh.prototype.commaOrSpaceSeparated=!1,Lh.prototype.commaSeparated=!1,Lh.prototype.defined=!1,Lh.prototype.mustUseProperty=!1,Lh.prototype.number=!1,Lh.prototype.overloadedBoolean=!1,Lh.prototype.property="",Lh.prototype.spaceSeparated=!1,Lh.prototype.space=void 0;let CCi=0;const ro=ny(),_l=ny(),Use=ny(),en=ny(),$s=ny(),_S=ny(),bd=ny();function ny(){return po(2,++CCi)}const Gse=Object.freeze(Object.defineProperty({__proto__:null,boolean:ro,booleanish:_l,commaOrSpaceSeparated:bd,commaSeparated:_S,number:en,overloadedBoolean:Use,spaceSeparated:$s},Symbol.toStringTag,{value:"Module"})),qse=Object.keys(Gse);let Yse=class extends Lh{constructor(e,t,n,r){let o=-1;if(super(e,t),sYe(this,"space",r),typeof n=="number")for(;++o<qse.length;){const s=qse[o];sYe(this,qse[o],(n&Gse[s])===Gse[s])}}};Yse.prototype.defined=!0;function sYe(i,e,t){t&&(i[e]=t)}function CS(i){const e={},t={};for(const[n,r]of Object.entries(i.properties)){const o=new Yse(n,i.transform(i.attributes||{},n),r,i.space);i.mustUseProperty&&i.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),e[n]=o,t[b5(n)]=n,t[b5(o.attribute)]=n}return new v5(e,t,i.space)}const aYe=CS({properties:{ariaActiveDescendant:null,ariaAtomic:_l,ariaAutoComplete:null,ariaBusy:_l,ariaChecked:_l,ariaColCount:en,ariaColIndex:en,ariaColSpan:en,ariaControls:$s,ariaCurrent:null,ariaDescribedBy:$s,ariaDetails:null,ariaDisabled:_l,ariaDropEffect:$s,ariaErrorMessage:null,ariaExpanded:_l,ariaFlowTo:$s,ariaGrabbed:_l,ariaHasPopup:null,ariaHidden:_l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$s,ariaLevel:en,ariaLive:null,ariaModal:_l,ariaMultiLine:_l,ariaMultiSelectable:_l,ariaOrientation:null,ariaOwns:$s,ariaPlaceholder:null,ariaPosInSet:en,ariaPressed:_l,ariaReadOnly:_l,ariaRelevant:null,ariaRequired:_l,ariaRoleDescription:$s,ariaRowCount:en,ariaRowIndex:en,ariaRowSpan:en,ariaSelected:_l,ariaSetSize:en,ariaSort:null,ariaValueMax:en,ariaValueMin:en,ariaValueNow:en,ariaValueText:null,role:null},transform(i,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function lYe(i,e){return e in i?i[e]:e}function uYe(i,e){return lYe(i,e.toLowerCase())}const SCi=CS({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_S,acceptCharset:$s,accessKey:$s,action:null,allow:null,allowFullScreen:ro,allowPaymentRequest:ro,allowUserMedia:ro,alt:null,as:null,async:ro,autoCapitalize:null,autoComplete:$s,autoFocus:ro,autoPlay:ro,blocking:$s,capture:null,charSet:null,checked:ro,cite:null,className:$s,cols:en,colSpan:null,content:null,contentEditable:_l,controls:ro,controlsList:$s,coords:en|_S,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ro,defer:ro,dir:null,dirName:null,disabled:ro,download:Use,draggable:_l,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ro,formTarget:null,headers:$s,height:en,hidden:Use,high:en,href:null,hrefLang:null,htmlFor:$s,httpEquiv:$s,id:null,imageSizes:null,imageSrcSet:null,inert:ro,inputMode:null,integrity:null,is:null,isMap:ro,itemId:null,itemProp:$s,itemRef:$s,itemScope:ro,itemType:$s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ro,low:en,manifest:null,max:null,maxLength:en,media:null,method:null,min:null,minLength:en,multiple:ro,muted:ro,name:null,nonce:null,noModule:ro,noValidate:ro,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ro,optimum:en,pattern:null,ping:$s,placeholder:null,playsInline:ro,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ro,referrerPolicy:null,rel:$s,required:ro,reversed:ro,rows:en,rowSpan:en,sandbox:$s,scope:null,scoped:ro,seamless:ro,selected:ro,shadowRootClonable:ro,shadowRootDelegatesFocus:ro,shadowRootMode:null,shape:null,size:en,sizes:null,slot:null,span:en,spellCheck:_l,src:null,srcDoc:null,srcLang:null,srcSet:null,start:en,step:null,style:null,tabIndex:en,target:null,title:null,translate:null,type:null,typeMustMatch:ro,useMap:null,value:_l,width:en,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$s,axis:null,background:null,bgColor:null,border:en,borderColor:null,bottomMargin:en,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ro,declare:ro,event:null,face:null,frame:null,frameBorder:null,hSpace:en,leftMargin:en,link:null,longDesc:null,lowSrc:null,marginHeight:en,marginWidth:en,noResize:ro,noHref:ro,noShade:ro,noWrap:ro,object:null,profile:null,prompt:null,rev:null,rightMargin:en,rules:null,scheme:null,scrolling:_l,standby:null,summary:null,text:null,topMargin:en,valueType:null,version:null,vAlign:null,vLink:null,vSpace:en,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ro,disableRemotePlayback:ro,prefix:null,property:null,results:en,security:null,unselectable:null},space:"html",transform:uYe}),xCi=CS({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:bd,accentHeight:en,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:en,amplitude:en,arabicForm:null,ascent:en,attributeName:null,attributeType:null,azimuth:en,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:en,by:null,calcMode:null,capHeight:en,className:$s,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:en,diffuseConstant:en,direction:null,display:null,dur:null,divisor:en,dominantBaseline:null,download:ro,dx:null,dy:null,edgeMode:null,editable:null,elevation:en,enableBackground:null,end:null,event:null,exponent:en,externalResourcesRequired:null,fill:null,fillOpacity:en,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:_S,g2:_S,glyphName:_S,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:en,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:en,horizOriginX:en,horizOriginY:en,id:null,ideographic:en,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:en,k:en,k1:en,k2:en,k3:en,k4:en,kernelMatrix:bd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:en,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:en,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:en,overlineThickness:en,paintOrder:null,panose1:null,path:null,pathLength:en,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$s,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:en,pointsAtY:en,pointsAtZ:en,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:bd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:bd,rev:bd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:bd,requiredFeatures:bd,requiredFonts:bd,requiredFormats:bd,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:en,specularExponent:en,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:en,strikethroughThickness:en,string:null,stroke:null,strokeDashArray:bd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:en,strokeOpacity:en,strokeWidth:null,style:null,surfaceScale:en,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:bd,tabIndex:en,tableValues:null,target:null,targetX:en,targetY:en,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:bd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:en,underlineThickness:en,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:en,values:null,vAlphabetic:en,vMathematical:en,vectorEffect:null,vHanging:en,vIdeographic:en,version:null,vertAdvY:en,vertOriginX:en,vertOriginY:en,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:en,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:lYe}),cYe=CS({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(i,e){return"xlink:"+e.slice(5).toLowerCase()}}),hYe=CS({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:uYe}),dYe=CS({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,e){return"xml:"+e.slice(3).toLowerCase()}}),wCi={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ECi=/[A-Z]/g,fYe=/-[a-z]/g,ACi=/^data[-\w.:]+$/i;function Xse(i,e){const t=b5(e);let n=e,r=Lh;if(t in i.normal)return i.property[i.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&ACi.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(fYe,RCi);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!fYe.test(o)){let s=o.replace(ECi,TCi);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}r=Yse}return new r(n,e)}function TCi(i){return"-"+i.toLowerCase()}function RCi(i){return i.charAt(1).toUpperCase()}const eL=oYe([aYe,SCi,cYe,hYe,dYe],"html"),SS=oYe([aYe,xCi,cYe,hYe,dYe],"svg");function gYe(i){const e=String(i||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function pYe(i){return i.join(" ").trim()}var xS={},Kse,mYe;function MCi(){if(mYe)return Kse;mYe=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,a=/^\s+|\s+$/g,l=`
|
|
10843
10843
|
`,u="/",c="*",h="",d="comment",f="declaration";Kse=function(p,m){if(typeof p!="string")throw new TypeError("First argument must be a string");if(!p)return[];m=m||{};var v=1,b=1;function y(I){var P=I.match(e);P&&(v+=P.length);var F=I.lastIndexOf(l);b=~F?I.length-F:b+I.length}function C(){var I={line:v,column:b};return function(P){return P.position=new x(I),E(),P}}function x(I){this.start=I,this.end={line:v,column:b},this.source=m.source}x.prototype.content=p;function S(I){var P=new Error(m.source+":"+v+":"+b+": "+I);if(P.reason=I,P.filename=m.source,P.line=v,P.column=b,P.source=p,!m.silent)throw P}function w(I){var P=I.exec(p);if(P){var F=P[0];return y(F),p=p.slice(F.length),P}}function E(){w(t)}function A(I){var P;for(I=I||[];P=T();)P!==!1&&I.push(P);return I}function T(){var I=C();if(!(u!=p.charAt(0)||c!=p.charAt(1))){for(var P=2;h!=p.charAt(P)&&(c!=p.charAt(P)||u!=p.charAt(P+1));)++P;if(P+=2,h===p.charAt(P-1))return S("End of comment missing");var F=p.slice(2,P-2);return b+=2,y(F),p=p.slice(P),b+=2,I({type:d,comment:F})}}function M(){var I=C(),P=w(n);if(P){if(T(),!w(r))return S("property missing ':'");var F=w(o),N=I({type:f,property:g(P[0].replace(i,h)),value:F?g(F[0].replace(i,h)):h});return w(s),N}}function O(){var I=[];A(I);for(var P;P=M();)P!==!1&&(I.push(P),A(I));return I}return E(),O()};function g(p){return p?p.replace(a,h):h}return Kse}var vYe;function kCi(){if(vYe)return xS;vYe=1;var i=xS&&xS.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(xS,"__esModule",{value:!0}),xS.default=t;var e=i(MCi());function t(n,r){var o=null;if(!n||typeof n!="string")return o;var s=(0,e.default)(n),a=typeof r=="function";return s.forEach(function(l){if(l.type==="declaration"){var u=l.property,c=l.value;a?r(u,c,l):c&&(o=o||{},o[u]=c)}}),o}return xS}var y5={},bYe;function OCi(){if(bYe)return y5;bYe=1,Object.defineProperty(y5,"__esModule",{value:!0}),y5.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,e=/-([a-z])/g,t=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,o=function(u){return!u||t.test(u)||i.test(u)},s=function(u,c){return c.toUpperCase()},a=function(u,c){return"".concat(c,"-")},l=function(u,c){return c===void 0&&(c={}),o(u)?u:(u=u.toLowerCase(),c.reactCompat?u=u.replace(r,a):u=u.replace(n,a),u.replace(e,s))};return y5.camelCase=l,y5}var _5,yYe;function ICi(){if(yYe)return _5;yYe=1;var i=_5&&_5.__importDefault||function(r){return r&&r.__esModule?r:{default:r}},e=i(kCi()),t=OCi();function n(r,o){var s={};return!r||typeof r!="string"||(0,e.default)(r,function(a,l){a&&l&&(s[(0,t.camelCase)(a,o)]=l)}),s}return n.default=n,_5=n,_5}var DCi=ICi();const PCi=jr(DCi),tL=_Ye("end"),Jg=_Ye("start");function _Ye(i){return e;function e(t){const n=t&&t.position&&t.position[i]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function LCi(i){const e=Jg(i),t=tL(i);if(e&&t)return{start:e,end:t}}function C5(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?CYe(i.position):"start"in i||"end"in i?CYe(i):"line"in i||"column"in i?Zse(i):""}function Zse(i){return SYe(i&&i.line)+":"+SYe(i&&i.column)}function CYe(i){return Zse(i&&i.start)+"-"+Zse(i&&i.end)}function SYe(i){return i&&typeof i=="number"?i:1}class Lu extends Error{constructor(e,t,n){super(),typeof t=="string"&&(n=t,t=void 0);let r="",o={},s=!1;if(t&&("line"in t&&"column"in t?o={place:t}:"start"in t&&"end"in t?o={place:t}:"type"in t?o={ancestors:[t],place:t.position}:o=Ae({},t)),typeof e=="string"?r=e:!o.cause&&e&&(s=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?o.ruleId=n:(o.source=n.slice(0,l),o.ruleId=n.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=C5(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Lu.prototype.file="",Lu.prototype.name="",Lu.prototype.reason="",Lu.prototype.message="",Lu.prototype.stack="",Lu.prototype.column=void 0,Lu.prototype.line=void 0,Lu.prototype.ancestors=void 0,Lu.prototype.cause=void 0,Lu.prototype.fatal=void 0,Lu.prototype.place=void 0,Lu.prototype.ruleId=void 0,Lu.prototype.source=void 0;const Qse={}.hasOwnProperty,BCi=new Map,FCi=/[A-Z]/g,NCi=new Set(["table","tbody","thead","tfoot","tr"]),$Ci=new Set(["td","th"]),xYe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function HCi(i,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=e.filePath||void 0;let n;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=YCi(t,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=qCi(t,e.jsx,e.jsxs)}const r={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:n,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?SS:eL,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},o=wYe(r,i,void 0);return o&&typeof o!="string"?o:r.create(i,r.Fragment,{children:o||void 0},void 0)}function wYe(i,e,t){if(e.type==="element")return zCi(i,e,t);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return WCi(i,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return jCi(i,e,t);if(e.type==="mdxjsEsm")return VCi(i,e);if(e.type==="root")return UCi(i,e,t);if(e.type==="text")return GCi(i,e)}function zCi(i,e,t){const n=i.schema;let r=n;e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=SS,i.schema=r),i.ancestors.push(e);const o=AYe(i,e.tagName,!1),s=XCi(i,e);let a=eae(i,e);return NCi.has(e.tagName)&&(a=a.filter(function(l){return typeof l=="string"?!_Ci(l):!0})),EYe(i,s,o,e),Jse(s,a),i.ancestors.pop(),i.schema=n,i.create(e,o,s,t)}function WCi(i,e){if(e.data&&e.data.estree&&i.evaluater){const n=e.data.estree.body[0];return n.type,i.evaluater.evaluateExpression(n.expression)}S5(i,e.position)}function VCi(i,e){if(e.data&&e.data.estree&&i.evaluater)return i.evaluater.evaluateProgram(e.data.estree);S5(i,e.position)}function jCi(i,e,t){const n=i.schema;let r=n;e.name==="svg"&&n.space==="html"&&(r=SS,i.schema=r),i.ancestors.push(e);const o=e.name===null?i.Fragment:AYe(i,e.name,!0),s=KCi(i,e),a=eae(i,e);return EYe(i,s,o,e),Jse(s,a),i.ancestors.pop(),i.schema=n,i.create(e,o,s,t)}function UCi(i,e,t){const n={};return Jse(n,eae(i,e)),i.create(e,i.Fragment,n,t)}function GCi(i,e){return e.value}function EYe(i,e,t,n){typeof t!="string"&&t!==i.Fragment&&i.passNode&&(e.node=n)}function Jse(i,e){if(e.length>0){const t=e.length>1?e:e[0];t&&(i.children=t)}}function qCi(i,e,t){return n;function n(r,o,s,a){const u=Array.isArray(s.children)?t:e;return a?u(o,s,a):u(o,s)}}function YCi(i,e){return t;function t(n,r,o,s){const a=Array.isArray(o.children),l=Jg(n);return e(r,o,s,a,{columnNumber:l?l.column-1:void 0,fileName:i,lineNumber:l?l.line:void 0},void 0)}}function XCi(i,e){const t={};let n,r;for(r in e.properties)if(r!=="children"&&Qse.call(e.properties,r)){const o=ZCi(i,r,e.properties[r]);if(o){const[s,a]=o;i.tableCellAlignToStyle&&s==="align"&&typeof a=="string"&&$Ci.has(e.tagName)?n=a:t[s]=a}}if(n){const o=t.style||(t.style={});o[i.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return t}function KCi(i,e){const t={};for(const n of e.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&i.evaluater){const o=n.data.estree.body[0];o.type;const s=o.expression;s.type;const a=s.properties[0];a.type,Object.assign(t,i.evaluater.evaluateExpression(a.argument))}else S5(i,e.position);else{const r=n.name;let o;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&i.evaluater){const a=n.value.data.estree.body[0];a.type,o=i.evaluater.evaluateExpression(a.expression)}else S5(i,e.position);else o=n.value===null?!0:n.value;t[r]=o}return t}function eae(i,e){const t=[];let n=-1;const r=i.passKeys?new Map:BCi;for(;++n<e.children.length;){const o=e.children[n];let s;if(i.passKeys){const l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){const u=r.get(l)||0;s=l+"-"+u,r.set(l,u+1)}}const a=wYe(i,o,s);a!==void 0&&t.push(a)}return t}function ZCi(i,e,t){const n=Xse(i.schema,e);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=n.commaSeparated?iYe(t):pYe(t)),n.property==="style"){let r=typeof t=="object"?t:QCi(i,String(t));return i.stylePropertyNameCase==="css"&&(r=JCi(r)),["style",r]}return[i.elementAttributeNameCase==="react"&&n.space?wCi[n.property]||n.property:n.attribute,t]}}function QCi(i,e){try{return PCi(e,{reactCompat:!0})}catch(t){if(i.ignoreInvalidStyle)return{};const n=t,r=new Lu("Cannot parse `style` attribute",{ancestors:i.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=i.filePath||void 0,r.url=xYe+"#cannot-parse-style-attribute",r}}function AYe(i,e,t){let n;if(!t)n={type:"Literal",value:e};else if(e.includes(".")){const r=e.split(".");let o=-1,s;for(;++o<r.length;){const a=nYe(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};s=s?{type:"MemberExpression",object:s,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}n=s}else n=nYe(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(n.type==="Literal"){const r=n.value;return Qse.call(i.components,r)?i.components[r]:r}if(i.evaluater)return i.evaluater.evaluateExpression(n);S5(i)}function S5(i,e){const t=new Lu("Cannot handle MDX estrees without `createEvaluater`",{ancestors:i.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=i.filePath||void 0,t.url=xYe+"#cannot-handle-mdx-estrees-without-createevaluater",t}function JCi(i){const e={};let t;for(t in i)Qse.call(i,t)&&(e[e3i(t)]=i[t]);return e}function e3i(i){let e=i.replace(FCi,t3i);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function t3i(i){return"-"+i.toLowerCase()}const tae={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},i3i={};function iae(i,e){const t=i3i,n=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,r=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return TYe(i,n,r)}function TYe(i,e,t){if(n3i(i)){if("value"in i)return i.type==="html"&&!t?"":i.value;if(e&&"alt"in i&&i.alt)return i.alt;if("children"in i)return RYe(i.children,e,t)}return Array.isArray(i)?RYe(i,e,t):""}function RYe(i,e,t){const n=[];let r=-1;for(;++r<i.length;)n[r]=TYe(i[r],e,t);return n.join("")}function n3i(i){return!!(i&&typeof i=="object")}const MYe=document.createElement("i");function nae(i){const e="&"+i+";";MYe.innerHTML=e;const t=MYe.textContent;return t.charCodeAt(t.length-1)===59&&i!=="semi"||t===e?!1:t}function yd(i,e,t,n){const r=i.length;let o=0,s;if(e<0?e=-e>r?0:r+e:e=e>r?r:e,t=t>0?t:0,n.length<1e4)s=Array.from(n),s.unshift(e,t),i.splice(...s);else for(t&&i.splice(e,t);o<n.length;)s=n.slice(o,o+1e4),s.unshift(e,0),i.splice(...s),o+=1e4,e+=1e4}function Bf(i,e){return i.length>0?(yd(i,i.length,0,e),i):e}const kYe={}.hasOwnProperty;function OYe(i){const e={};let t=-1;for(;++t<i.length;)r3i(e,i[t]);return e}function r3i(i,e){let t;for(t in e){const r=(kYe.call(i,t)?i[t]:void 0)||(i[t]={}),o=e[t];let s;if(o)for(s in o){kYe.call(r,s)||(r[s]=[]);const a=o[s];o3i(r[s],Array.isArray(a)?a:a?[a]:[])}}}function o3i(i,e){let t=-1;const n=[];for(;++t<e.length;)(e[t].add==="after"?i:n).push(e[t]);yd(i,0,0,n)}function IYe(i,e){const t=Number.parseInt(i,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function $0(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const uc=Dv(/[A-Za-z]/),Bu=Dv(/[\dA-Za-z]/),s3i=Dv(/[#-'*+\--9=?A-Z^-~]/);function iL(i){return i!==null&&(i<32||i===127)}const rae=Dv(/\d/),a3i=Dv(/[\dA-Fa-f]/),l3i=Dv(/[!-/:-@[-`{-~]/);function Er(i){return i!==null&&i<-2}function ks(i){return i!==null&&(i<0||i===32)}function wo(i){return i===-2||i===-1||i===32}const nL=Dv(new RegExp("\\p{P}|\\p{S}","u")),ry=Dv(/\s/);function Dv(i){return e;function e(t){return t!==null&&t>-1&&i.test(String.fromCharCode(t))}}function wS(i){const e=[];let t=-1,n=0,r=0;for(;++t<i.length;){const o=i.charCodeAt(t);let s="";if(o===37&&Bu(i.charCodeAt(t+1))&&Bu(i.charCodeAt(t+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const a=i.charCodeAt(t+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),r=1):s="�"}else s=String.fromCharCode(o);s&&(e.push(i.slice(n,t),encodeURIComponent(s)),n=t+r+1,s=""),r&&(t+=r,r=0)}return e.join("")+i.slice(n)}function jo(i,e,t,n){const r=n?n-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(l){return wo(l)?(i.enter(t),a(l)):e(l)}function a(l){return wo(l)&&o++<r?(i.consume(l),a):(i.exit(t),e(l))}}const u3i={tokenize:c3i};function c3i(i){const e=i.attempt(this.parser.constructs.contentInitial,n,r);let t;return e;function n(a){if(a===null){i.consume(a);return}return i.enter("lineEnding"),i.consume(a),i.exit("lineEnding"),jo(i,e,"linePrefix")}function r(a){return i.enter("paragraph"),o(a)}function o(a){const l=i.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=l),t=l,s(a)}function s(a){if(a===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(a);return}return Er(a)?(i.consume(a),i.exit("chunkText"),o):(i.consume(a),s)}}const h3i={tokenize:d3i},DYe={tokenize:f3i};function d3i(i){const e=this,t=[];let n=0,r,o,s;return a;function a(y){if(n<t.length){const C=t[n];return e.containerState=C[1],i.attempt(C[0].continuation,l,u)(y)}return u(y)}function l(y){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&b();const C=e.events.length;let x=C,S;for(;x--;)if(e.events[x][0]==="exit"&&e.events[x][1].type==="chunkFlow"){S=e.events[x][1].end;break}v(n);let w=C;for(;w<e.events.length;)e.events[w][1].end=Ae({},S),w++;return yd(e.events,x+1,0,e.events.slice(C)),e.events.length=w,u(y)}return a(y)}function u(y){if(n===t.length){if(!r)return d(y);if(r.currentConstruct&&r.currentConstruct.concrete)return g(y);e.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return e.containerState={},i.check(DYe,c,h)(y)}function c(y){return r&&b(),v(n),d(y)}function h(y){return e.parser.lazy[e.now().line]=n!==t.length,s=e.now().offset,g(y)}function d(y){return e.containerState={},i.attempt(DYe,f,g)(y)}function f(y){return n++,t.push([e.currentConstruct,e.containerState]),d(y)}function g(y){if(y===null){r&&b(),v(0),i.consume(y);return}return r=r||e.parser.flow(e.now()),i.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),p(y)}function p(y){if(y===null){m(i.exit("chunkFlow"),!0),v(0),i.consume(y);return}return Er(y)?(i.consume(y),m(i.exit("chunkFlow")),n=0,e.interrupt=void 0,a):(i.consume(y),p)}function m(y,C){const x=e.sliceStream(y);if(C&&x.push(null),y.previous=o,o&&(o.next=y),o=y,r.defineSkip(y.start),r.write(x),e.parser.lazy[y.start.line]){let S=r.events.length;for(;S--;)if(r.events[S][1].start.offset<s&&(!r.events[S][1].end||r.events[S][1].end.offset>s))return;const w=e.events.length;let E=w,A,T;for(;E--;)if(e.events[E][0]==="exit"&&e.events[E][1].type==="chunkFlow"){if(A){T=e.events[E][1].end;break}A=!0}for(v(n),S=w;S<e.events.length;)e.events[S][1].end=Ae({},T),S++;yd(e.events,E+1,0,e.events.slice(w)),e.events.length=S}}function v(y){let C=t.length;for(;C-- >y;){const x=t[C];e.containerState=x[1],x[0].exit.call(e,i)}t.length=y}function b(){r.write([null]),o=void 0,r=void 0,e.containerState._closeFlow=void 0}}function f3i(i,e,t){return jo(i,i.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ES(i){if(i===null||ks(i)||ry(i))return 1;if(nL(i))return 2}function rL(i,e,t){const n=[];let r=-1;for(;++r<i.length;){const o=i[r].resolveAll;o&&!n.includes(o)&&(e=o(e,t),n.push(o))}return e}const oae={name:"attention",resolveAll:g3i,tokenize:p3i};function g3i(i,e){let t=-1,n,r,o,s,a,l,u,c;for(;++t<i.length;)if(i[t][0]==="enter"&&i[t][1].type==="attentionSequence"&&i[t][1]._close){for(n=t;n--;)if(i[n][0]==="exit"&&i[n][1].type==="attentionSequence"&&i[n][1]._open&&e.sliceSerialize(i[n][1]).charCodeAt(0)===e.sliceSerialize(i[t][1]).charCodeAt(0)){if((i[n][1]._close||i[t][1]._open)&&(i[t][1].end.offset-i[t][1].start.offset)%3&&!((i[n][1].end.offset-i[n][1].start.offset+i[t][1].end.offset-i[t][1].start.offset)%3))continue;l=i[n][1].end.offset-i[n][1].start.offset>1&&i[t][1].end.offset-i[t][1].start.offset>1?2:1;const h=Ae({},i[n][1].end),d=Ae({},i[t][1].start);PYe(h,-l),PYe(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:h,end:Ae({},i[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Ae({},i[t][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Ae({},i[n][1].end),end:Ae({},i[t][1].start)},r={type:l>1?"strong":"emphasis",start:Ae({},s.start),end:Ae({},a.end)},i[n][1].end=Ae({},s.start),i[t][1].start=Ae({},a.end),u=[],i[n][1].end.offset-i[n][1].start.offset&&(u=Bf(u,[["enter",i[n][1],e],["exit",i[n][1],e]])),u=Bf(u,[["enter",r,e],["enter",s,e],["exit",s,e],["enter",o,e]]),u=Bf(u,rL(e.parser.constructs.insideSpan.null,i.slice(n+1,t),e)),u=Bf(u,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",r,e]]),i[t][1].end.offset-i[t][1].start.offset?(c=2,u=Bf(u,[["enter",i[t][1],e],["exit",i[t][1],e]])):c=0,yd(i,n-1,t-n+3,u),t=n+u.length-c-2;break}}for(t=-1;++t<i.length;)i[t][1].type==="attentionSequence"&&(i[t][1].type="data");return i}function p3i(i,e){const t=this.parser.constructs.attentionMarkers.null,n=this.previous,r=ES(n);let o;return s;function s(l){return o=l,i.enter("attentionSequence"),a(l)}function a(l){if(l===o)return i.consume(l),a;const u=i.exit("attentionSequence"),c=ES(l),h=!c||c===2&&r||t.includes(l),d=!r||r===2&&c||t.includes(n);return u._open=!!(o===42?h:h&&(r||!d)),u._close=!!(o===42?d:d&&(c||!h)),e(l)}}function PYe(i,e){i.column+=e,i.offset+=e,i._bufferIndex+=e}const m3i={name:"autolink",tokenize:v3i};function v3i(i,e,t){let n=0;return r;function r(f){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(f),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),o}function o(f){return uc(f)?(i.consume(f),s):f===64?t(f):u(f)}function s(f){return f===43||f===45||f===46||Bu(f)?(n=1,a(f)):u(f)}function a(f){return f===58?(i.consume(f),n=0,l):(f===43||f===45||f===46||Bu(f))&&n++<32?(i.consume(f),a):(n=0,u(f))}function l(f){return f===62?(i.exit("autolinkProtocol"),i.enter("autolinkMarker"),i.consume(f),i.exit("autolinkMarker"),i.exit("autolink"),e):f===null||f===32||f===60||iL(f)?t(f):(i.consume(f),l)}function u(f){return f===64?(i.consume(f),c):s3i(f)?(i.consume(f),u):t(f)}function c(f){return Bu(f)?h(f):t(f)}function h(f){return f===46?(i.consume(f),n=0,c):f===62?(i.exit("autolinkProtocol").type="autolinkEmail",i.enter("autolinkMarker"),i.consume(f),i.exit("autolinkMarker"),i.exit("autolink"),e):d(f)}function d(f){if((f===45||Bu(f))&&n++<63){const g=f===45?d:h;return i.consume(f),g}return t(f)}}const x5={partial:!0,tokenize:b3i};function b3i(i,e,t){return n;function n(o){return wo(o)?jo(i,r,"linePrefix")(o):r(o)}function r(o){return o===null||Er(o)?e(o):t(o)}}const LYe={continuation:{tokenize:_3i},exit:C3i,name:"blockQuote",tokenize:y3i};function y3i(i,e,t){const n=this;return r;function r(s){if(s===62){const a=n.containerState;return a.open||(i.enter("blockQuote",{_container:!0}),a.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(s),i.exit("blockQuoteMarker"),o}return t(s)}function o(s){return wo(s)?(i.enter("blockQuotePrefixWhitespace"),i.consume(s),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),e):(i.exit("blockQuotePrefix"),e(s))}}function _3i(i,e,t){const n=this;return r;function r(s){return wo(s)?jo(i,o,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return i.attempt(LYe,e,t)(s)}}function C3i(i){i.exit("blockQuote")}const BYe={name:"characterEscape",tokenize:S3i};function S3i(i,e,t){return n;function n(o){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(o),i.exit("escapeMarker"),r}function r(o){return l3i(o)?(i.enter("characterEscapeValue"),i.consume(o),i.exit("characterEscapeValue"),i.exit("characterEscape"),e):t(o)}}const FYe={name:"characterReference",tokenize:x3i};function x3i(i,e,t){const n=this;let r=0,o,s;return a;function a(h){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(h),i.exit("characterReferenceMarker"),l}function l(h){return h===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(h),i.exit("characterReferenceMarkerNumeric"),u):(i.enter("characterReferenceValue"),o=31,s=Bu,c(h))}function u(h){return h===88||h===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(h),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),o=6,s=a3i,c):(i.enter("characterReferenceValue"),o=7,s=rae,c(h))}function c(h){if(h===59&&r){const d=i.exit("characterReferenceValue");return s===Bu&&!nae(n.sliceSerialize(d))?t(h):(i.enter("characterReferenceMarker"),i.consume(h),i.exit("characterReferenceMarker"),i.exit("characterReference"),e)}return s(h)&&r++<o?(i.consume(h),c):t(h)}}const NYe={partial:!0,tokenize:E3i},$Ye={concrete:!0,name:"codeFenced",tokenize:w3i};function w3i(i,e,t){const n=this,r={partial:!0,tokenize:x};let o=0,s=0,a;return l;function l(S){return u(S)}function u(S){const w=n.events[n.events.length-1];return o=w&&w[1].type==="linePrefix"?w[2].sliceSerialize(w[1],!0).length:0,a=S,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),c(S)}function c(S){return S===a?(s++,i.consume(S),c):s<3?t(S):(i.exit("codeFencedFenceSequence"),wo(S)?jo(i,h,"whitespace")(S):h(S))}function h(S){return S===null||Er(S)?(i.exit("codeFencedFence"),n.interrupt?e(S):i.check(NYe,p,C)(S)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),d(S))}function d(S){return S===null||Er(S)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),h(S)):wo(S)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),jo(i,f,"whitespace")(S)):S===96&&S===a?t(S):(i.consume(S),d)}function f(S){return S===null||Er(S)?h(S):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||Er(S)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),h(S)):S===96&&S===a?t(S):(i.consume(S),g)}function p(S){return i.attempt(r,C,m)(S)}function m(S){return i.enter("lineEnding"),i.consume(S),i.exit("lineEnding"),v}function v(S){return o>0&&wo(S)?jo(i,b,"linePrefix",o+1)(S):b(S)}function b(S){return S===null||Er(S)?i.check(NYe,p,C)(S):(i.enter("codeFlowValue"),y(S))}function y(S){return S===null||Er(S)?(i.exit("codeFlowValue"),b(S)):(i.consume(S),y)}function C(S){return i.exit("codeFenced"),e(S)}function x(S,w,E){let A=0;return T;function T(F){return S.enter("lineEnding"),S.consume(F),S.exit("lineEnding"),M}function M(F){return S.enter("codeFencedFence"),wo(F)?jo(S,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):O(F)}function O(F){return F===a?(S.enter("codeFencedFenceSequence"),I(F)):E(F)}function I(F){return F===a?(A++,S.consume(F),I):A>=s?(S.exit("codeFencedFenceSequence"),wo(F)?jo(S,P,"whitespace")(F):P(F)):E(F)}function P(F){return F===null||Er(F)?(S.exit("codeFencedFence"),w(F)):E(F)}}}function E3i(i,e,t){const n=this;return r;function r(s){return s===null?t(s):(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),o)}function o(s){return n.parser.lazy[n.now().line]?t(s):e(s)}}const sae={name:"codeIndented",tokenize:T3i},A3i={partial:!0,tokenize:R3i};function T3i(i,e,t){const n=this;return r;function r(u){return i.enter("codeIndented"),jo(i,o,"linePrefix",5)(u)}function o(u){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(u):t(u)}function s(u){return u===null?l(u):Er(u)?i.attempt(A3i,s,l)(u):(i.enter("codeFlowValue"),a(u))}function a(u){return u===null||Er(u)?(i.exit("codeFlowValue"),s(u)):(i.consume(u),a)}function l(u){return i.exit("codeIndented"),e(u)}}function R3i(i,e,t){const n=this;return r;function r(s){return n.parser.lazy[n.now().line]?t(s):Er(s)?(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),r):jo(i,o,"linePrefix",5)(s)}function o(s){const a=n.events[n.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Er(s)?r(s):t(s)}}const M3i={name:"codeText",previous:O3i,resolve:k3i,tokenize:I3i};function k3i(i){let e=i.length-4,t=3,n,r;if((i[t][1].type==="lineEnding"||i[t][1].type==="space")&&(i[e][1].type==="lineEnding"||i[e][1].type==="space")){for(n=t;++n<e;)if(i[n][1].type==="codeTextData"){i[t][1].type="codeTextPadding",i[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(n=t-1,e++;++n<=e;)r===void 0?n!==e&&i[n][1].type!=="lineEnding"&&(r=n):(n===e||i[n][1].type==="lineEnding")&&(i[r][1].type="codeTextData",n!==r+2&&(i[r][1].end=i[n-1][1].end,i.splice(r+2,n-r-2),e-=n-r-2,n=r+2),r=void 0);return i}function O3i(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function I3i(i,e,t){let n=0,r,o;return s;function s(h){return i.enter("codeText"),i.enter("codeTextSequence"),a(h)}function a(h){return h===96?(i.consume(h),n++,a):(i.exit("codeTextSequence"),l(h))}function l(h){return h===null?t(h):h===32?(i.enter("space"),i.consume(h),i.exit("space"),l):h===96?(o=i.enter("codeTextSequence"),r=0,c(h)):Er(h)?(i.enter("lineEnding"),i.consume(h),i.exit("lineEnding"),l):(i.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||Er(h)?(i.exit("codeTextData"),l(h)):(i.consume(h),u)}function c(h){return h===96?(i.consume(h),r++,c):r===n?(i.exit("codeTextSequence"),i.exit("codeText"),e(h)):(o.type="codeTextData",u(h))}}class D3i{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t==null?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&w5(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),w5(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),w5(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);w5(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);w5(this.left,t.reverse())}}}function w5(i,e){let t=0;if(e.length<1e4)i.push(...e);else for(;t<e.length;)i.push(...e.slice(t,t+1e4)),t+=1e4}function HYe(i){const e={};let t=-1,n,r,o,s,a,l,u;const c=new D3i(i);for(;++t<c.length;){for(;t in e;)t=e[t];if(n=c.get(t),t&&n[1].type==="chunkFlow"&&c.get(t-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,P3i(c,t)),t=e[t],u=!0);else if(n[1]._container){for(o=t,r=void 0;o--;)if(s=c.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(r&&(c.get(r)[1].type="lineEndingBlank"),s[1].type="lineEnding",r=o);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;r&&(n[1].end=Ae({},c.get(r)[1].start),a=c.slice(r,t),a.unshift(n),c.splice(r,t-r+1,a))}}return yd(i,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function P3i(i,e){const t=i.get(e)[1],n=i.get(e)[2];let r=e-1;const o=[];let s=t._tokenizer;s||(s=n.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const a=s.events,l=[],u={};let c,h,d=-1,f=t,g=0,p=0;const m=[p];for(;f;){for(;i.get(++r)[1]!==f;);o.push(r),f._tokenizer||(c=n.sliceStream(f),f.next||c.push(null),h&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=t;++d<a.length;)a[d][0]==="exit"&&a[d-1][0]==="enter"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(p=d+1,m.push(p),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):m.pop(),d=m.length;d--;){const v=a.slice(m[d],m[d+1]),b=o.pop();l.push([b,b+v.length-1]),i.splice(b,2,v)}for(l.reverse(),d=-1;++d<l.length;)u[g+l[d][0]]=g+l[d][1],g+=l[d][1]-l[d][0]-1;return u}const L3i={resolve:F3i,tokenize:N3i},B3i={partial:!0,tokenize:$3i};function F3i(i){return HYe(i),i}function N3i(i,e){let t;return n;function n(a){return i.enter("content"),t=i.enter("chunkContent",{contentType:"content"}),r(a)}function r(a){return a===null?o(a):Er(a)?i.check(B3i,s,o)(a):(i.consume(a),r)}function o(a){return i.exit("chunkContent"),i.exit("content"),e(a)}function s(a){return i.consume(a),i.exit("chunkContent"),t.next=i.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}}function $3i(i,e,t){const n=this;return r;function r(s){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),jo(i,o,"linePrefix")}function o(s){if(s===null||Er(s))return t(s);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):i.interrupt(n.parser.constructs.flow,t,e)(s)}}function zYe(i,e,t,n,r,o,s,a,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return h;function h(v){return v===60?(i.enter(n),i.enter(r),i.enter(o),i.consume(v),i.exit(o),d):v===null||v===32||v===41||iL(v)?t(v):(i.enter(n),i.enter(s),i.enter(a),i.enter("chunkString",{contentType:"string"}),p(v))}function d(v){return v===62?(i.enter(o),i.consume(v),i.exit(o),i.exit(r),i.exit(n),e):(i.enter(a),i.enter("chunkString",{contentType:"string"}),f(v))}function f(v){return v===62?(i.exit("chunkString"),i.exit(a),d(v)):v===null||v===60||Er(v)?t(v):(i.consume(v),v===92?g:f)}function g(v){return v===60||v===62||v===92?(i.consume(v),f):f(v)}function p(v){return!c&&(v===null||v===41||ks(v))?(i.exit("chunkString"),i.exit(a),i.exit(s),i.exit(n),e(v)):c<u&&v===40?(i.consume(v),c++,p):v===41?(i.consume(v),c--,p):v===null||v===32||v===40||iL(v)?t(v):(i.consume(v),v===92?m:p)}function m(v){return v===40||v===41||v===92?(i.consume(v),p):p(v)}}function WYe(i,e,t,n,r,o){const s=this;let a=0,l;return u;function u(f){return i.enter(n),i.enter(r),i.consume(f),i.exit(r),i.enter(o),c}function c(f){return a>999||f===null||f===91||f===93&&!l||f===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?t(f):f===93?(i.exit(o),i.enter(r),i.consume(f),i.exit(r),i.exit(n),e):Er(f)?(i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),c):(i.enter("chunkString",{contentType:"string"}),h(f))}function h(f){return f===null||f===91||f===93||Er(f)||a++>999?(i.exit("chunkString"),c(f)):(i.consume(f),l||(l=!wo(f)),f===92?d:h)}function d(f){return f===91||f===92||f===93?(i.consume(f),a++,h):h(f)}}function VYe(i,e,t,n,r,o){let s;return a;function a(d){return d===34||d===39||d===40?(i.enter(n),i.enter(r),i.consume(d),i.exit(r),s=d===40?41:d,l):t(d)}function l(d){return d===s?(i.enter(r),i.consume(d),i.exit(r),i.exit(n),e):(i.enter(o),u(d))}function u(d){return d===s?(i.exit(o),l(s)):d===null?t(d):Er(d)?(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),jo(i,u,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===s||d===null||Er(d)?(i.exit("chunkString"),u(d)):(i.consume(d),d===92?h:c)}function h(d){return d===s||d===92?(i.consume(d),c):c(d)}}function E5(i,e){let t;return n;function n(r){return Er(r)?(i.enter("lineEnding"),i.consume(r),i.exit("lineEnding"),t=!0,n):wo(r)?jo(i,n,t?"linePrefix":"lineSuffix")(r):e(r)}}const H3i={name:"definition",tokenize:W3i},z3i={partial:!0,tokenize:V3i};function W3i(i,e,t){const n=this;let r;return o;function o(f){return i.enter("definition"),s(f)}function s(f){return WYe.call(n,i,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function a(f){return r=$0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(i.enter("definitionMarker"),i.consume(f),i.exit("definitionMarker"),l):t(f)}function l(f){return ks(f)?E5(i,u)(f):u(f)}function u(f){return zYe(i,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return i.attempt(z3i,h,h)(f)}function h(f){return wo(f)?jo(i,d,"whitespace")(f):d(f)}function d(f){return f===null||Er(f)?(i.exit("definition"),n.parser.defined.push(r),e(f)):t(f)}}function V3i(i,e,t){return n;function n(a){return ks(a)?E5(i,r)(a):t(a)}function r(a){return VYe(i,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return wo(a)?jo(i,s,"whitespace")(a):s(a)}function s(a){return a===null||Er(a)?e(a):t(a)}}const j3i={name:"hardBreakEscape",tokenize:U3i};function U3i(i,e,t){return n;function n(o){return i.enter("hardBreakEscape"),i.consume(o),r}function r(o){return Er(o)?(i.exit("hardBreakEscape"),e(o)):t(o)}}const G3i={name:"headingAtx",resolve:q3i,tokenize:Y3i};function q3i(i,e){let t=i.length-2,n=3,r,o;return i[n][1].type==="whitespace"&&(n+=2),t-2>n&&i[t][1].type==="whitespace"&&(t-=2),i[t][1].type==="atxHeadingSequence"&&(n===t-1||t-4>n&&i[t-2][1].type==="whitespace")&&(t-=n+1===t?2:4),t>n&&(r={type:"atxHeadingText",start:i[n][1].start,end:i[t][1].end},o={type:"chunkText",start:i[n][1].start,end:i[t][1].end,contentType:"text"},yd(i,n,t-n+1,[["enter",r,e],["enter",o,e],["exit",o,e],["exit",r,e]])),i}function Y3i(i,e,t){let n=0;return r;function r(c){return i.enter("atxHeading"),o(c)}function o(c){return i.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(i.consume(c),s):c===null||ks(c)?(i.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(i.enter("atxHeadingSequence"),l(c)):c===null||Er(c)?(i.exit("atxHeading"),e(c)):wo(c)?jo(i,a,"whitespace")(c):(i.enter("atxHeadingText"),u(c))}function l(c){return c===35?(i.consume(c),l):(i.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||ks(c)?(i.exit("atxHeadingText"),a(c)):(i.consume(c),u)}}const X3i=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],jYe=["pre","script","style","textarea"],K3i={concrete:!0,name:"htmlFlow",resolveTo:J3i,tokenize:eSi},Z3i={partial:!0,tokenize:iSi},Q3i={partial:!0,tokenize:tSi};function J3i(i){let e=i.length;for(;e--&&!(i[e][0]==="enter"&&i[e][1].type==="htmlFlow"););return e>1&&i[e-2][1].type==="linePrefix"&&(i[e][1].start=i[e-2][1].start,i[e+1][1].start=i[e-2][1].start,i.splice(e-2,2)),i}function eSi(i,e,t){const n=this;let r,o,s,a,l;return u;function u(z){return c(z)}function c(z){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(z),h}function h(z){return z===33?(i.consume(z),d):z===47?(i.consume(z),o=!0,p):z===63?(i.consume(z),r=3,n.interrupt?e:$):uc(z)?(i.consume(z),s=String.fromCharCode(z),m):t(z)}function d(z){return z===45?(i.consume(z),r=2,f):z===91?(i.consume(z),r=5,a=0,g):uc(z)?(i.consume(z),r=4,n.interrupt?e:$):t(z)}function f(z){return z===45?(i.consume(z),n.interrupt?e:$):t(z)}function g(z){const J="CDATA[";return z===J.charCodeAt(a++)?(i.consume(z),a===J.length?n.interrupt?e:O:g):t(z)}function p(z){return uc(z)?(i.consume(z),s=String.fromCharCode(z),m):t(z)}function m(z){if(z===null||z===47||z===62||ks(z)){const J=z===47,te=s.toLowerCase();return!J&&!o&&jYe.includes(te)?(r=1,n.interrupt?e(z):O(z)):X3i.includes(s.toLowerCase())?(r=6,J?(i.consume(z),v):n.interrupt?e(z):O(z)):(r=7,n.interrupt&&!n.parser.lazy[n.now().line]?t(z):o?b(z):y(z))}return z===45||Bu(z)?(i.consume(z),s+=String.fromCharCode(z),m):t(z)}function v(z){return z===62?(i.consume(z),n.interrupt?e:O):t(z)}function b(z){return wo(z)?(i.consume(z),b):T(z)}function y(z){return z===47?(i.consume(z),T):z===58||z===95||uc(z)?(i.consume(z),C):wo(z)?(i.consume(z),y):T(z)}function C(z){return z===45||z===46||z===58||z===95||Bu(z)?(i.consume(z),C):x(z)}function x(z){return z===61?(i.consume(z),S):wo(z)?(i.consume(z),x):y(z)}function S(z){return z===null||z===60||z===61||z===62||z===96?t(z):z===34||z===39?(i.consume(z),l=z,w):wo(z)?(i.consume(z),S):E(z)}function w(z){return z===l?(i.consume(z),l=null,A):z===null||Er(z)?t(z):(i.consume(z),w)}function E(z){return z===null||z===34||z===39||z===47||z===60||z===61||z===62||z===96||ks(z)?x(z):(i.consume(z),E)}function A(z){return z===47||z===62||wo(z)?y(z):t(z)}function T(z){return z===62?(i.consume(z),M):t(z)}function M(z){return z===null||Er(z)?O(z):wo(z)?(i.consume(z),M):t(z)}function O(z){return z===45&&r===2?(i.consume(z),N):z===60&&r===1?(i.consume(z),H):z===62&&r===4?(i.consume(z),Y):z===63&&r===3?(i.consume(z),$):z===93&&r===5?(i.consume(z),U):Er(z)&&(r===6||r===7)?(i.exit("htmlFlowData"),i.check(Z3i,K,I)(z)):z===null||Er(z)?(i.exit("htmlFlowData"),I(z)):(i.consume(z),O)}function I(z){return i.check(Q3i,P,K)(z)}function P(z){return i.enter("lineEnding"),i.consume(z),i.exit("lineEnding"),F}function F(z){return z===null||Er(z)?I(z):(i.enter("htmlFlowData"),O(z))}function N(z){return z===45?(i.consume(z),$):O(z)}function H(z){return z===47?(i.consume(z),s="",W):O(z)}function W(z){if(z===62){const J=s.toLowerCase();return jYe.includes(J)?(i.consume(z),Y):O(z)}return uc(z)&&s.length<8?(i.consume(z),s+=String.fromCharCode(z),W):O(z)}function U(z){return z===93?(i.consume(z),$):O(z)}function $(z){return z===62?(i.consume(z),Y):z===45&&r===2?(i.consume(z),$):O(z)}function Y(z){return z===null||Er(z)?(i.exit("htmlFlowData"),K(z)):(i.consume(z),Y)}function K(z){return i.exit("htmlFlow"),e(z)}}function tSi(i,e,t){const n=this;return r;function r(s){return Er(s)?(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),o):t(s)}function o(s){return n.parser.lazy[n.now().line]?t(s):e(s)}}function iSi(i,e,t){return n;function n(r){return i.enter("lineEnding"),i.consume(r),i.exit("lineEnding"),i.attempt(x5,e,t)}}const nSi={name:"htmlText",tokenize:rSi};function rSi(i,e,t){const n=this;let r,o,s;return a;function a($){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume($),l}function l($){return $===33?(i.consume($),u):$===47?(i.consume($),x):$===63?(i.consume($),y):uc($)?(i.consume($),E):t($)}function u($){return $===45?(i.consume($),c):$===91?(i.consume($),o=0,g):uc($)?(i.consume($),b):t($)}function c($){return $===45?(i.consume($),f):t($)}function h($){return $===null?t($):$===45?(i.consume($),d):Er($)?(s=h,H($)):(i.consume($),h)}function d($){return $===45?(i.consume($),f):h($)}function f($){return $===62?N($):$===45?d($):h($)}function g($){const Y="CDATA[";return $===Y.charCodeAt(o++)?(i.consume($),o===Y.length?p:g):t($)}function p($){return $===null?t($):$===93?(i.consume($),m):Er($)?(s=p,H($)):(i.consume($),p)}function m($){return $===93?(i.consume($),v):p($)}function v($){return $===62?N($):$===93?(i.consume($),v):p($)}function b($){return $===null||$===62?N($):Er($)?(s=b,H($)):(i.consume($),b)}function y($){return $===null?t($):$===63?(i.consume($),C):Er($)?(s=y,H($)):(i.consume($),y)}function C($){return $===62?N($):y($)}function x($){return uc($)?(i.consume($),S):t($)}function S($){return $===45||Bu($)?(i.consume($),S):w($)}function w($){return Er($)?(s=w,H($)):wo($)?(i.consume($),w):N($)}function E($){return $===45||Bu($)?(i.consume($),E):$===47||$===62||ks($)?A($):t($)}function A($){return $===47?(i.consume($),N):$===58||$===95||uc($)?(i.consume($),T):Er($)?(s=A,H($)):wo($)?(i.consume($),A):N($)}function T($){return $===45||$===46||$===58||$===95||Bu($)?(i.consume($),T):M($)}function M($){return $===61?(i.consume($),O):Er($)?(s=M,H($)):wo($)?(i.consume($),M):A($)}function O($){return $===null||$===60||$===61||$===62||$===96?t($):$===34||$===39?(i.consume($),r=$,I):Er($)?(s=O,H($)):wo($)?(i.consume($),O):(i.consume($),P)}function I($){return $===r?(i.consume($),r=void 0,F):$===null?t($):Er($)?(s=I,H($)):(i.consume($),I)}function P($){return $===null||$===34||$===39||$===60||$===61||$===96?t($):$===47||$===62||ks($)?A($):(i.consume($),P)}function F($){return $===47||$===62||ks($)?A($):t($)}function N($){return $===62?(i.consume($),i.exit("htmlTextData"),i.exit("htmlText"),e):t($)}function H($){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume($),i.exit("lineEnding"),W}function W($){return wo($)?jo(i,U,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):U($)}function U($){return i.enter("htmlTextData"),s($)}}const aae={name:"labelEnd",resolveAll:lSi,resolveTo:uSi,tokenize:cSi},oSi={tokenize:hSi},sSi={tokenize:dSi},aSi={tokenize:fSi};function lSi(i){let e=-1;const t=[];for(;++e<i.length;){const n=i[e][1];if(t.push(i[e]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const r=n.type==="labelImage"?4:2;n.type="data",e+=r}}return i.length!==t.length&&yd(i,0,i.length,t),i}function uSi(i,e){let t=i.length,n=0,r,o,s,a;for(;t--;)if(r=i[t][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;i[t][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(s){if(i[t][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=t,r.type!=="labelLink")){n=2;break}}else r.type==="labelEnd"&&(s=t);const l={type:i[o][1].type==="labelLink"?"link":"image",start:Ae({},i[o][1].start),end:Ae({},i[i.length-1][1].end)},u={type:"label",start:Ae({},i[o][1].start),end:Ae({},i[s][1].end)},c={type:"labelText",start:Ae({},i[o+n+2][1].end),end:Ae({},i[s-2][1].start)};return a=[["enter",l,e],["enter",u,e]],a=Bf(a,i.slice(o+1,o+n+3)),a=Bf(a,[["enter",c,e]]),a=Bf(a,rL(e.parser.constructs.insideSpan.null,i.slice(o+n+4,s-3),e)),a=Bf(a,[["exit",c,e],i[s-2],i[s-1],["exit",u,e]]),a=Bf(a,i.slice(s+1)),a=Bf(a,[["exit",l,e]]),yd(i,o,i.length,a),i}function cSi(i,e,t){const n=this;let r=n.events.length,o,s;for(;r--;)if((n.events[r][1].type==="labelImage"||n.events[r][1].type==="labelLink")&&!n.events[r][1]._balanced){o=n.events[r][1];break}return a;function a(d){return o?o._inactive?h(d):(s=n.parser.defined.includes($0(n.sliceSerialize({start:o.end,end:n.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(d),i.exit("labelMarker"),i.exit("labelEnd"),l):t(d)}function l(d){return d===40?i.attempt(oSi,c,s?c:h)(d):d===91?i.attempt(sSi,c,s?u:h)(d):s?c(d):h(d)}function u(d){return i.attempt(aSi,c,h)(d)}function c(d){return e(d)}function h(d){return o._balanced=!0,t(d)}}function hSi(i,e,t){return n;function n(h){return i.enter("resource"),i.enter("resourceMarker"),i.consume(h),i.exit("resourceMarker"),r}function r(h){return ks(h)?E5(i,o)(h):o(h)}function o(h){return h===41?c(h):zYe(i,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function s(h){return ks(h)?E5(i,l)(h):c(h)}function a(h){return t(h)}function l(h){return h===34||h===39||h===40?VYe(i,u,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):c(h)}function u(h){return ks(h)?E5(i,c)(h):c(h)}function c(h){return h===41?(i.enter("resourceMarker"),i.consume(h),i.exit("resourceMarker"),i.exit("resource"),e):t(h)}}function dSi(i,e,t){const n=this;return r;function r(a){return WYe.call(n,i,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return n.parser.defined.includes($0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(a):t(a)}function s(a){return t(a)}}function fSi(i,e,t){return n;function n(o){return i.enter("reference"),i.enter("referenceMarker"),i.consume(o),i.exit("referenceMarker"),r}function r(o){return o===93?(i.enter("referenceMarker"),i.consume(o),i.exit("referenceMarker"),i.exit("reference"),e):t(o)}}const gSi={name:"labelStartImage",resolveAll:aae.resolveAll,tokenize:pSi};function pSi(i,e,t){const n=this;return r;function r(a){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(a),i.exit("labelImageMarker"),o}function o(a){return a===91?(i.enter("labelMarker"),i.consume(a),i.exit("labelMarker"),i.exit("labelImage"),s):t(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in n.parser.constructs?t(a):e(a)}}const mSi={name:"labelStartLink",resolveAll:aae.resolveAll,tokenize:vSi};function vSi(i,e,t){const n=this;return r;function r(s){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(s),i.exit("labelMarker"),i.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?t(s):e(s)}}const lae={name:"lineEnding",tokenize:bSi};function bSi(i,e){return t;function t(n){return i.enter("lineEnding"),i.consume(n),i.exit("lineEnding"),jo(i,e,"linePrefix")}}const oL={name:"thematicBreak",tokenize:ySi};function ySi(i,e,t){let n=0,r;return o;function o(u){return i.enter("thematicBreak"),s(u)}function s(u){return r=u,a(u)}function a(u){return u===r?(i.enter("thematicBreakSequence"),l(u)):n>=3&&(u===null||Er(u))?(i.exit("thematicBreak"),e(u)):t(u)}function l(u){return u===r?(i.consume(u),n++,l):(i.exit("thematicBreakSequence"),wo(u)?jo(i,a,"whitespace")(u):a(u))}}const Bh={continuation:{tokenize:xSi},exit:ESi,name:"list",tokenize:SSi},_Si={partial:!0,tokenize:ASi},CSi={partial:!0,tokenize:wSi};function SSi(i,e,t){const n=this,r=n.events[n.events.length-1];let o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,s=0;return a;function a(f){const g=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:rae(f)){if(n.containerState.type||(n.containerState.type=g,i.enter(g,{_container:!0})),g==="listUnordered")return i.enter("listItemPrefix"),f===42||f===45?i.check(oL,t,u)(f):u(f);if(!n.interrupt||f===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),l(f)}return t(f)}function l(f){return rae(f)&&++s<10?(i.consume(f),l):(!n.interrupt||s<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(i.exit("listItemValue"),u(f)):t(f)}function u(f){return i.enter("listItemMarker"),i.consume(f),i.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,i.check(x5,n.interrupt?t:c,i.attempt(_Si,d,h))}function c(f){return n.containerState.initialBlankLine=!0,o++,d(f)}function h(f){return wo(f)?(i.enter("listItemPrefixWhitespace"),i.consume(f),i.exit("listItemPrefixWhitespace"),d):t(f)}function d(f){return n.containerState.size=o+n.sliceSerialize(i.exit("listItemPrefix"),!0).length,e(f)}}function xSi(i,e,t){const n=this;return n.containerState._closeFlow=void 0,i.check(x5,r,o);function r(a){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,jo(i,e,"listItemIndent",n.containerState.size+1)(a)}function o(a){return n.containerState.furtherBlankLines||!wo(a)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(a)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,i.attempt(CSi,e,s)(a))}function s(a){return n.containerState._closeFlow=!0,n.interrupt=void 0,jo(i,i.attempt(Bh,e,t),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function wSi(i,e,t){const n=this;return jo(i,r,"listItemIndent",n.containerState.size+1);function r(o){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?e(o):t(o)}}function ESi(i){i.exit(this.containerState.type)}function ASi(i,e,t){const n=this;return jo(i,r,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){const s=n.events[n.events.length-1];return!wo(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):t(o)}}const UYe={name:"setextUnderline",resolveTo:TSi,tokenize:RSi};function TSi(i,e){let t=i.length,n,r,o;for(;t--;)if(i[t][0]==="enter"){if(i[t][1].type==="content"){n=t;break}i[t][1].type==="paragraph"&&(r=t)}else i[t][1].type==="content"&&i.splice(t,1),!o&&i[t][1].type==="definition"&&(o=t);const s={type:"setextHeading",start:Ae({},i[n][1].start),end:Ae({},i[i.length-1][1].end)};return i[r][1].type="setextHeadingText",o?(i.splice(r,0,["enter",s,e]),i.splice(o+1,0,["exit",i[n][1],e]),i[n][1].end=Ae({},i[o][1].end)):i[n][1]=s,i.push(["exit",s,e]),i}function RSi(i,e,t){const n=this;let r;return o;function o(u){let c=n.events.length,h;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){h=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(i.enter("setextHeadingLine"),r=u,s(u)):t(u)}function s(u){return i.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===r?(i.consume(u),a):(i.exit("setextHeadingLineSequence"),wo(u)?jo(i,l,"lineSuffix")(u):l(u))}function l(u){return u===null||Er(u)?(i.exit("setextHeadingLine"),e(u)):t(u)}}const MSi={tokenize:kSi};function kSi(i){const e=this,t=i.attempt(x5,n,i.attempt(this.parser.constructs.flowInitial,r,jo(i,i.attempt(this.parser.constructs.flow,r,i.attempt(L3i,r)),"linePrefix")));return t;function n(o){if(o===null){i.consume(o);return}return i.enter("lineEndingBlank"),i.consume(o),i.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function r(o){if(o===null){i.consume(o);return}return i.enter("lineEnding"),i.consume(o),i.exit("lineEnding"),e.currentConstruct=void 0,t}}const OSi={resolveAll:qYe()},ISi=GYe("string"),DSi=GYe("text");function GYe(i){return{resolveAll:qYe(i==="text"?PSi:void 0),tokenize:e};function e(t){const n=this,r=this.parser.constructs[i],o=t.attempt(r,s,a);return s;function s(c){return u(c)?o(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),l}function l(c){return u(c)?(t.exit("data"),o(c)):(t.consume(c),l)}function u(c){if(c===null)return!0;const h=r[c];let d=-1;if(h)for(;++d<h.length;){const f=h[d];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function qYe(i){return e;function e(t,n){let r=-1,o;for(;++r<=t.length;)o===void 0?t[r]&&t[r][1].type==="data"&&(o=r,r++):(!t[r]||t[r][1].type!=="data")&&(r!==o+2&&(t[o][1].end=t[r-1][1].end,t.splice(o+2,r-o-2),r=o+2),o=void 0);return i?i(t,n):t}}function PSi(i,e){let t=0;for(;++t<=i.length;)if((t===i.length||i[t][1].type==="lineEnding")&&i[t-1][1].type==="data"){const n=i[t-1][1],r=e.sliceStream(n);let o=r.length,s=-1,a=0,l;for(;o--;){const u=r[o];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(u===-2)l=!0,a++;else if(u!==-1){o++;break}}if(e._contentTypeTextTrailing&&t===i.length&&(a=0),a){const u={type:t===i.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:n.start._bufferIndex+s,_index:n.start._index+o,line:n.end.line,column:n.end.column-a,offset:n.end.offset-a},end:Ae({},n.end)};n.end=Ae({},u.start),n.start.offset===n.end.offset?Object.assign(n,u):(i.splice(t,0,["enter",u,e],["exit",u,e]),t+=2)}t++}return i}const LSi=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:H3i},disable:{null:[]},document:{42:Bh,43:Bh,45:Bh,48:Bh,49:Bh,50:Bh,51:Bh,52:Bh,53:Bh,54:Bh,55:Bh,56:Bh,57:Bh,62:LYe},flow:{35:G3i,42:oL,45:[UYe,oL],60:K3i,61:UYe,95:oL,96:$Ye,126:$Ye},flowInitial:{[-2]:sae,[-1]:sae,32:sae},insideSpan:{null:[oae,OSi]},string:{38:FYe,92:BYe},text:{[-5]:lae,[-4]:lae,[-3]:lae,33:gSi,38:FYe,42:oae,60:[m3i,nSi],91:mSi,92:[j3i,BYe],93:aae,95:oae,96:M3i}},Symbol.toStringTag,{value:"Module"}));function BSi(i,e,t){let n={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const r={},o=[];let s=[],a=[];const l={attempt:w(x),check:w(S),consume:b,enter:y,exit:C,interrupt:w(S,{interrupt:!0})},u={code:null,containerState:{},defineSkip:p,events:[],now:g,parser:i,previous:null,sliceSerialize:d,sliceStream:f,write:h};let c=e.tokenize.call(u,l);return e.resolveAll&&o.push(e),u;function h(M){return s=Bf(s,M),m(),s[s.length-1]!==null?[]:(E(e,0),u.events=rL(o,u.events,u),u.events)}function d(M,O){return NSi(f(M),O)}function f(M){return FSi(s,M)}function g(){const{_bufferIndex:M,_index:O,line:I,column:P,offset:F}=n;return{_bufferIndex:M,_index:O,line:I,column:P,offset:F}}function p(M){r[M.line]=M.column,T()}function m(){let M;for(;n._index<s.length;){const O=s[n._index];if(typeof O=="string")for(M=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===M&&n._bufferIndex<O.length;)v(O.charCodeAt(n._bufferIndex));else v(O)}}function v(M){c=c(M)}function b(M){Er(M)?(n.line++,n.column=1,n.offset+=M===-3?2:1,T()):M!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=M}function y(M,O){const I=O||{};return I.type=M,I.start=g(),u.events.push(["enter",I,u]),a.push(I),I}function C(M){const O=a.pop();return O.end=g(),u.events.push(["exit",O,u]),O}function x(M,O){E(M,O.from)}function S(M,O){O.restore()}function w(M,O){return I;function I(P,F,N){let H,W,U,$;return Array.isArray(P)?K(P):"tokenize"in P?K([P]):Y(P);function Y(oe){return Q;function Q(re){const ue=re!==null&&oe[re],de=re!==null&&oe.null,le=[...Array.isArray(ue)?ue:ue?[ue]:[],...Array.isArray(de)?de:de?[de]:[]];return K(le)(re)}}function K(oe){return H=oe,W=0,oe.length===0?N:z(oe[W])}function z(oe){return Q;function Q(re){return $=A(),U=oe,oe.partial||(u.currentConstruct=oe),oe.name&&u.parser.constructs.disable.null.includes(oe.name)?te():oe.tokenize.call(O?Object.assign(Object.create(u),O):u,l,J,te)(re)}}function J(oe){return M(U,$),F}function te(oe){return $.restore(),++W<H.length?z(H[W]):N}}}function E(M,O){M.resolveAll&&!o.includes(M)&&o.push(M),M.resolve&&yd(u.events,O,u.events.length-O,M.resolve(u.events.slice(O),u)),M.resolveTo&&(u.events=M.resolveTo(u.events,u))}function A(){const M=g(),O=u.previous,I=u.currentConstruct,P=u.events.length,F=Array.from(a);return{from:P,restore:N};function N(){n=M,u.previous=O,u.currentConstruct=I,u.events.length=P,a=F,T()}}function T(){n.line in r&&n.column<2&&(n.column=r[n.line],n.offset+=r[n.line]-1)}}function FSi(i,e){const t=e.start._index,n=e.start._bufferIndex,r=e.end._index,o=e.end._bufferIndex;let s;if(t===r)s=[i[t].slice(n,o)];else{if(s=i.slice(t,r),n>-1){const a=s[0];typeof a=="string"?s[0]=a.slice(n):s.shift()}o>0&&s.push(i[r].slice(0,o))}return s}function NSi(i,e){let t=-1;const n=[];let r;for(;++t<i.length;){const o=i[t];let s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
|
|
10844
10844
|
`;break}case-3:{s=`\r
|
|
10845
10845
|
`;break}case-2:{s=e?" ":" ";break}case-1:{if(!e&&r)continue;s=" ";break}default:s=String.fromCharCode(o)}r=o===-2,n.push(s)}return n.join("")}function $Si(i){const n={constructs:OYe([LSi,...(i||{}).extensions||[]]),content:r(u3i),defined:[],document:r(h3i),flow:r(MSi),lazy:{},string:r(ISi),text:r(DSi)};return n;function r(o){return s;function s(a){return BSi(n,o,a)}}}function HSi(i){for(;!HYe(i););return i}const YYe=/[\0\t\n\r]/g;function zSi(){let i=1,e="",t=!0,n;return r;function r(o,s,a){const l=[];let u,c,h,d,f;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),h=0,e="",t&&(o.charCodeAt(0)===65279&&h++,t=void 0);h<o.length;){if(YYe.lastIndex=h,u=YYe.exec(o),d=u&&u.index!==void 0?u.index:o.length,f=o.charCodeAt(d),!u){e=o.slice(h);break}if(f===10&&h===d&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),h<d&&(l.push(o.slice(h,d)),i+=d-h),f){case 0:{l.push(65533),i++;break}case 9:{for(c=Math.ceil(i/4)*4,l.push(-2);i++<c;)l.push(-1);break}case 10:{l.push(-4),i=1;break}default:n=!0,i=1}h=d+1}return a&&(n&&l.push(-5),e&&l.push(e),l.push(null)),l}}const WSi=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function VSi(i){return i.replace(WSi,jSi)}function jSi(i,e,t){if(e)return e;if(t.charCodeAt(0)===35){const r=t.charCodeAt(1),o=r===120||r===88;return IYe(t.slice(o?2:1),o?16:10)}return nae(t)||i}const XYe={}.hasOwnProperty;function USi(i,e,t){return typeof e!="string"&&(t=e,e=void 0),GSi(t)(HSi($Si(t).document().write(zSi()(i,e,!0))))}function GSi(i){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Le),autolinkProtocol:A,autolinkEmail:A,atxHeading:o(be),blockQuote:o(de),characterEscape:A,characterReference:A,codeFenced:o(le),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(le,s),codeText:o(ce,s),codeTextData:A,data:A,codeFlowValue:A,definition:o(ae),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(me),hardBreakEscape:o(ve),hardBreakTrailing:o(ve),htmlFlow:o(Te,s),htmlFlowData:A,htmlText:o(Te,s),htmlTextData:A,image:o(we),label:s,link:o(Le),listItem:o(tt),listItemValue:d,listOrdered:o(Fe,h),listUnordered:o(Fe),paragraph:o(ze),reference:z,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(be),strong:o(rt),thematicBreak:o(Je)},exit:{atxHeading:l(),atxHeadingSequence:x,autolink:l(),autolinkEmail:ue,autolinkProtocol:re,blockQuote:l(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:te,characterReferenceMarkerNumeric:te,characterReferenceValue:oe,characterReference:Q,codeFenced:l(m),codeFencedFence:p,codeFencedFenceInfo:f,codeFencedFenceMeta:g,codeFlowValue:T,codeIndented:l(v),codeText:l(F),codeTextData:T,data:T,definition:l(),definitionDestinationString:C,definitionLabelString:b,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(O),hardBreakTrailing:l(O),htmlFlow:l(I),htmlFlowData:T,htmlText:l(P),htmlTextData:T,image:l(H),label:U,labelText:W,lineEnding:M,link:l(N),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:J,resourceDestinationString:$,resourceTitleString:Y,resource:K,setextHeading:l(E),setextHeadingLineSequence:w,setextHeadingText:S,strong:l(),thematicBreak:l()}};KYe(e,(i||{}).mdastExtensions||[]);const t={};return n;function n(Me){let Xe={type:"root",children:[]};const Rt={stack:[Xe],tokenStack:[],config:e,enter:a,exit:u,buffer:s,resume:c,data:t},bt=[];let Qt=-1;for(;++Qt<Me.length;)if(Me[Qt][1].type==="listOrdered"||Me[Qt][1].type==="listUnordered")if(Me[Qt][0]==="enter")bt.push(Qt);else{const di=bt.pop();Qt=r(Me,di,Qt)}for(Qt=-1;++Qt<Me.length;){const di=e[Me[Qt][0]];XYe.call(di,Me[Qt][1].type)&&di[Me[Qt][1].type].call(Object.assign({sliceSerialize:Me[Qt][2].sliceSerialize},Rt),Me[Qt][1])}if(Rt.tokenStack.length>0){const di=Rt.tokenStack[Rt.tokenStack.length-1];(di[1]||ZYe).call(Rt,void 0,di[0])}for(Xe.position={start:Pv(Me.length>0?Me[0][1].start:{line:1,column:1,offset:0}),end:Pv(Me.length>0?Me[Me.length-2][1].end:{line:1,column:1,offset:0})},Qt=-1;++Qt<e.transforms.length;)Xe=e.transforms[Qt](Xe)||Xe;return Xe}function r(Me,Xe,Rt){let bt=Xe-1,Qt=-1,di=!1,ei,st,ht,He;for(;++bt<=Rt;){const Qe=Me[bt];switch(Qe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Qe[0]==="enter"?Qt++:Qt--,He=void 0;break}case"lineEndingBlank":{Qe[0]==="enter"&&(ei&&!He&&!Qt&&!ht&&(ht=bt),He=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:He=void 0}if(!Qt&&Qe[0]==="enter"&&Qe[1].type==="listItemPrefix"||Qt===-1&&Qe[0]==="exit"&&(Qe[1].type==="listUnordered"||Qe[1].type==="listOrdered")){if(ei){let Ve=bt;for(st=void 0;Ve--;){const Ge=Me[Ve];if(Ge[1].type==="lineEnding"||Ge[1].type==="lineEndingBlank"){if(Ge[0]==="exit")continue;st&&(Me[st][1].type="lineEndingBlank",di=!0),Ge[1].type="lineEnding",st=Ve}else if(!(Ge[1].type==="linePrefix"||Ge[1].type==="blockQuotePrefix"||Ge[1].type==="blockQuotePrefixWhitespace"||Ge[1].type==="blockQuoteMarker"||Ge[1].type==="listItemIndent"))break}ht&&(!st||ht<st)&&(ei._spread=!0),ei.end=Object.assign({},st?Me[st][1].start:Qe[1].end),Me.splice(st||bt,0,["exit",ei,Qe[2]]),bt++,Rt++}if(Qe[1].type==="listItemPrefix"){const Ve={type:"listItem",_spread:!1,start:Object.assign({},Qe[1].start),end:void 0};ei=Ve,Me.splice(bt,0,["enter",Ve,Qe[2]]),bt++,Rt++,ht=void 0,He=!0}}}return Me[Xe][1]._spread=di,Rt}function o(Me,Xe){return Rt;function Rt(bt){a.call(this,Me(bt),bt),Xe&&Xe.call(this,bt)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(Me,Xe,Rt){this.stack[this.stack.length-1].children.push(Me),this.stack.push(Me),this.tokenStack.push([Xe,Rt||void 0]),Me.position={start:Pv(Xe.start),end:void 0}}function l(Me){return Xe;function Xe(Rt){Me&&Me.call(this,Rt),u.call(this,Rt)}}function u(Me,Xe){const Rt=this.stack.pop(),bt=this.tokenStack.pop();if(bt)bt[0].type!==Me.type&&(Xe?Xe.call(this,Me,bt[0]):(bt[1]||ZYe).call(this,Me,bt[0]));else throw new Error("Cannot close `"+Me.type+"` ("+C5({start:Me.start,end:Me.end})+"): it’s not open");Rt.position.end=Pv(Me.end)}function c(){return iae(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function d(Me){if(this.data.expectingFirstListItemValue){const Xe=this.stack[this.stack.length-2];Xe.start=Number.parseInt(this.sliceSerialize(Me),10),this.data.expectingFirstListItemValue=void 0}}function f(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.lang=Me}function g(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.meta=Me}function p(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function m(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Me.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Me.replace(/(\r?\n|\r)$/g,"")}function b(Me){const Xe=this.resume(),Rt=this.stack[this.stack.length-1];Rt.label=Xe,Rt.identifier=$0(this.sliceSerialize(Me)).toLowerCase()}function y(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.title=Me}function C(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.url=Me}function x(Me){const Xe=this.stack[this.stack.length-1];if(!Xe.depth){const Rt=this.sliceSerialize(Me).length;Xe.depth=Rt}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function w(Me){const Xe=this.stack[this.stack.length-1];Xe.depth=this.sliceSerialize(Me).codePointAt(0)===61?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function A(Me){const Rt=this.stack[this.stack.length-1].children;let bt=Rt[Rt.length-1];(!bt||bt.type!=="text")&&(bt=Pe(),bt.position={start:Pv(Me.start),end:void 0},Rt.push(bt)),this.stack.push(bt)}function T(Me){const Xe=this.stack.pop();Xe.value+=this.sliceSerialize(Me),Xe.position.end=Pv(Me.end)}function M(Me){const Xe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Rt=Xe.children[Xe.children.length-1];Rt.position.end=Pv(Me.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(Xe.type)&&(A.call(this,Me),T.call(this,Me))}function O(){this.data.atHardBreak=!0}function I(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Me}function P(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Me}function F(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Me}function N(){const Me=this.stack[this.stack.length-1];if(this.data.inReference){const Xe=this.data.referenceType||"shortcut";Me.type+="Reference",Me.referenceType=Xe,delete Me.url,delete Me.title}else delete Me.identifier,delete Me.label;this.data.referenceType=void 0}function H(){const Me=this.stack[this.stack.length-1];if(this.data.inReference){const Xe=this.data.referenceType||"shortcut";Me.type+="Reference",Me.referenceType=Xe,delete Me.url,delete Me.title}else delete Me.identifier,delete Me.label;this.data.referenceType=void 0}function W(Me){const Xe=this.sliceSerialize(Me),Rt=this.stack[this.stack.length-2];Rt.label=VSi(Xe),Rt.identifier=$0(Xe).toLowerCase()}function U(){const Me=this.stack[this.stack.length-1],Xe=this.resume(),Rt=this.stack[this.stack.length-1];if(this.data.inReference=!0,Rt.type==="link"){const bt=Me.children;Rt.children=bt}else Rt.alt=Xe}function $(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.url=Me}function Y(){const Me=this.resume(),Xe=this.stack[this.stack.length-1];Xe.title=Me}function K(){this.data.inReference=void 0}function z(){this.data.referenceType="collapsed"}function J(Me){const Xe=this.resume(),Rt=this.stack[this.stack.length-1];Rt.label=Xe,Rt.identifier=$0(this.sliceSerialize(Me)).toLowerCase(),this.data.referenceType="full"}function te(Me){this.data.characterReferenceType=Me.type}function oe(Me){const Xe=this.sliceSerialize(Me),Rt=this.data.characterReferenceType;let bt;Rt?(bt=IYe(Xe,Rt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):bt=nae(Xe);const Qt=this.stack[this.stack.length-1];Qt.value+=bt}function Q(Me){const Xe=this.stack.pop();Xe.position.end=Pv(Me.end)}function re(Me){T.call(this,Me);const Xe=this.stack[this.stack.length-1];Xe.url=this.sliceSerialize(Me)}function ue(Me){T.call(this,Me);const Xe=this.stack[this.stack.length-1];Xe.url="mailto:"+this.sliceSerialize(Me)}function de(){return{type:"blockquote",children:[]}}function le(){return{type:"code",lang:null,meta:null,value:""}}function ce(){return{type:"inlineCode",value:""}}function ae(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function me(){return{type:"emphasis",children:[]}}function be(){return{type:"heading",depth:0,children:[]}}function ve(){return{type:"break"}}function Te(){return{type:"html",value:""}}function we(){return{type:"image",title:null,url:"",alt:null}}function Le(){return{type:"link",title:null,url:"",children:[]}}function Fe(Me){return{type:"list",ordered:Me.type==="listOrdered",start:null,spread:Me._spread,children:[]}}function tt(Me){return{type:"listItem",spread:Me._spread,checked:null,children:[]}}function ze(){return{type:"paragraph",children:[]}}function rt(){return{type:"strong",children:[]}}function Pe(){return{type:"text",value:""}}function Je(){return{type:"thematicBreak"}}}function Pv(i){return{line:i.line,column:i.column,offset:i.offset}}function KYe(i,e){let t=-1;for(;++t<e.length;){const n=e[t];Array.isArray(n)?KYe(i,n):qSi(i,n)}}function qSi(i,e){let t;for(t in e)if(XYe.call(e,t))switch(t){case"canContainEols":{const n=e[t];n&&i[t].push(...n);break}case"transforms":{const n=e[t];n&&i[t].push(...n);break}case"enter":case"exit":{const n=e[t];n&&Object.assign(i[t],n);break}}}function ZYe(i,e){throw i?new Error("Cannot close `"+i.type+"` ("+C5({start:i.start,end:i.end})+"): a different token (`"+e.type+"`, "+C5({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+C5({start:e.start,end:e.end})+") is still open")}function YSi(i){const e=this;e.parser=t;function t(n){return USi(n,on(Ae(Ae({},e.data("settings")),i),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function XSi(i,e){const t={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(e),!0)};return i.patch(e,t),i.applyData(e,t)}function KSi(i,e){const t={type:"element",tagName:"br",properties:{},children:[]};return i.patch(e,t),[i.applyData(e,t),{type:"text",value:`
|
|
@@ -10868,4 +10868,4 @@ ${r}
|
|
|
10868
10868
|
`))+1))}const s="#".repeat(r),a=t.enter("headingAtx"),l=t.enter("phrasing");o.move(s+" ");let u=t.containerPhrasing(i,Ae({before:"# ",after:`
|
|
10869
10869
|
`},o.current()));return/^[\t ]/.test(u)&&(u=z5(u.charCodeAt(0))+u.slice(1)),u=u?s+" "+u:s,t.options.closeAtx&&(u+=" "+s),l(),a(),u}zKe.peek=FAi;function zKe(i){return i.value||""}function FAi(){return"<"}WKe.peek=NAi;function WKe(i,e,t,n){const r=Gae(t),o=r==='"'?"Quote":"Apostrophe",s=t.enter("image");let a=t.enter("label");const l=t.createTracker(n);let u=l.move("![");return u+=l.move(t.safe(i.alt,Ae({before:u,after:"]"},l.current()))),u+=l.move("]("),a(),!i.url&&i.title||/[\0- \u007F]/.test(i.url)?(a=t.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(t.safe(i.url,Ae({before:u,after:">"},l.current()))),u+=l.move(">")):(a=t.enter("destinationRaw"),u+=l.move(t.safe(i.url,Ae({before:u,after:i.title?" ":")"},l.current())))),a(),i.title&&(a=t.enter(`title${o}`),u+=l.move(" "+r),u+=l.move(t.safe(i.title,Ae({before:u,after:r},l.current()))),u+=l.move(r),a()),u+=l.move(")"),s(),u}function NAi(){return"!"}VKe.peek=$Ai;function VKe(i,e,t,n){const r=i.referenceType,o=t.enter("imageReference");let s=t.enter("label");const a=t.createTracker(n);let l=a.move("![");const u=t.safe(i.alt,Ae({before:l,after:"]"},a.current()));l+=a.move(u+"]["),s();const c=t.stack;t.stack=[],s=t.enter("reference");const h=t.safe(t.associationId(i),Ae({before:l,after:"]"},a.current()));return s(),t.stack=c,o(),r==="full"||!u||u!==h?l+=a.move(h+"]"):r==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function $Ai(){return"!"}jKe.peek=HAi;function jKe(i,e,t){let n=i.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<t.unsafe.length;){const s=t.unsafe[o],a=t.compilePattern(s);let l;if(s.atBreak)for(;l=a.exec(n);){let u=l.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(l.index+1)}}return r+n+r}function HAi(){return"`"}function UKe(i,e){const t=iae(i);return!!(!e.options.resourceLink&&i.url&&!i.title&&i.children&&i.children.length===1&&i.children[0].type==="text"&&(t===i.url||"mailto:"+t===i.url)&&/^[a-z][a-z+.-]+:/i.test(i.url)&&!/[\0- <>\u007F]/.test(i.url))}GKe.peek=zAi;function GKe(i,e,t,n){const r=Gae(t),o=r==='"'?"Quote":"Apostrophe",s=t.createTracker(n);let a,l;if(UKe(i,t)){const c=t.stack;t.stack=[],a=t.enter("autolink");let h=s.move("<");return h+=s.move(t.containerPhrasing(i,Ae({before:h,after:">"},s.current()))),h+=s.move(">"),a(),t.stack=c,h}a=t.enter("link"),l=t.enter("label");let u=s.move("[");return u+=s.move(t.containerPhrasing(i,Ae({before:u,after:"]("},s.current()))),u+=s.move("]("),l(),!i.url&&i.title||/[\0- \u007F]/.test(i.url)?(l=t.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(t.safe(i.url,Ae({before:u,after:">"},s.current()))),u+=s.move(">")):(l=t.enter("destinationRaw"),u+=s.move(t.safe(i.url,Ae({before:u,after:i.title?" ":")"},s.current())))),l(),i.title&&(l=t.enter(`title${o}`),u+=s.move(" "+r),u+=s.move(t.safe(i.title,Ae({before:u,after:r},s.current()))),u+=s.move(r),l()),u+=s.move(")"),a(),u}function zAi(i,e,t){return UKe(i,t)?"<":"["}qKe.peek=WAi;function qKe(i,e,t,n){const r=i.referenceType,o=t.enter("linkReference");let s=t.enter("label");const a=t.createTracker(n);let l=a.move("[");const u=t.containerPhrasing(i,Ae({before:l,after:"]"},a.current()));l+=a.move(u+"]["),s();const c=t.stack;t.stack=[],s=t.enter("reference");const h=t.safe(t.associationId(i),Ae({before:l,after:"]"},a.current()));return s(),t.stack=c,o(),r==="full"||!u||u!==h?l+=a.move(h+"]"):r==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function WAi(){return"["}function qae(i){const e=i.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function VAi(i){const e=qae(i),t=i.options.bulletOther;if(!t)return e==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+t+"`) to be different");return t}function jAi(i){const e=i.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function YKe(i){const e=i.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function UAi(i,e,t,n){const r=t.enter("list"),o=t.bulletCurrent;let s=i.ordered?jAi(t):qae(t);const a=i.ordered?s==="."?")":".":VAi(t);let l=e&&t.bulletLastUsed?s===t.bulletLastUsed:!1;if(!i.ordered){const c=i.children?i.children[0]:void 0;if((s==="*"||s==="-")&&c&&(!c.children||!c.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(l=!0),YKe(t)===s&&c){let h=-1;for(;++h<i.children.length;){const d=i.children[h];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),t.bulletCurrent=s;const u=t.containerFlow(i,n);return t.bulletLastUsed=s,t.bulletCurrent=o,r(),u}function GAi(i){const e=i.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function qAi(i,e,t,n){const r=GAi(t);let o=t.bulletCurrent||qae(t);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(t.options.incrementListMarker===!1?0:e.children.indexOf(i))+o);let s=o.length+1;(r==="tab"||r==="mixed"&&(e&&e.type==="list"&&e.spread||i.spread))&&(s=Math.ceil(s/4)*4);const a=t.createTracker(n);a.move(o+" ".repeat(s-o.length)),a.shift(s);const l=t.enter("listItem"),u=t.indentLines(t.containerFlow(i,a.current()),c);return l(),u;function c(h,d,f){return d?(f?"":" ".repeat(s))+h:(f?o:o+" ".repeat(s-o.length))+h}}function YAi(i,e,t,n){const r=t.enter("paragraph"),o=t.enter("phrasing"),s=t.containerPhrasing(i,n);return o(),r(),s}const XAi=cL(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function KAi(i,e,t,n){return(i.children.some(function(s){return XAi(s)})?t.containerPhrasing:t.containerFlow).call(t,i,n)}function ZAi(i){const e=i.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}XKe.peek=QAi;function XKe(i,e,t,n){const r=ZAi(t),o=t.enter("strong"),s=t.createTracker(n),a=s.move(r+r);let l=s.move(t.containerPhrasing(i,Ae({after:r,before:a},s.current())));const u=l.charCodeAt(0),c=wL(n.before.charCodeAt(n.before.length-1),u,r);c.inside&&(l=z5(u)+l.slice(1));const h=l.charCodeAt(l.length-1),d=wL(n.after.charCodeAt(0),h,r);d.inside&&(l=l.slice(0,-1)+z5(h));const f=s.move(r+r);return o(),t.attentionEncodeSurroundingInfo={after:d.outside,before:c.outside},a+l+f}function QAi(i,e,t){return t.options.strong||"*"}function JAi(i,e,t,n){return t.safe(i.value,n)}function e5i(i){const e=i.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function t5i(i,e,t){const n=(YKe(t)+(t.options.ruleSpaces?" ":"")).repeat(e5i(t));return t.options.ruleSpaces?n.slice(0,-1):n}const KKe={blockquote:wAi,break:$Ke,code:kAi,definition:IAi,emphasis:HKe,hardBreak:$Ke,heading:BAi,html:zKe,image:WKe,imageReference:VKe,inlineCode:jKe,link:GKe,linkReference:qKe,list:UAi,listItem:qAi,paragraph:YAi,root:KAi,strong:XKe,text:JAi,thematicBreak:t5i};function i5i(){return{enter:{table:n5i,tableData:ZKe,tableHeader:ZKe,tableRow:o5i},exit:{codeText:s5i,table:r5i,tableData:Yae,tableHeader:Yae,tableRow:Yae}}}function n5i(i){const e=i._align;this.enter({type:"table",align:e.map(function(t){return t==="none"?null:t}),children:[]},i),this.data.inTable=!0}function r5i(i){this.exit(i),this.data.inTable=void 0}function o5i(i){this.enter({type:"tableRow",children:[]},i)}function Yae(i){this.exit(i)}function ZKe(i){this.enter({type:"tableCell",children:[]},i)}function s5i(i){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,a5i));const t=this.stack[this.stack.length-1];t.type,t.value=e,this.exit(i)}function a5i(i,e){return e==="|"?e:i}function l5i(i){const e=i||{},t=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
10870
10870
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:l,tableRow:a}};function s(f,g,p,m){return u(c(f,p,m),f.align)}function a(f,g,p,m){const v=h(f,p,m),b=u([v]);return b.slice(0,b.indexOf(`
|
|
10871
|
-
`))}function l(f,g,p,m){const v=p.enter("tableCell"),b=p.enter("phrasing"),y=p.containerPhrasing(f,on(Ae({},m),{before:o,after:o}));return b(),v(),y}function u(f,g){return SAi(f,{align:g,alignDelimiters:n,padding:t,stringLength:r})}function c(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("table");for(;++v<m.length;)b[v]=h(m[v],g,p);return y(),b}function h(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("tableRow");for(;++v<m.length;)b[v]=l(m[v],f,g,p);return y(),b}function d(f,g,p){let m=KKe.inlineCode(f,g,p);return p.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function u5i(){return{exit:{taskListCheckValueChecked:QKe,taskListCheckValueUnchecked:QKe,paragraph:h5i}}}function c5i(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:d5i}}}function QKe(i){const e=this.stack[this.stack.length-2];e.type,e.checked=i.type==="taskListCheckValueChecked"}function h5i(i){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&n.type==="text"){const r=e.children;let o=-1,s;for(;++o<r.length;){const a=r[o];if(a.type==="paragraph"){s=a;break}}s===t&&(n.value=n.value.slice(1),n.value.length===0?t.children.shift():t.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(i)}function d5i(i,e,t,n){const r=i.children[0],o=typeof i.checked=="boolean"&&r&&r.type==="paragraph",s="["+(i.checked?"x":" ")+"] ",a=t.createTracker(n);o&&a.move(s);let l=KKe.listItem(i,e,t,Ae(Ae({},n),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+s}}function f5i(){return[UEi(),dAi(),mAi(),i5i(),u5i()]}function g5i(i){return{extensions:[GEi(),fAi(i),vAi(),l5i(i),c5i()]}}const p5i={tokenize:C5i,partial:!0},JKe={tokenize:S5i,partial:!0},eZe={tokenize:x5i,partial:!0},tZe={tokenize:w5i,partial:!0},m5i={tokenize:E5i,partial:!0},iZe={name:"wwwAutolink",tokenize:y5i,previous:rZe},nZe={name:"protocolAutolink",tokenize:_5i,previous:oZe},$1={name:"emailAutolink",tokenize:b5i,previous:sZe},ip={};function v5i(){return{text:ip}}let uy=48;for(;uy<123;)ip[uy]=$1,uy++,uy===58?uy=65:uy===91&&(uy=97);ip[43]=$1,ip[45]=$1,ip[46]=$1,ip[95]=$1,ip[72]=[$1,nZe],ip[104]=[$1,nZe],ip[87]=[$1,iZe],ip[119]=[$1,iZe];function b5i(i,e,t){const n=this;let r,o;return s;function s(h){return!Xae(h)||!sZe.call(n,n.previous)||Kae(n.events)?t(h):(i.enter("literalAutolink"),i.enter("literalAutolinkEmail"),a(h))}function a(h){return Xae(h)?(i.consume(h),a):h===64?(i.consume(h),l):t(h)}function l(h){return h===46?i.check(m5i,c,u)(h):h===45||h===95||Bu(h)?(o=!0,i.consume(h),l):c(h)}function u(h){return i.consume(h),r=!0,l}function c(h){return o&&r&&uc(n.previous)?(i.exit("literalAutolinkEmail"),i.exit("literalAutolink"),e(h)):t(h)}}function y5i(i,e,t){const n=this;return r;function r(s){return s!==87&&s!==119||!rZe.call(n,n.previous)||Kae(n.events)?t(s):(i.enter("literalAutolink"),i.enter("literalAutolinkWww"),i.check(p5i,i.attempt(JKe,i.attempt(eZe,o),t),t)(s))}function o(s){return i.exit("literalAutolinkWww"),i.exit("literalAutolink"),e(s)}}function _5i(i,e,t){const n=this;let r="",o=!1;return s;function s(h){return(h===72||h===104)&&oZe.call(n,n.previous)&&!Kae(n.events)?(i.enter("literalAutolink"),i.enter("literalAutolinkHttp"),r+=String.fromCodePoint(h),i.consume(h),a):t(h)}function a(h){if(uc(h)&&r.length<5)return r+=String.fromCodePoint(h),i.consume(h),a;if(h===58){const d=r.toLowerCase();if(d==="http"||d==="https")return i.consume(h),l}return t(h)}function l(h){return h===47?(i.consume(h),o?u:(o=!0,l)):t(h)}function u(h){return h===null||iL(h)||ks(h)||ry(h)||nL(h)?t(h):i.attempt(JKe,i.attempt(eZe,c),t)(h)}function c(h){return i.exit("literalAutolinkHttp"),i.exit("literalAutolink"),e(h)}}function C5i(i,e,t){let n=0;return r;function r(s){return(s===87||s===119)&&n<3?(n++,i.consume(s),r):s===46&&n===3?(i.consume(s),o):t(s)}function o(s){return s===null?t(s):e(s)}}function S5i(i,e,t){let n,r,o;return s;function s(u){return u===46||u===95?i.check(tZe,l,a)(u):u===null||ks(u)||ry(u)||u!==45&&nL(u)?l(u):(o=!0,i.consume(u),s)}function a(u){return u===95?n=!0:(r=n,n=void 0),i.consume(u),s}function l(u){return r||n||!o?t(u):e(u)}}function x5i(i,e){let t=0,n=0;return r;function r(s){return s===40?(t++,i.consume(s),r):s===41&&n<t?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?i.check(tZe,e,o)(s):s===null||ks(s)||ry(s)?e(s):(i.consume(s),r)}function o(s){return s===41&&n++,i.consume(s),r}}function w5i(i,e,t){return n;function n(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(i.consume(a),n):a===38?(i.consume(a),o):a===93?(i.consume(a),r):a===60||a===null||ks(a)||ry(a)?e(a):t(a)}function r(a){return a===null||a===40||a===91||ks(a)||ry(a)?e(a):n(a)}function o(a){return uc(a)?s(a):t(a)}function s(a){return a===59?(i.consume(a),n):uc(a)?(i.consume(a),s):t(a)}}function E5i(i,e,t){return n;function n(o){return i.consume(o),r}function r(o){return Bu(o)?t(o):e(o)}}function rZe(i){return i===null||i===40||i===42||i===95||i===91||i===93||i===126||ks(i)}function oZe(i){return!uc(i)}function sZe(i){return!(i===47||Xae(i))}function Xae(i){return i===43||i===45||i===46||i===95||Bu(i)}function Kae(i){let e=i.length,t=!1;for(;e--;){const n=i[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){t=!0;break}if(n._gfmAutolinkLiteralWalkedInto){t=!1;break}}return i.length>0&&!t&&(i[i.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}const A5i={tokenize:P5i,partial:!0};function T5i(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:O5i,continuation:{tokenize:I5i},exit:D5i}},text:{91:{name:"gfmFootnoteCall",tokenize:k5i},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:R5i,resolveTo:M5i}}}}function R5i(i,e,t){const n=this;let r=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;r--;){const l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return t(l);const u=$0(n.sliceSerialize({start:s.end,end:n.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?t(l):(i.enter("gfmFootnoteCallLabelMarker"),i.consume(l),i.exit("gfmFootnoteCallLabelMarker"),e(l))}}function M5i(i,e){let t=i.length;for(;t--;)if(i[t][1].type==="labelImage"&&i[t][0]==="enter"){i[t][1];break}i[t+1][1].type="data",i[t+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},i[t+3][1].start),end:Object.assign({},i[i.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},i[t+3][1].end),end:Object.assign({},i[t+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},i[i.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[i[t+1],i[t+2],["enter",n,e],i[t+3],i[t+4],["enter",r,e],["exit",r,e],["enter",o,e],["enter",s,e],["exit",s,e],["exit",o,e],i[i.length-2],i[i.length-1],["exit",n,e]];return i.splice(t,i.length-t+1,...a),i}function k5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o=0,s;return a;function a(h){return i.enter("gfmFootnoteCall"),i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?t(h):(i.enter("gfmFootnoteCallMarker"),i.consume(h),i.exit("gfmFootnoteCallMarker"),i.enter("gfmFootnoteCallString"),i.enter("chunkString").contentType="string",u)}function u(h){if(o>999||h===93&&!s||h===null||h===91||ks(h))return t(h);if(h===93){i.exit("chunkString");const d=i.exit("gfmFootnoteCallString");return r.includes($0(n.sliceSerialize(d)))?(i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),i.exit("gfmFootnoteCall"),e):t(h)}return ks(h)||(s=!0),o++,i.consume(h),h===92?c:u}function c(h){return h===91||h===92||h===93?(i.consume(h),o++,u):u(h)}}function O5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o,s=0,a;return l;function l(g){return i.enter("gfmFootnoteDefinition")._container=!0,i.enter("gfmFootnoteDefinitionLabel"),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(g){return g===94?(i.enter("gfmFootnoteDefinitionMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionMarker"),i.enter("gfmFootnoteDefinitionLabelString"),i.enter("chunkString").contentType="string",c):t(g)}function c(g){if(s>999||g===93&&!a||g===null||g===91||ks(g))return t(g);if(g===93){i.exit("chunkString");const p=i.exit("gfmFootnoteDefinitionLabelString");return o=$0(n.sliceSerialize(p)),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),i.exit("gfmFootnoteDefinitionLabel"),d}return ks(g)||(a=!0),s++,i.consume(g),g===92?h:c}function h(g){return g===91||g===92||g===93?(i.consume(g),s++,c):c(g)}function d(g){return g===58?(i.enter("definitionMarker"),i.consume(g),i.exit("definitionMarker"),r.includes(o)||r.push(o),jo(i,f,"gfmFootnoteDefinitionWhitespace")):t(g)}function f(g){return e(g)}}function I5i(i,e,t){return i.check(x5,e,i.attempt(A5i,e,t))}function D5i(i){i.exit("gfmFootnoteDefinition")}function P5i(i,e,t){const n=this;return jo(i,r,"gfmFootnoteDefinitionIndent",5);function r(o){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function L5i(i){let t=(i||{}).singleTilde;const n={name:"strikethrough",tokenize:o,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let u=l;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[l][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",c,a],["enter",s[u][1],a],["exit",s[u][1],a],["enter",h,a]],f=a.parser.constructs.insideSpan.null;f&&yd(d,d.length,0,rL(f,s.slice(u+1,l),a)),yd(d,d.length,0,[["exit",h,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",c,a]]),yd(s,u-1,l-u+3,d),l=u+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){const u=this.previous,c=this.events;let h=0;return d;function d(g){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),f(g))}function f(g){const p=ES(u);if(g===126)return h>1?l(g):(s.consume(g),h++,f);if(h<2&&!t)return l(g);const m=s.exit("strikethroughSequenceTemporary"),v=ES(g);return m._open=!v||v===2&&!!p,m._close=!p||p===2&&!!v,a(g)}}}class B5i{constructor(){this.map=[]}add(e,t,n){F5i(this,e,t,n)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const o of r)e.push(o);r=n.pop()}this.map.length=0}}function F5i(i,e,t,n){let r=0;if(!(t===0&&n.length===0)){for(;r<i.map.length;){if(i.map[r][0]===e){i.map[r][1]+=t,i.map[r][2].push(...n);return}r+=1}i.map.push([e,t,n])}}function N5i(i,e){let t=!1;const n=[];for(;e<i.length;){const r=i[e];if(t){if(r[0]==="enter")r[1].type==="tableContent"&&n.push(i[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(i[e-1][1].type==="tableDelimiterMarker"){const o=n.length-1;n[o]=n[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(t=!0);e+=1}return n}function $5i(){return{flow:{null:{name:"table",tokenize:H5i,resolveAll:z5i}}}}function H5i(i,e,t){const n=this;let r=0,o=0,s;return a;function a(T){let M=n.events.length-1;for(;M>-1;){const P=n.events[M][1].type;if(P==="lineEnding"||P==="linePrefix")M--;else break}const O=M>-1?n.events[M][1].type:null,I=O==="tableHead"||O==="tableRow"?S:l;return I===S&&n.parser.lazy[n.now().line]?t(T):I(T)}function l(T){return i.enter("tableHead"),i.enter("tableRow"),u(T)}function u(T){return T===124||(s=!0,o+=1),c(T)}function c(T){return T===null?t(T):Er(T)?o>1?(o=0,n.interrupt=!0,i.exit("tableRow"),i.enter("lineEnding"),i.consume(T),i.exit("lineEnding"),f):t(T):wo(T)?jo(i,c,"whitespace")(T):(o+=1,s&&(s=!1,r+=1),T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),s=!0,c):(i.enter("data"),h(T)))}function h(T){return T===null||T===124||ks(T)?(i.exit("data"),c(T)):(i.consume(T),T===92?d:h)}function d(T){return T===92||T===124?(i.consume(T),h):h(T)}function f(T){return n.interrupt=!1,n.parser.lazy[n.now().line]?t(T):(i.enter("tableDelimiterRow"),s=!1,wo(T)?jo(i,g,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):g(T))}function g(T){return T===45||T===58?m(T):T===124?(s=!0,i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),p):x(T)}function p(T){return wo(T)?jo(i,m,"whitespace")(T):m(T)}function m(T){return T===58?(o+=1,s=!0,i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),v):T===45?(o+=1,v(T)):T===null||Er(T)?C(T):x(T)}function v(T){return T===45?(i.enter("tableDelimiterFiller"),b(T)):x(T)}function b(T){return T===45?(i.consume(T),b):T===58?(s=!0,i.exit("tableDelimiterFiller"),i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),y):(i.exit("tableDelimiterFiller"),y(T))}function y(T){return wo(T)?jo(i,C,"whitespace")(T):C(T)}function C(T){return T===124?g(T):T===null||Er(T)?!s||r!==o?x(T):(i.exit("tableDelimiterRow"),i.exit("tableHead"),e(T)):x(T)}function x(T){return t(T)}function S(T){return i.enter("tableRow"),w(T)}function w(T){return T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),w):T===null||Er(T)?(i.exit("tableRow"),e(T)):wo(T)?jo(i,w,"whitespace")(T):(i.enter("data"),E(T))}function E(T){return T===null||T===124||ks(T)?(i.exit("data"),w(T)):(i.consume(T),T===92?A:E)}function A(T){return T===92||T===124?(i.consume(T),E):E(T)}}function z5i(i,e){let t=-1,n=!0,r=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,u,c,h;const d=new B5i;for(;++t<i.length;){const f=i[t],g=f[1];f[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(aZe(d,e,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",u,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(n=!0,h=void 0,o=[0,0,0,0],s=[0,t+1,0,0],a&&(a=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",c,e]])),r=g.type==="tableDelimiterRow"?2:c?3:1):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h),o=[0,0,0,0]),s[2]=t)):g.type==="tableCellDivider"&&(n?n=!1:(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h)),o=s,s=[o[1],t,0,0])):g.type==="tableHead"?(a=!0,l=t):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=t,o[1]!==0?(s[0]=s[1],h=EL(d,e,o,r,t,h)):s[1]!==0&&(h=EL(d,e,s,r,t,h)),r=0):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=t)}for(l!==0&&aZe(d,e,l,u,c),d.consume(e.events),t=-1;++t<e.events.length;){const f=e.events[t];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=N5i(e.events,t))}return i}function EL(i,e,t,n,r,o){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",a="tableContent";t[0]!==0&&(o.end=Object.assign({},LS(e.events,t[0])),i.add(t[0],0,[["exit",o,e]]));const l=LS(e.events,t[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},i.add(t[1],0,[["enter",o,e]]),t[2]!==0){const u=LS(e.events,t[2]),c=LS(e.events,t[3]),h={type:a,start:Object.assign({},u),end:Object.assign({},c)};if(i.add(t[2],0,[["enter",h,e]]),n!==2){const d=e.events[t[2]],f=e.events[t[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",t[3]>t[2]+1){const g=t[2]+1,p=t[3]-t[2]-1;i.add(g,p,[])}}i.add(t[3]+1,0,[["exit",h,e]])}return r!==void 0&&(o.end=Object.assign({},LS(e.events,r)),i.add(r,0,[["exit",o,e]]),o=void 0),o}function aZe(i,e,t,n,r){const o=[],s=LS(e.events,t);r&&(r.end=Object.assign({},s),o.push(["exit",r,e])),n.end=Object.assign({},s),o.push(["exit",n,e]),i.add(t+1,0,o)}function LS(i,e){const t=i[e],n=t[0]==="enter"?"start":"end";return t[1][n]}const W5i={name:"tasklistCheck",tokenize:j5i};function V5i(){return{text:{91:W5i}}}function j5i(i,e,t){const n=this;return r;function r(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?t(l):(i.enter("taskListCheck"),i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),o)}function o(l){return ks(l)?(i.enter("taskListCheckValueUnchecked"),i.consume(l),i.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(i.enter("taskListCheckValueChecked"),i.consume(l),i.exit("taskListCheckValueChecked"),s):t(l)}function s(l){return l===93?(i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),i.exit("taskListCheck"),a):t(l)}function a(l){return Er(l)?e(l):wo(l)?i.check({tokenize:U5i},e,t)(l):t(l)}}function U5i(i,e,t){return jo(i,n,"whitespace");function n(r){return r===null?t(r):e(r)}}function G5i(i){return OYe([v5i(),T5i(),L5i(i),$5i(),V5i()])}const q5i={};function Y5i(i){const e=this,t=i||q5i,n=e.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(G5i(t)),o.push(f5i()),s.push(g5i(t))}const X5i=()=>{const{eventBus:i}=fze();return i.emit.bind(i)},K5i=a=>{var l=a,{renderMode:i="md",children:e,components:t,rehypePlugins:n,remarkPlugins:r,eventSubs:o}=l,s=sh(l,["renderMode","children","components","rehypePlugins","remarkPlugins","eventSubs"]);const u=ne.useMemo(()=>new pCi,[]),c=ne.useMemo(()=>({eventBus:u}),[u]);return ne.useEffect(()=>{if(o){const h=Object.keys(o);for(const d of h)u.on(d,o[d]);return()=>{for(const d of h)u.off(d,o[d])}}},[u,o]),Ce.jsxs(dze.Provider,{value:c,children:[i==="md"&&Ce.jsx(f4i,on(Ae({components:t,rehypePlugins:[$Ei,...n||[]],remarkPlugins:[Y5i,...r||[]]},s),{children:e})),i==="json"&&Ce.jsx(aqe,{content:e,components:Ae({},zb),loadingTimeout:50})]})},lZe=ne.memo(K5i),Z5i=uqe(),Q5i=i=>{try{return!!JSON.parse(i)}catch(e){return!1}},J5i=n=>{var r=n,{children:i,components:e}=r,t=sh(r,["children","components"]);const o=ne.Children.toArray(i).join("").trim(),s=Q5i(o)?"json":"md";return Ce.jsx(lZe,on(Ae({renderMode:s,components:Ae({code:Z5i},e)},t),{children:o}))},eTi=ne.memo(J5i),tTi="0.0.35";zi.Area=sLe,zi.Bar=aLe,zi.ChartType=Ja,zi.ConfigProvider=fCi,zi.DEFAULT_CHART_COMPONENTS=zb,zi.Donut=eBe,zi.Funnel=tBe,zi.GPTVis=eTi,zi.GPTVisLite=lZe,zi.Gauge=iBe,zi.Heatmap=nBe,zi.Indicator=oBe,zi.Line=sBe,zi.Pie=aBe,zi.Radar=lBe,zi.Rank=uBe,zi.Scatter=cBe,zi.Table=cze,zi.VisText=Jei,zi.chartTypeOptions=zye,zi.getChartCategory=s0,zi.handleChartDataSourceChange=Mz,zi.handleChartTypeChange=Wye,zi.useEventPublish=X5i,zi.version=tTi,zi.withChartCode=lqe,zi.withDefaultChartCode=uqe,Object.defineProperty(zi,Symbol.toStringTag,{value:"Module"})}));
|
|
10871
|
+
`))}function l(f,g,p,m){const v=p.enter("tableCell"),b=p.enter("phrasing"),y=p.containerPhrasing(f,on(Ae({},m),{before:o,after:o}));return b(),v(),y}function u(f,g){return SAi(f,{align:g,alignDelimiters:n,padding:t,stringLength:r})}function c(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("table");for(;++v<m.length;)b[v]=h(m[v],g,p);return y(),b}function h(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("tableRow");for(;++v<m.length;)b[v]=l(m[v],f,g,p);return y(),b}function d(f,g,p){let m=KKe.inlineCode(f,g,p);return p.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function u5i(){return{exit:{taskListCheckValueChecked:QKe,taskListCheckValueUnchecked:QKe,paragraph:h5i}}}function c5i(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:d5i}}}function QKe(i){const e=this.stack[this.stack.length-2];e.type,e.checked=i.type==="taskListCheckValueChecked"}function h5i(i){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&n.type==="text"){const r=e.children;let o=-1,s;for(;++o<r.length;){const a=r[o];if(a.type==="paragraph"){s=a;break}}s===t&&(n.value=n.value.slice(1),n.value.length===0?t.children.shift():t.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(i)}function d5i(i,e,t,n){const r=i.children[0],o=typeof i.checked=="boolean"&&r&&r.type==="paragraph",s="["+(i.checked?"x":" ")+"] ",a=t.createTracker(n);o&&a.move(s);let l=KKe.listItem(i,e,t,Ae(Ae({},n),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+s}}function f5i(){return[UEi(),dAi(),mAi(),i5i(),u5i()]}function g5i(i){return{extensions:[GEi(),fAi(i),vAi(),l5i(i),c5i()]}}const p5i={tokenize:C5i,partial:!0},JKe={tokenize:S5i,partial:!0},eZe={tokenize:x5i,partial:!0},tZe={tokenize:w5i,partial:!0},m5i={tokenize:E5i,partial:!0},iZe={name:"wwwAutolink",tokenize:y5i,previous:rZe},nZe={name:"protocolAutolink",tokenize:_5i,previous:oZe},$1={name:"emailAutolink",tokenize:b5i,previous:sZe},ip={};function v5i(){return{text:ip}}let uy=48;for(;uy<123;)ip[uy]=$1,uy++,uy===58?uy=65:uy===91&&(uy=97);ip[43]=$1,ip[45]=$1,ip[46]=$1,ip[95]=$1,ip[72]=[$1,nZe],ip[104]=[$1,nZe],ip[87]=[$1,iZe],ip[119]=[$1,iZe];function b5i(i,e,t){const n=this;let r,o;return s;function s(h){return!Xae(h)||!sZe.call(n,n.previous)||Kae(n.events)?t(h):(i.enter("literalAutolink"),i.enter("literalAutolinkEmail"),a(h))}function a(h){return Xae(h)?(i.consume(h),a):h===64?(i.consume(h),l):t(h)}function l(h){return h===46?i.check(m5i,c,u)(h):h===45||h===95||Bu(h)?(o=!0,i.consume(h),l):c(h)}function u(h){return i.consume(h),r=!0,l}function c(h){return o&&r&&uc(n.previous)?(i.exit("literalAutolinkEmail"),i.exit("literalAutolink"),e(h)):t(h)}}function y5i(i,e,t){const n=this;return r;function r(s){return s!==87&&s!==119||!rZe.call(n,n.previous)||Kae(n.events)?t(s):(i.enter("literalAutolink"),i.enter("literalAutolinkWww"),i.check(p5i,i.attempt(JKe,i.attempt(eZe,o),t),t)(s))}function o(s){return i.exit("literalAutolinkWww"),i.exit("literalAutolink"),e(s)}}function _5i(i,e,t){const n=this;let r="",o=!1;return s;function s(h){return(h===72||h===104)&&oZe.call(n,n.previous)&&!Kae(n.events)?(i.enter("literalAutolink"),i.enter("literalAutolinkHttp"),r+=String.fromCodePoint(h),i.consume(h),a):t(h)}function a(h){if(uc(h)&&r.length<5)return r+=String.fromCodePoint(h),i.consume(h),a;if(h===58){const d=r.toLowerCase();if(d==="http"||d==="https")return i.consume(h),l}return t(h)}function l(h){return h===47?(i.consume(h),o?u:(o=!0,l)):t(h)}function u(h){return h===null||iL(h)||ks(h)||ry(h)||nL(h)?t(h):i.attempt(JKe,i.attempt(eZe,c),t)(h)}function c(h){return i.exit("literalAutolinkHttp"),i.exit("literalAutolink"),e(h)}}function C5i(i,e,t){let n=0;return r;function r(s){return(s===87||s===119)&&n<3?(n++,i.consume(s),r):s===46&&n===3?(i.consume(s),o):t(s)}function o(s){return s===null?t(s):e(s)}}function S5i(i,e,t){let n,r,o;return s;function s(u){return u===46||u===95?i.check(tZe,l,a)(u):u===null||ks(u)||ry(u)||u!==45&&nL(u)?l(u):(o=!0,i.consume(u),s)}function a(u){return u===95?n=!0:(r=n,n=void 0),i.consume(u),s}function l(u){return r||n||!o?t(u):e(u)}}function x5i(i,e){let t=0,n=0;return r;function r(s){return s===40?(t++,i.consume(s),r):s===41&&n<t?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?i.check(tZe,e,o)(s):s===null||ks(s)||ry(s)?e(s):(i.consume(s),r)}function o(s){return s===41&&n++,i.consume(s),r}}function w5i(i,e,t){return n;function n(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(i.consume(a),n):a===38?(i.consume(a),o):a===93?(i.consume(a),r):a===60||a===null||ks(a)||ry(a)?e(a):t(a)}function r(a){return a===null||a===40||a===91||ks(a)||ry(a)?e(a):n(a)}function o(a){return uc(a)?s(a):t(a)}function s(a){return a===59?(i.consume(a),n):uc(a)?(i.consume(a),s):t(a)}}function E5i(i,e,t){return n;function n(o){return i.consume(o),r}function r(o){return Bu(o)?t(o):e(o)}}function rZe(i){return i===null||i===40||i===42||i===95||i===91||i===93||i===126||ks(i)}function oZe(i){return!uc(i)}function sZe(i){return!(i===47||Xae(i))}function Xae(i){return i===43||i===45||i===46||i===95||Bu(i)}function Kae(i){let e=i.length,t=!1;for(;e--;){const n=i[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){t=!0;break}if(n._gfmAutolinkLiteralWalkedInto){t=!1;break}}return i.length>0&&!t&&(i[i.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}const A5i={tokenize:P5i,partial:!0};function T5i(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:O5i,continuation:{tokenize:I5i},exit:D5i}},text:{91:{name:"gfmFootnoteCall",tokenize:k5i},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:R5i,resolveTo:M5i}}}}function R5i(i,e,t){const n=this;let r=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;r--;){const l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return t(l);const u=$0(n.sliceSerialize({start:s.end,end:n.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?t(l):(i.enter("gfmFootnoteCallLabelMarker"),i.consume(l),i.exit("gfmFootnoteCallLabelMarker"),e(l))}}function M5i(i,e){let t=i.length;for(;t--;)if(i[t][1].type==="labelImage"&&i[t][0]==="enter"){i[t][1];break}i[t+1][1].type="data",i[t+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},i[t+3][1].start),end:Object.assign({},i[i.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},i[t+3][1].end),end:Object.assign({},i[t+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},i[i.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[i[t+1],i[t+2],["enter",n,e],i[t+3],i[t+4],["enter",r,e],["exit",r,e],["enter",o,e],["enter",s,e],["exit",s,e],["exit",o,e],i[i.length-2],i[i.length-1],["exit",n,e]];return i.splice(t,i.length-t+1,...a),i}function k5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o=0,s;return a;function a(h){return i.enter("gfmFootnoteCall"),i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?t(h):(i.enter("gfmFootnoteCallMarker"),i.consume(h),i.exit("gfmFootnoteCallMarker"),i.enter("gfmFootnoteCallString"),i.enter("chunkString").contentType="string",u)}function u(h){if(o>999||h===93&&!s||h===null||h===91||ks(h))return t(h);if(h===93){i.exit("chunkString");const d=i.exit("gfmFootnoteCallString");return r.includes($0(n.sliceSerialize(d)))?(i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),i.exit("gfmFootnoteCall"),e):t(h)}return ks(h)||(s=!0),o++,i.consume(h),h===92?c:u}function c(h){return h===91||h===92||h===93?(i.consume(h),o++,u):u(h)}}function O5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o,s=0,a;return l;function l(g){return i.enter("gfmFootnoteDefinition")._container=!0,i.enter("gfmFootnoteDefinitionLabel"),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(g){return g===94?(i.enter("gfmFootnoteDefinitionMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionMarker"),i.enter("gfmFootnoteDefinitionLabelString"),i.enter("chunkString").contentType="string",c):t(g)}function c(g){if(s>999||g===93&&!a||g===null||g===91||ks(g))return t(g);if(g===93){i.exit("chunkString");const p=i.exit("gfmFootnoteDefinitionLabelString");return o=$0(n.sliceSerialize(p)),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),i.exit("gfmFootnoteDefinitionLabel"),d}return ks(g)||(a=!0),s++,i.consume(g),g===92?h:c}function h(g){return g===91||g===92||g===93?(i.consume(g),s++,c):c(g)}function d(g){return g===58?(i.enter("definitionMarker"),i.consume(g),i.exit("definitionMarker"),r.includes(o)||r.push(o),jo(i,f,"gfmFootnoteDefinitionWhitespace")):t(g)}function f(g){return e(g)}}function I5i(i,e,t){return i.check(x5,e,i.attempt(A5i,e,t))}function D5i(i){i.exit("gfmFootnoteDefinition")}function P5i(i,e,t){const n=this;return jo(i,r,"gfmFootnoteDefinitionIndent",5);function r(o){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function L5i(i){let t=(i||{}).singleTilde;const n={name:"strikethrough",tokenize:o,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let u=l;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[l][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",c,a],["enter",s[u][1],a],["exit",s[u][1],a],["enter",h,a]],f=a.parser.constructs.insideSpan.null;f&&yd(d,d.length,0,rL(f,s.slice(u+1,l),a)),yd(d,d.length,0,[["exit",h,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",c,a]]),yd(s,u-1,l-u+3,d),l=u+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){const u=this.previous,c=this.events;let h=0;return d;function d(g){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),f(g))}function f(g){const p=ES(u);if(g===126)return h>1?l(g):(s.consume(g),h++,f);if(h<2&&!t)return l(g);const m=s.exit("strikethroughSequenceTemporary"),v=ES(g);return m._open=!v||v===2&&!!p,m._close=!p||p===2&&!!v,a(g)}}}class B5i{constructor(){this.map=[]}add(e,t,n){F5i(this,e,t,n)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const o of r)e.push(o);r=n.pop()}this.map.length=0}}function F5i(i,e,t,n){let r=0;if(!(t===0&&n.length===0)){for(;r<i.map.length;){if(i.map[r][0]===e){i.map[r][1]+=t,i.map[r][2].push(...n);return}r+=1}i.map.push([e,t,n])}}function N5i(i,e){let t=!1;const n=[];for(;e<i.length;){const r=i[e];if(t){if(r[0]==="enter")r[1].type==="tableContent"&&n.push(i[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(i[e-1][1].type==="tableDelimiterMarker"){const o=n.length-1;n[o]=n[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(t=!0);e+=1}return n}function $5i(){return{flow:{null:{name:"table",tokenize:H5i,resolveAll:z5i}}}}function H5i(i,e,t){const n=this;let r=0,o=0,s;return a;function a(T){let M=n.events.length-1;for(;M>-1;){const P=n.events[M][1].type;if(P==="lineEnding"||P==="linePrefix")M--;else break}const O=M>-1?n.events[M][1].type:null,I=O==="tableHead"||O==="tableRow"?S:l;return I===S&&n.parser.lazy[n.now().line]?t(T):I(T)}function l(T){return i.enter("tableHead"),i.enter("tableRow"),u(T)}function u(T){return T===124||(s=!0,o+=1),c(T)}function c(T){return T===null?t(T):Er(T)?o>1?(o=0,n.interrupt=!0,i.exit("tableRow"),i.enter("lineEnding"),i.consume(T),i.exit("lineEnding"),f):t(T):wo(T)?jo(i,c,"whitespace")(T):(o+=1,s&&(s=!1,r+=1),T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),s=!0,c):(i.enter("data"),h(T)))}function h(T){return T===null||T===124||ks(T)?(i.exit("data"),c(T)):(i.consume(T),T===92?d:h)}function d(T){return T===92||T===124?(i.consume(T),h):h(T)}function f(T){return n.interrupt=!1,n.parser.lazy[n.now().line]?t(T):(i.enter("tableDelimiterRow"),s=!1,wo(T)?jo(i,g,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):g(T))}function g(T){return T===45||T===58?m(T):T===124?(s=!0,i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),p):x(T)}function p(T){return wo(T)?jo(i,m,"whitespace")(T):m(T)}function m(T){return T===58?(o+=1,s=!0,i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),v):T===45?(o+=1,v(T)):T===null||Er(T)?C(T):x(T)}function v(T){return T===45?(i.enter("tableDelimiterFiller"),b(T)):x(T)}function b(T){return T===45?(i.consume(T),b):T===58?(s=!0,i.exit("tableDelimiterFiller"),i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),y):(i.exit("tableDelimiterFiller"),y(T))}function y(T){return wo(T)?jo(i,C,"whitespace")(T):C(T)}function C(T){return T===124?g(T):T===null||Er(T)?!s||r!==o?x(T):(i.exit("tableDelimiterRow"),i.exit("tableHead"),e(T)):x(T)}function x(T){return t(T)}function S(T){return i.enter("tableRow"),w(T)}function w(T){return T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),w):T===null||Er(T)?(i.exit("tableRow"),e(T)):wo(T)?jo(i,w,"whitespace")(T):(i.enter("data"),E(T))}function E(T){return T===null||T===124||ks(T)?(i.exit("data"),w(T)):(i.consume(T),T===92?A:E)}function A(T){return T===92||T===124?(i.consume(T),E):E(T)}}function z5i(i,e){let t=-1,n=!0,r=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,u,c,h;const d=new B5i;for(;++t<i.length;){const f=i[t],g=f[1];f[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(aZe(d,e,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",u,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(n=!0,h=void 0,o=[0,0,0,0],s=[0,t+1,0,0],a&&(a=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",c,e]])),r=g.type==="tableDelimiterRow"?2:c?3:1):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h),o=[0,0,0,0]),s[2]=t)):g.type==="tableCellDivider"&&(n?n=!1:(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h)),o=s,s=[o[1],t,0,0])):g.type==="tableHead"?(a=!0,l=t):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=t,o[1]!==0?(s[0]=s[1],h=EL(d,e,o,r,t,h)):s[1]!==0&&(h=EL(d,e,s,r,t,h)),r=0):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=t)}for(l!==0&&aZe(d,e,l,u,c),d.consume(e.events),t=-1;++t<e.events.length;){const f=e.events[t];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=N5i(e.events,t))}return i}function EL(i,e,t,n,r,o){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",a="tableContent";t[0]!==0&&(o.end=Object.assign({},LS(e.events,t[0])),i.add(t[0],0,[["exit",o,e]]));const l=LS(e.events,t[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},i.add(t[1],0,[["enter",o,e]]),t[2]!==0){const u=LS(e.events,t[2]),c=LS(e.events,t[3]),h={type:a,start:Object.assign({},u),end:Object.assign({},c)};if(i.add(t[2],0,[["enter",h,e]]),n!==2){const d=e.events[t[2]],f=e.events[t[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",t[3]>t[2]+1){const g=t[2]+1,p=t[3]-t[2]-1;i.add(g,p,[])}}i.add(t[3]+1,0,[["exit",h,e]])}return r!==void 0&&(o.end=Object.assign({},LS(e.events,r)),i.add(r,0,[["exit",o,e]]),o=void 0),o}function aZe(i,e,t,n,r){const o=[],s=LS(e.events,t);r&&(r.end=Object.assign({},s),o.push(["exit",r,e])),n.end=Object.assign({},s),o.push(["exit",n,e]),i.add(t+1,0,o)}function LS(i,e){const t=i[e],n=t[0]==="enter"?"start":"end";return t[1][n]}const W5i={name:"tasklistCheck",tokenize:j5i};function V5i(){return{text:{91:W5i}}}function j5i(i,e,t){const n=this;return r;function r(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?t(l):(i.enter("taskListCheck"),i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),o)}function o(l){return ks(l)?(i.enter("taskListCheckValueUnchecked"),i.consume(l),i.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(i.enter("taskListCheckValueChecked"),i.consume(l),i.exit("taskListCheckValueChecked"),s):t(l)}function s(l){return l===93?(i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),i.exit("taskListCheck"),a):t(l)}function a(l){return Er(l)?e(l):wo(l)?i.check({tokenize:U5i},e,t)(l):t(l)}}function U5i(i,e,t){return jo(i,n,"whitespace");function n(r){return r===null?t(r):e(r)}}function G5i(i){return OYe([v5i(),T5i(),L5i(i),$5i(),V5i()])}const q5i={};function Y5i(i){const e=this,t=i||q5i,n=e.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(G5i(t)),o.push(f5i()),s.push(g5i(t))}const X5i=()=>{const{eventBus:i}=fze();return i.emit.bind(i)},K5i=a=>{var l=a,{renderMode:i="md",children:e,components:t,rehypePlugins:n,remarkPlugins:r,eventSubs:o}=l,s=sh(l,["renderMode","children","components","rehypePlugins","remarkPlugins","eventSubs"]);const u=ne.useMemo(()=>new pCi,[]),c=ne.useMemo(()=>({eventBus:u}),[u]);return ne.useEffect(()=>{if(o){const h=Object.keys(o);for(const d of h)u.on(d,o[d]);return()=>{for(const d of h)u.off(d,o[d])}}},[u,o]),Ce.jsxs(dze.Provider,{value:c,children:[i==="md"&&Ce.jsx(f4i,on(Ae({components:t,rehypePlugins:[$Ei,...n||[]],remarkPlugins:[Y5i,...r||[]]},s),{children:e})),i==="json"&&Ce.jsx(aqe,{content:e,components:Ae({},zb),loadingTimeout:50})]})},lZe=ne.memo(K5i),Z5i=uqe(),Q5i=i=>{try{return!!JSON.parse(i)}catch(e){return!1}},J5i=n=>{var r=n,{children:i,components:e}=r,t=sh(r,["children","components"]);const o=ne.Children.toArray(i).join("").trim(),s=Q5i(o)?"json":"md";return Ce.jsx(lZe,on(Ae({renderMode:s,components:Ae({code:Z5i},e)},t),{children:o}))},eTi=ne.memo(J5i),tTi="0.0.36";zi.Area=sLe,zi.Bar=aLe,zi.ChartType=Ja,zi.ConfigProvider=fCi,zi.DEFAULT_CHART_COMPONENTS=zb,zi.Donut=eBe,zi.Funnel=tBe,zi.GPTVis=eTi,zi.GPTVisLite=lZe,zi.Gauge=iBe,zi.Heatmap=nBe,zi.Indicator=oBe,zi.Line=sBe,zi.Pie=aBe,zi.Radar=lBe,zi.Rank=uBe,zi.Scatter=cBe,zi.Table=cze,zi.VisText=Jei,zi.chartTypeOptions=zye,zi.getChartCategory=s0,zi.handleChartDataSourceChange=Mz,zi.handleChartTypeChange=Wye,zi.useEventPublish=X5i,zi.version=tTi,zi.withChartCode=lqe,zi.withDefaultChartCode=uqe,Object.defineProperty(zi,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/utils/data.d.ts
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.0.
|
|
1
|
+
declare const _default: "0.0.36";
|
|
2
2
|
export default _default;
|