@advt-gpt-chart/package 2.1.5 → 2.1.6
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/index.es.js +61 -60
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +58 -58
- package/dist/index.umd.js.gz +0 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -10585,7 +10585,7 @@ For more details see https://formatjs.github.io/docs/getting-started/message-dis
|
|
|
10585
10585
|
`,Pae=({loadingText:i})=>we.jsxs(O3i,{className:"gpt-vis-loading",children:[we.jsx("div",{className:"gpt-vis-loading-icon",children:we.jsxs("div",{className:"loading-svg-ele",children:[we.jsx("svg",{width:"0",height:"0",children:we.jsx("defs",{children:we.jsxs("linearGradient",{id:"loadingCircleStrokeGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%",children:[we.jsx("stop",{offset:"0%",stopColor:"#008CD6"}),we.jsx("stop",{offset:"100%",stopColor:"#00CC66"})]})})}),we.jsx("svg",{viewBox:"22 22 44 44",children:we.jsx("circle",{className:"loading-svg-circle",cx:"44",cy:"44",r:"20.2",fill:"none",strokeWidth:"3.6"})})]})}),we.jsx("p",{children:i})]}),I3i=Bs.div`
|
|
10586
10586
|
height: 100%;
|
|
10587
10587
|
width: 100%;
|
|
10588
|
-
`,CGe=({visible:i,title:e,message:t})=>i?we.jsx(I3i,{className:"error-container",children:we.jsx(ZA,{status:"error",title:e,subTitle:t})}):null,xGe=ce.createContext(null);function SGe(){const i=ce.useContext(xGe);if(i===void 0||Object.keys(i).length===0)throw new Error("useGPTVisContext must be used within a GPTVisContext.Provider");return i}const wGe="2.1.5",Lae=ce.createContext({});function EGe(i){var e,t,n="";if(typeof i=="string"||typeof i=="number")n+=i;else if(typeof i=="object")if(Array.isArray(i)){var r=i.length;for(e=0;e<r;e++)i[e]&&(t=EGe(i[e]))&&(n&&(n+=" "),n+=t)}else for(t in i)i[t]&&(n&&(n+=" "),n+=t);return n}function Bae(){for(var i,e,t=0,n="",r=arguments.length;t<r;t++)(i=arguments[t])&&(e=EGe(i))&&(n&&(n+=" "),n+=e);return n}const D3i={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},ou=Math.round;function Fae(i,e){const t=i.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=t.map(r=>parseFloat(r));for(let r=0;r<3;r+=1)n[r]=e(n[r]||0,t[r]||"",r);return t[3]?n[3]=t[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const AGe=(i,e,t)=>t===0?i:i/100;function NT(i,e){const t=e||255;return i>t?t:i<0?0:i}class bS{constructor(e){sc(this,"isValid",!0);sc(this,"r",0);sc(this,"g",0);sc(this,"b",0);sc(this,"a",1);sc(this,"_h");sc(this,"_s");sc(this,"_l");sc(this,"_v");sc(this,"_max");sc(this,"_min");sc(this,"_brightness");function t(n){return n[0]in e&&n[1]in e&&n[2]in e}if(e)if(typeof e=="string"){let r=function(o){return n.startsWith(o)};const n=e.trim();if(/^#?[A-F\d]{3,8}$/i.test(n))this.fromHexString(n);else if(r("rgb"))this.fromRgbString(n);else if(r("hsl"))this.fromHslString(n);else if(r("hsv")||r("hsb"))this.fromHsvString(n);else{const o=D3i[n.toLowerCase()];o&&this.fromHexString(parseInt(o,36).toString(16).padStart(6,"0"))}}else if(e instanceof bS)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=NT(e.r),this.g=NT(e.g),this.b=NT(e.b),this.a=typeof e.a=="number"?NT(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(o){const a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const t=e(this.r),n=e(this.g),r=e(this.b);return .2126*t+.7152*n+.0722*r}getHue(){if(typeof this._h=="undefined"){const e=this.getMax()-this.getMin();e===0?this._h=0:this._h=ou(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const e=this.getMax()-this.getMin();e===0?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return typeof this._l=="undefined"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v=="undefined"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness=="undefined"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const n=this._c(e),r=t/100,o=s=>(n[s]-this[s])*r+this[s],a={r:ou(o("r")),g:ou(o("g")),b:ou(o("b")),a:ou(o("a")*100)/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),r=o=>ou((this[o]*this.a+t[o]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=t.length===2?t:"0"+t;const n=(this.g||0).toString(16);e+=n.length===2?n:"0"+n;const r=(this.b||0).toString(16);if(e+=r.length===2?r:"0"+r,typeof this.a=="number"&&this.a>=0&&this.a<1){const o=ou(this.a*255).toString(16);e+=o.length===2?o:"0"+o}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=ou(this.getSaturation()*100),n=ou(this.getLightness()*100);return this.a!==1?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=NT(t,n),r}_c(e){return new this.constructor(e)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(r,o){return parseInt(t[r]+t[o||r],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a=typeof r=="number"?r:1,t<=0){const d=ou(n*255);this.r=d,this.g=d,this.b=d}let o=0,a=0,s=0;const l=e/60,u=(1-Math.abs(2*n-1))*t,c=u*(1-Math.abs(l%2-1));l>=0&&l<1?(o=u,a=c):l>=1&&l<2?(o=c,a=u):l>=2&&l<3?(a=u,s=c):l>=3&&l<4?(a=c,s=u):l>=4&&l<5?(o=c,s=u):l>=5&&l<6&&(o=u,s=c);const h=n-u/2;this.r=ou((o+h)*255),this.g=ou((a+h)*255),this.b=ou((s+h)*255)}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a=typeof r=="number"?r:1;const o=ou(n*255);if(this.r=o,this.g=o,this.b=o,t<=0)return;const a=e/60,s=Math.floor(a),l=a-s,u=ou(n*(1-t)*255),c=ou(n*(1-t*l)*255),h=ou(n*(1-t*(1-l))*255);switch(s){case 0:this.g=h,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=h;break;case 3:this.r=u,this.g=c;break;case 4:this.r=h,this.g=u;break;case 5:default:this.g=u,this.b=c;break}}fromHsvString(e){const t=Fae(e,AGe);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=Fae(e,AGe);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=Fae(e,(n,r)=>r.includes("%")?ou(n/100*255):n);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}const LL=2,TGe=.16,P3i=.05,L3i=.05,B3i=.15,RGe=5,MGe=4,F3i=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function kGe(i,e,t){let n;return Math.round(i.h)>=60&&Math.round(i.h)<=240?n=t?Math.round(i.h)-LL*e:Math.round(i.h)+LL*e:n=t?Math.round(i.h)+LL*e:Math.round(i.h)-LL*e,n<0?n+=360:n>=360&&(n-=360),n}function OGe(i,e,t){if(i.h===0&&i.s===0)return i.s;let n;return t?n=i.s-TGe*e:e===MGe?n=i.s+TGe:n=i.s+P3i*e,n>1&&(n=1),t&&e===RGe&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function IGe(i,e,t){let n;return t?n=i.v+L3i*e:n=i.v-B3i*e,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function N3i(i,e={}){const t=[],n=new bS(i),r=n.toHsv();for(let o=RGe;o>0;o-=1){const a=new bS({h:kGe(r,o,!0),s:OGe(r,o,!0),v:IGe(r,o,!0)});t.push(a)}t.push(n);for(let o=1;o<=MGe;o+=1){const a=new bS({h:kGe(r,o),s:OGe(r,o),v:IGe(r,o)});t.push(a)}return e.theme==="dark"?F3i.map(({index:o,amount:a})=>new bS(e.backgroundColor||"#141414").mix(t[o],a).toHexString()):t.map(o=>o.toHexString())}const Nae=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Nae.primary=Nae[5];function H3i(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function $3i(i,e){if(!i)return!1;if(i.contains)return i.contains(e);let t=e;for(;t;){if(t===i)return!0;t=t.parentNode}return!1}const DGe="data-rc-order",PGe="data-rc-priority",z3i="rc-util-key",Hae=new Map;function LGe({mark:i}={}){return i?i.startsWith("data-")?i:`data-${i}`:z3i}function $ae(i){return i.attachTo?i.attachTo:document.querySelector("head")||document.body}function W3i(i){return i==="queue"?"prependQueue":i?"prepend":"append"}function zae(i){return Array.from((Hae.get(i)||i).children).filter(e=>e.tagName==="STYLE")}function BGe(i,e={}){if(!H3i())return null;const{csp:t,prepend:n,priority:r=0}=e,o=W3i(n),a=o==="prependQueue",s=document.createElement("style");s.setAttribute(DGe,o),a&&r&&s.setAttribute(PGe,`${r}`),t!=null&&t.nonce&&(s.nonce=t==null?void 0:t.nonce),s.innerHTML=i;const l=$ae(e),{firstChild:u}=l;if(n){if(a){const c=(e.styles||zae(l)).filter(h=>{if(!["prepend","prependQueue"].includes(h.getAttribute(DGe)))return!1;const d=Number(h.getAttribute(PGe)||0);return r>=d});if(c.length)return l.insertBefore(s,c[c.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function V3i(i,e={}){let{styles:t}=e;return t||(t=zae($ae(e))),t.find(n=>n.getAttribute(LGe(e))===i)}function j3i(i,e){const t=Hae.get(i);if(!t||!$3i(document,t)){const n=BGe("",e),{parentNode:r}=n;Hae.set(i,r),i.removeChild(n)}}function U3i(i,e,t={}){var l,u,c;const n=$ae(t),r=zae(n),o=Wi(ke({},t),{styles:r});j3i(n,o);const a=V3i(e,o);if(a)return(l=o.csp)!=null&&l.nonce&&a.nonce!==((u=o.csp)==null?void 0:u.nonce)&&(a.nonce=(c=o.csp)==null?void 0:c.nonce),a.innerHTML!==i&&(a.innerHTML=i),a;const s=BGe(i,o);return s.setAttribute(LGe(o),e),s}function FGe(i){var e;return(e=i==null?void 0:i.getRootNode)==null?void 0:e.call(i)}function G3i(i){return FGe(i)instanceof ShadowRoot}function q3i(i){return G3i(i)?FGe(i):null}var NGe={};let Wae={};const Vae=[],Y3i=i=>{Vae.push(i)};function X3i(i,e){if(NGe.NODE_ENV!=="production"&&!i&&console!==void 0){const t=Vae.reduce((n,r)=>r(n!=null?n:"","warning"),e);t&&console.error(`Warning: ${t}`)}}function K3i(i,e){if(NGe.NODE_ENV!=="production"&&!i&&console!==void 0){const t=Vae.reduce((n,r)=>r(n!=null?n:"","note"),e);t&&console.warn(`Note: ${t}`)}}function Z3i(){Wae={}}function HGe(i,e,t){!e&&!Wae[t]&&(i(!1,t),Wae[t]=!0)}function BL(i,e){HGe(X3i,i,e)}function Q3i(i,e){HGe(K3i,i,e)}BL.preMessage=Y3i,BL.resetWarned=Z3i,BL.noteOnce=Q3i;function J3i(i){return i.replace(/-(.)/g,(e,t)=>t.toUpperCase())}function jae(i,e){BL(i,`[@ant-design/icons] ${e}`)}function $Ge(i){return typeof i=="object"&&typeof i.name=="string"&&typeof i.theme=="string"&&(typeof i.icon=="object"||typeof i.icon=="function")}function zGe(i={}){return Object.keys(i).reduce((e,t)=>{const n=i[t];switch(t){case"class":e.className=n,delete e.class;break;default:delete e[t],e[J3i(t)]=n}return e},{})}function Uae(i,e,t){return t?ce.createElement(i.tag,ke(ke({key:e},zGe(i.attrs)),t),(i.children||[]).map((n,r)=>Uae(n,`${e}-${i.tag}-${r}`))):ce.createElement(i.tag,ke({key:e},zGe(i.attrs)),(i.children||[]).map((n,r)=>Uae(n,`${e}-${i.tag}-${r}`)))}function WGe(i){return N3i(i)[0]}function VGe(i){return i?Array.isArray(i)?i:[i]:[]}const exi={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},txi=`
|
|
10588
|
+
`,CGe=({visible:i,title:e,message:t})=>i?we.jsx(I3i,{className:"error-container",children:we.jsx(ZA,{status:"error",title:e,subTitle:t})}):null,xGe=ce.createContext(null);function SGe(){const i=ce.useContext(xGe);if(i===void 0||Object.keys(i).length===0)throw new Error("useGPTVisContext must be used within a GPTVisContext.Provider");return i}const wGe="2.1.6",Lae=ce.createContext({});function EGe(i){var e,t,n="";if(typeof i=="string"||typeof i=="number")n+=i;else if(typeof i=="object")if(Array.isArray(i)){var r=i.length;for(e=0;e<r;e++)i[e]&&(t=EGe(i[e]))&&(n&&(n+=" "),n+=t)}else for(t in i)i[t]&&(n&&(n+=" "),n+=t);return n}function Bae(){for(var i,e,t=0,n="",r=arguments.length;t<r;t++)(i=arguments[t])&&(e=EGe(i))&&(n&&(n+=" "),n+=e);return n}const D3i={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},ou=Math.round;function Fae(i,e){const t=i.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=t.map(r=>parseFloat(r));for(let r=0;r<3;r+=1)n[r]=e(n[r]||0,t[r]||"",r);return t[3]?n[3]=t[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const AGe=(i,e,t)=>t===0?i:i/100;function NT(i,e){const t=e||255;return i>t?t:i<0?0:i}class bS{constructor(e){sc(this,"isValid",!0);sc(this,"r",0);sc(this,"g",0);sc(this,"b",0);sc(this,"a",1);sc(this,"_h");sc(this,"_s");sc(this,"_l");sc(this,"_v");sc(this,"_max");sc(this,"_min");sc(this,"_brightness");function t(n){return n[0]in e&&n[1]in e&&n[2]in e}if(e)if(typeof e=="string"){let r=function(o){return n.startsWith(o)};const n=e.trim();if(/^#?[A-F\d]{3,8}$/i.test(n))this.fromHexString(n);else if(r("rgb"))this.fromRgbString(n);else if(r("hsl"))this.fromHslString(n);else if(r("hsv")||r("hsb"))this.fromHsvString(n);else{const o=D3i[n.toLowerCase()];o&&this.fromHexString(parseInt(o,36).toString(16).padStart(6,"0"))}}else if(e instanceof bS)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=NT(e.r),this.g=NT(e.g),this.b=NT(e.b),this.a=typeof e.a=="number"?NT(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(o){const a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const t=e(this.r),n=e(this.g),r=e(this.b);return .2126*t+.7152*n+.0722*r}getHue(){if(typeof this._h=="undefined"){const e=this.getMax()-this.getMin();e===0?this._h=0:this._h=ou(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const e=this.getMax()-this.getMin();e===0?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return typeof this._l=="undefined"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v=="undefined"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness=="undefined"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(e=10){const t=this.getHue(),n=this.getSaturation();let r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const n=this._c(e),r=t/100,o=s=>(n[s]-this[s])*r+this[s],a={r:ou(o("r")),g:ou(o("g")),b:ou(o("b")),a:ou(o("a")*100)/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),r=o=>ou((this[o]*this.a+t[o]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=t.length===2?t:"0"+t;const n=(this.g||0).toString(16);e+=n.length===2?n:"0"+n;const r=(this.b||0).toString(16);if(e+=r.length===2?r:"0"+r,typeof this.a=="number"&&this.a>=0&&this.a<1){const o=ou(this.a*255).toString(16);e+=o.length===2?o:"0"+o}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=ou(this.getSaturation()*100),n=ou(this.getLightness()*100);return this.a!==1?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=NT(t,n),r}_c(e){return new this.constructor(e)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(r,o){return parseInt(t[r]+t[o||r],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a=typeof r=="number"?r:1,t<=0){const d=ou(n*255);this.r=d,this.g=d,this.b=d}let o=0,a=0,s=0;const l=e/60,u=(1-Math.abs(2*n-1))*t,c=u*(1-Math.abs(l%2-1));l>=0&&l<1?(o=u,a=c):l>=1&&l<2?(o=c,a=u):l>=2&&l<3?(a=u,s=c):l>=3&&l<4?(a=c,s=u):l>=4&&l<5?(o=c,s=u):l>=5&&l<6&&(o=u,s=c);const h=n-u/2;this.r=ou((o+h)*255),this.g=ou((a+h)*255),this.b=ou((s+h)*255)}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a=typeof r=="number"?r:1;const o=ou(n*255);if(this.r=o,this.g=o,this.b=o,t<=0)return;const a=e/60,s=Math.floor(a),l=a-s,u=ou(n*(1-t)*255),c=ou(n*(1-t*l)*255),h=ou(n*(1-t*(1-l))*255);switch(s){case 0:this.g=h,this.b=u;break;case 1:this.r=c,this.b=u;break;case 2:this.r=u,this.b=h;break;case 3:this.r=u,this.g=c;break;case 4:this.r=h,this.g=u;break;case 5:default:this.g=u,this.b=c;break}}fromHsvString(e){const t=Fae(e,AGe);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=Fae(e,AGe);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=Fae(e,(n,r)=>r.includes("%")?ou(n/100*255):n);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}const LL=2,TGe=.16,P3i=.05,L3i=.05,B3i=.15,RGe=5,MGe=4,F3i=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function kGe(i,e,t){let n;return Math.round(i.h)>=60&&Math.round(i.h)<=240?n=t?Math.round(i.h)-LL*e:Math.round(i.h)+LL*e:n=t?Math.round(i.h)+LL*e:Math.round(i.h)-LL*e,n<0?n+=360:n>=360&&(n-=360),n}function OGe(i,e,t){if(i.h===0&&i.s===0)return i.s;let n;return t?n=i.s-TGe*e:e===MGe?n=i.s+TGe:n=i.s+P3i*e,n>1&&(n=1),t&&e===RGe&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function IGe(i,e,t){let n;return t?n=i.v+L3i*e:n=i.v-B3i*e,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function N3i(i,e={}){const t=[],n=new bS(i),r=n.toHsv();for(let o=RGe;o>0;o-=1){const a=new bS({h:kGe(r,o,!0),s:OGe(r,o,!0),v:IGe(r,o,!0)});t.push(a)}t.push(n);for(let o=1;o<=MGe;o+=1){const a=new bS({h:kGe(r,o),s:OGe(r,o),v:IGe(r,o)});t.push(a)}return e.theme==="dark"?F3i.map(({index:o,amount:a})=>new bS(e.backgroundColor||"#141414").mix(t[o],a).toHexString()):t.map(o=>o.toHexString())}const Nae=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Nae.primary=Nae[5];function H3i(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function $3i(i,e){if(!i)return!1;if(i.contains)return i.contains(e);let t=e;for(;t;){if(t===i)return!0;t=t.parentNode}return!1}const DGe="data-rc-order",PGe="data-rc-priority",z3i="rc-util-key",Hae=new Map;function LGe({mark:i}={}){return i?i.startsWith("data-")?i:`data-${i}`:z3i}function $ae(i){return i.attachTo?i.attachTo:document.querySelector("head")||document.body}function W3i(i){return i==="queue"?"prependQueue":i?"prepend":"append"}function zae(i){return Array.from((Hae.get(i)||i).children).filter(e=>e.tagName==="STYLE")}function BGe(i,e={}){if(!H3i())return null;const{csp:t,prepend:n,priority:r=0}=e,o=W3i(n),a=o==="prependQueue",s=document.createElement("style");s.setAttribute(DGe,o),a&&r&&s.setAttribute(PGe,`${r}`),t!=null&&t.nonce&&(s.nonce=t==null?void 0:t.nonce),s.innerHTML=i;const l=$ae(e),{firstChild:u}=l;if(n){if(a){const c=(e.styles||zae(l)).filter(h=>{if(!["prepend","prependQueue"].includes(h.getAttribute(DGe)))return!1;const d=Number(h.getAttribute(PGe)||0);return r>=d});if(c.length)return l.insertBefore(s,c[c.length-1].nextSibling),s}l.insertBefore(s,u)}else l.appendChild(s);return s}function V3i(i,e={}){let{styles:t}=e;return t||(t=zae($ae(e))),t.find(n=>n.getAttribute(LGe(e))===i)}function j3i(i,e){const t=Hae.get(i);if(!t||!$3i(document,t)){const n=BGe("",e),{parentNode:r}=n;Hae.set(i,r),i.removeChild(n)}}function U3i(i,e,t={}){var l,u,c;const n=$ae(t),r=zae(n),o=Wi(ke({},t),{styles:r});j3i(n,o);const a=V3i(e,o);if(a)return(l=o.csp)!=null&&l.nonce&&a.nonce!==((u=o.csp)==null?void 0:u.nonce)&&(a.nonce=(c=o.csp)==null?void 0:c.nonce),a.innerHTML!==i&&(a.innerHTML=i),a;const s=BGe(i,o);return s.setAttribute(LGe(o),e),s}function FGe(i){var e;return(e=i==null?void 0:i.getRootNode)==null?void 0:e.call(i)}function G3i(i){return FGe(i)instanceof ShadowRoot}function q3i(i){return G3i(i)?FGe(i):null}var NGe={};let Wae={};const Vae=[],Y3i=i=>{Vae.push(i)};function X3i(i,e){if(NGe.NODE_ENV!=="production"&&!i&&console!==void 0){const t=Vae.reduce((n,r)=>r(n!=null?n:"","warning"),e);t&&console.error(`Warning: ${t}`)}}function K3i(i,e){if(NGe.NODE_ENV!=="production"&&!i&&console!==void 0){const t=Vae.reduce((n,r)=>r(n!=null?n:"","note"),e);t&&console.warn(`Note: ${t}`)}}function Z3i(){Wae={}}function HGe(i,e,t){!e&&!Wae[t]&&(i(!1,t),Wae[t]=!0)}function BL(i,e){HGe(X3i,i,e)}function Q3i(i,e){HGe(K3i,i,e)}BL.preMessage=Y3i,BL.resetWarned=Z3i,BL.noteOnce=Q3i;function J3i(i){return i.replace(/-(.)/g,(e,t)=>t.toUpperCase())}function jae(i,e){BL(i,`[@ant-design/icons] ${e}`)}function $Ge(i){return typeof i=="object"&&typeof i.name=="string"&&typeof i.theme=="string"&&(typeof i.icon=="object"||typeof i.icon=="function")}function zGe(i={}){return Object.keys(i).reduce((e,t)=>{const n=i[t];switch(t){case"class":e.className=n,delete e.class;break;default:delete e[t],e[J3i(t)]=n}return e},{})}function Uae(i,e,t){return t?ce.createElement(i.tag,ke(ke({key:e},zGe(i.attrs)),t),(i.children||[]).map((n,r)=>Uae(n,`${e}-${i.tag}-${r}`))):ce.createElement(i.tag,ke({key:e},zGe(i.attrs)),(i.children||[]).map((n,r)=>Uae(n,`${e}-${i.tag}-${r}`)))}function WGe(i){return N3i(i)[0]}function VGe(i){return i?Array.isArray(i)?i:[i]:[]}const exi={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},txi=`
|
|
10589
10589
|
.anticon {
|
|
10590
10590
|
display: inline-flex;
|
|
10591
10591
|
align-items: center;
|
|
@@ -10648,13 +10648,13 @@ ${r}
|
|
|
10648
10648
|
height: 36px;
|
|
10649
10649
|
|
|
10650
10650
|
//select
|
|
10651
|
-
.
|
|
10651
|
+
.advt-vis-chart-antd-select {
|
|
10652
10652
|
height: 36px;
|
|
10653
10653
|
width: 100%;
|
|
10654
10654
|
border-radius: 4px;
|
|
10655
10655
|
border-color: #c8c8c8;
|
|
10656
10656
|
|
|
10657
|
-
.
|
|
10657
|
+
.advt-vis-chart-antd-select-prefix {
|
|
10658
10658
|
> span {
|
|
10659
10659
|
color: #89898a;
|
|
10660
10660
|
font-weight: 700;
|
|
@@ -10666,12 +10666,12 @@ ${r}
|
|
|
10666
10666
|
}
|
|
10667
10667
|
}
|
|
10668
10668
|
|
|
10669
|
-
.
|
|
10670
|
-
.
|
|
10669
|
+
.advt-vis-chart-antd-select-multiple {
|
|
10670
|
+
.advt-vis-chart-antd-select-selection-wrap {
|
|
10671
10671
|
height: 100%;
|
|
10672
10672
|
}
|
|
10673
10673
|
|
|
10674
|
-
.
|
|
10674
|
+
.advt-vis-chart-antd-select-selection-item {
|
|
10675
10675
|
border: 1px solid #c8c8c8;
|
|
10676
10676
|
border-radius: 9999px;
|
|
10677
10677
|
padding-inline-end: 6px;
|
|
@@ -10679,12 +10679,12 @@ ${r}
|
|
|
10679
10679
|
}
|
|
10680
10680
|
}
|
|
10681
10681
|
|
|
10682
|
-
.
|
|
10682
|
+
.advt-vis-chart-antd-select-arrow {
|
|
10683
10683
|
font-size: 14px;
|
|
10684
10684
|
inset-inline-end: 15px;
|
|
10685
10685
|
}
|
|
10686
10686
|
|
|
10687
|
-
.
|
|
10687
|
+
.advt-vis-chart-antd-select-clear {
|
|
10688
10688
|
right: 35px;
|
|
10689
10689
|
font-weight: 700;
|
|
10690
10690
|
color: #89898a;
|
|
@@ -10692,13 +10692,13 @@ ${r}
|
|
|
10692
10692
|
`}
|
|
10693
10693
|
`,Fxi=qx`
|
|
10694
10694
|
${()=>ml`
|
|
10695
|
-
&.
|
|
10695
|
+
&.advt-vis-chart-antd-select-dropdown {
|
|
10696
10696
|
padding: 4px 0;
|
|
10697
10697
|
border: 1px solid #008cd6;
|
|
10698
10698
|
border-radius: 4px;
|
|
10699
10699
|
|
|
10700
|
-
.
|
|
10701
|
-
&.
|
|
10700
|
+
.advt-vis-chart-antd-select-item-option {
|
|
10701
|
+
&.advt-vis-chart-antd-select-item-option-selected {
|
|
10702
10702
|
color: #008cd6;
|
|
10703
10703
|
background: linear-gradient(180deg, rgba(0, 140, 214, 0.1) 0%, rgba(0, 110, 255, 0.1) 100%), #fff;
|
|
10704
10704
|
|
|
@@ -10707,7 +10707,7 @@ ${r}
|
|
|
10707
10707
|
}
|
|
10708
10708
|
}
|
|
10709
10709
|
|
|
10710
|
-
&.
|
|
10710
|
+
&.advt-vis-chart-antd-select-item-option-active {
|
|
10711
10711
|
color: #008cd6;
|
|
10712
10712
|
background: linear-gradient(180deg, rgba(0, 140, 214, 0.1) 0%, rgba(0, 110, 255, 0.1) 100%), #fff;
|
|
10713
10713
|
|
|
@@ -10724,7 +10724,7 @@ ${r}
|
|
|
10724
10724
|
`}
|
|
10725
10725
|
`,td=i=>{var l;const s=i,{prefix:e,allowClear:t}=s,n=Rh(s,["prefix","allowClear"]),[r,o]=ce.useState((l=i==null?void 0:i.open)!=null?l:!1);ce.useEffect(()=>{(i==null?void 0:i.open)!==void 0&&o(i==null?void 0:i.open)},[i==null?void 0:i.open]);const a=u=>{if(i!=null&&i.onOpenChange){i==null||i.onOpenChange(u);return}o(u)};return we.jsxs(Yf,{theme:Lxi,children:[we.jsx(Fxi,{}),we.jsx(Bxi,{className:r?"open":"",children:we.jsx(cm,ke({prefix:e?we.jsx("span",{className:r?"open":"",children:e}):void 0,suffixIcon:we.jsxs(we.Fragment,{children:[r&&we.jsx("div",{className:"suffixIcon",children:we.jsx(Jae,{style:{color:"#008CD6",pointerEvents:"none"}})}),!r&&we.jsx("div",{className:"suffixIcon",children:we.jsx(Yae,{style:{color:"#89898a",pointerEvents:"none"}})})]}),maxTagCount:"responsive",allowClear:t?{clearIcon:we.jsx(tse,{className:"clear-icon"})}:!1,onOpenChange:a},n))})]})},Nxi="http://localhost";class Hxi{constructor({baseURL:e=Nxi,host:t,protocol:n,timeout:r=6e5,headers:o}={}){var s,l,u;this.host=t||((s=window.location)==null?void 0:s.host),this.protocol=n||(["http:","https:"].includes((l=window==null?void 0:window.location)==null?void 0:l.protocol)?(u=window==null?void 0:window.location)==null?void 0:u.protocol:void 0);const a=new URL(this.host||this.protocol?`${this.protocol||"https:"}//${this.host||"localhost"}`:e,window.location.href);this.baseURL=a.href.replace(/\/+$/,""),this.host=a.host,this.protocol=a.protocol,this.timeout=r,this.headers=o||{"Content-Type":"application/json"},this.instance=Ys.create({baseURL:this.baseURL,timeout:this.timeout,headers:this.headers})}get(e){return Sa(this,null,function*(){return this.request(Wi(ke({},e),{method:"GET"}))})}delete(e){return Sa(this,null,function*(){return this.request(Wi(ke({},e),{method:"DELETE"}))})}put(e){return Sa(this,null,function*(){return this.request(Wi(ke({},e),{method:"PUT"}))})}post(e){return Sa(this,null,function*(){return this.request(Wi(ke({},e),{method:"POST"}))})}patch(e){return Sa(this,null,function*(){return this.request(Wi(ke({},e),{method:"PATCH"}))})}ping(){return this.request({url:"/api/ping",method:"GET",retry:1})}request(e){return Sa(this,null,function*(){return this.instance(e).then(t=>{const{status:n,config:r}=t;return(r==null?void 0:r.method)==="delete"&&(n===200||n===201)?{message:"delete success"}:{data:t.data}}).catch(t=>Promise.reject(t))})}}const NL=new Hxi,$xi=i=>oAt({},l$e,i,t=>{if(Array.isArray(t))return t}),zxi={metricInsight:{query2Params:i=>NL.post({url:"/vizChart/api/v1/mql/params",data:i}).then(t=>(t==null?void 0:t.data)||[]),queryChartData:({timeRange:i,metrics:e,dimensions:t,timeGrain:n,filters:r})=>{var h;const o=(h=e==null?void 0:e[0])==null?void 0:h.value,a=t==null?void 0:t.some(d=>d.value==="metricTime");let s=t,l;a&&(s=t==null?void 0:t.filter(d=>d.value!=="metricTime"),l={dimensionName:"metricTime",dimensionUnit:n});const u={timeRange:i,dimensionIds:s==null?void 0:s.map(d=>d.value)};(i==null?void 0:i.type)==="custom"&&(i!=null&&i.custom)&&(u.timeRange.custom={from:Fr(i.custom.from).format(VM),to:Fr(i.custom.to).format(VM)}),l&&(u.timeDimension=l),r&&r.length>0&&(u.filters=r.map(d=>({conjunction:"AND",subFilter:ke({},d)})));const c=`/vizChart/api/v1/metric/${o}/preview`;return NL.post({url:c,data:u}).then(d=>(d==null?void 0:d.data)||[])},queryMetric:i=>{const e="/vizChart/api/v1/metric/"+i;return NL.get({url:e}).then(t=>t.data||[])},queryDimensions:i=>{const e=`/vizChart/dimensions?orgId=${i}`;return NL.get({url:e}).then(t=>{var n;return((n=t==null?void 0:t.data)==null?void 0:n.items)||[]})},transformData:i=>{const{data:e}=i;if(!e)return[];if(!(e!=null&&e.columns)||!(e!=null&&e.rows))return[];const{columns:t,rows:n}=e,r={};return t.forEach((a,s)=>{r[a.name]=s}),n.map(a=>{const s={};return t.forEach((l,u)=>{if(a.row[u]!==void 0){const c=l.name;s[c]=a.row[u].v}}),s})}},simpleJson:{}},ZGe=i=>{const e=$d(),{setError:t,setLoading:n}=Od();return ce.useMemo(()=>{const o=zxi[i];return{query2Params:o.query2Params?ase(o.query2Params,t,n,e):()=>Promise.resolve({}),queryMetric:o.queryMetric?ase(o.queryMetric,t,n,e):()=>Promise.resolve({}),queryDimensions:o.queryDimensions?ase(o.queryDimensions,t,n,e):()=>Promise.resolve({}),queryChartData:o.queryChartData?o.queryChartData:()=>Promise.resolve({}),transformData:a=>o.transformData?o.transformData({data:a}):a}},[i])};function ase(i,e,t,n){return((...r)=>Sa(null,null,function*(){try{return yield i(...r)}catch(o){let a=o==null?void 0:o.message;throw typeof o=="string"&&(a=o),t(!1),e({visible:!0,title:n.formatMessage({id:"metricError"}),message:a||"error"}),o}}))}const QGe=i=>{const e=$d(),{queryChartData:t,transformData:n}=ZGe(i),{chartJson:r,drillBy:o,setLoading:a,setChartJson:s,setError:l,setDataSourceQueryInfo:u,setChartDrillBy:c}=Od();return{queryChartDataFromDatasource:(f,g)=>Sa(null,null,function*(){var y,_;const{metrics:p,dimensions:m,timeGrain:v,dataFormat:b}=f;if(l({visible:!1,title:"",message:""}),(y=f==null?void 0:f.metrics)!=null&&y[0]){const S=yield t(f).catch(A=>{l({visible:!0,title:e.formatMessage({id:"chartDataLoadingFailed"}),message:A.message}),a(!1)});u({fieldInfo:(_=S==null?void 0:S.columns)==null?void 0:_.map(A=>({fieldName:A==null?void 0:A.name,type:A.type}))});const x=n(S),w=MV({chartJson:r,metrics:p,dimensions:m,isInit:g}),E=ke(Wi(ke({},w),{data:x,timeGrain:v}),b?{dataFormat:b}:{});s(E),a(!1),S&&l({visible:!1,title:"",message:""})}}),queryDrillByChartData:m=>Sa(null,[m],function*({queryData:f,setDrillLoading:g,setDrillError:p}){var y,_;const{metrics:v,dimensions:b}=f;if((y=f==null?void 0:f.metrics)!=null&&y[0]){const S=yield t(f).catch(R=>{p({visible:!0,title:e.formatMessage({id:"drillDataLoadingFailed"}),message:R.message}),g(!1)}),x=n(S),w=MV({chartJson:r,metrics:v,dimensions:b}),E=Wi(ke({},w),{data:x}),A=NJ(E),T=o;c(Wi(ke({},T),{chartState:{chartJson:E,dataset:A,history:[...((_=T.chartState)==null?void 0:_.history)||[],{chartJson:E,dataset:A}]}})),g(!1),S&&p({visible:!1,title:"",message:""})}})}},Wxi=Bs(kl)`
|
|
10726
10726
|
${()=>ml`
|
|
10727
|
-
&.
|
|
10727
|
+
&.advt-vis-chart-antd-btn {
|
|
10728
10728
|
color: #89898a;
|
|
10729
10729
|
font-size: 14px;
|
|
10730
10730
|
font-weight: 700;
|
|
@@ -10757,22 +10757,22 @@ ${r}
|
|
|
10757
10757
|
max-width: calc(50% - 4px);
|
|
10758
10758
|
}
|
|
10759
10759
|
|
|
10760
|
-
.
|
|
10760
|
+
.advt-vis-chart-antd-popover-open {
|
|
10761
10761
|
display: inline-block;
|
|
10762
10762
|
height: 36px;
|
|
10763
10763
|
width: 100%;
|
|
10764
10764
|
}
|
|
10765
10765
|
|
|
10766
10766
|
.filter-input {
|
|
10767
|
-
.
|
|
10767
|
+
.advt-vis-chart-antd-input-affix-wrapper {
|
|
10768
10768
|
padding: 6px 14px 6px 8px;
|
|
10769
10769
|
}
|
|
10770
10770
|
|
|
10771
|
-
.
|
|
10771
|
+
.advt-vis-chart-antd-input-suffix {
|
|
10772
10772
|
color: #89898a;
|
|
10773
10773
|
}
|
|
10774
10774
|
|
|
10775
|
-
.
|
|
10775
|
+
.advt-vis-chart-antd-input-group-addon {
|
|
10776
10776
|
padding: 0;
|
|
10777
10777
|
width: 36px;
|
|
10778
10778
|
background: #ededed;
|
|
@@ -10803,17 +10803,17 @@ ${r}
|
|
|
10803
10803
|
border-right: 1px solid #c8c8c8;
|
|
10804
10804
|
height: 100%;
|
|
10805
10805
|
|
|
10806
|
-
.
|
|
10806
|
+
.advt-vis-chart-antd-menu {
|
|
10807
10807
|
margin-top: 8px;
|
|
10808
10808
|
|
|
10809
|
-
.
|
|
10809
|
+
.advt-vis-chart-antd-menu-item {
|
|
10810
10810
|
width: 100%;
|
|
10811
10811
|
margin: 0;
|
|
10812
10812
|
border-radius: 0;
|
|
10813
10813
|
height: 48px;
|
|
10814
10814
|
line-height: 48px;
|
|
10815
10815
|
|
|
10816
|
-
&.
|
|
10816
|
+
&.advt-vis-chart-antd-menu-item-selected {
|
|
10817
10817
|
background:
|
|
10818
10818
|
linear-gradient(180deg, rgba(0, 140, 214, 0.1) 0%, rgba(0, 110, 255, 0.1) 100%),
|
|
10819
10819
|
#fff;
|
|
@@ -10825,11 +10825,11 @@ ${r}
|
|
|
10825
10825
|
.right-content {
|
|
10826
10826
|
padding-top: 16px;
|
|
10827
10827
|
flex: 1;
|
|
10828
|
-
.
|
|
10828
|
+
.advt-vis-chart-antd-form {
|
|
10829
10829
|
padding: 0 8px;
|
|
10830
10830
|
}
|
|
10831
10831
|
|
|
10832
|
-
.
|
|
10832
|
+
.advt-vis-chart-antd-form-item {
|
|
10833
10833
|
margin-bottom: 16px;
|
|
10834
10834
|
|
|
10835
10835
|
&:last-child {
|
|
@@ -10837,7 +10837,7 @@ ${r}
|
|
|
10837
10837
|
}
|
|
10838
10838
|
}
|
|
10839
10839
|
|
|
10840
|
-
.
|
|
10840
|
+
.advt-vis-chart-antd-form-item-label {
|
|
10841
10841
|
padding: 0;
|
|
10842
10842
|
font-weight: 700;
|
|
10843
10843
|
> label {
|
|
@@ -10847,13 +10847,13 @@ ${r}
|
|
|
10847
10847
|
}
|
|
10848
10848
|
}
|
|
10849
10849
|
|
|
10850
|
-
.
|
|
10850
|
+
.advt-vis-chart-antd-input-affix-wrapper {
|
|
10851
10851
|
padding-top: 6px;
|
|
10852
10852
|
padding-bottom: 6px;
|
|
10853
10853
|
}
|
|
10854
10854
|
|
|
10855
10855
|
.code-sql {
|
|
10856
|
-
.
|
|
10856
|
+
.advt-vis-chart-antd-form-item-control-input-content {
|
|
10857
10857
|
border: 1px solid #d9d9d9;
|
|
10858
10858
|
border-radius: 4px;
|
|
10859
10859
|
|
|
@@ -10906,12 +10906,12 @@ ${r}
|
|
|
10906
10906
|
}
|
|
10907
10907
|
`}
|
|
10908
10908
|
`,o8i=qx`
|
|
10909
|
-
.
|
|
10909
|
+
.advt-vis-chart-antd-popover.advt-chart-popover {
|
|
10910
10910
|
background: #fff;
|
|
10911
10911
|
border: 1px solid #008cd6;
|
|
10912
10912
|
border-radius: 4px;
|
|
10913
10913
|
|
|
10914
|
-
.
|
|
10914
|
+
.advt-vis-chart-antd-popover-inner {
|
|
10915
10915
|
padding: 0;
|
|
10916
10916
|
}
|
|
10917
10917
|
}
|
|
@@ -10958,7 +10958,7 @@ ${r}
|
|
|
10958
10958
|
height: 48px;
|
|
10959
10959
|
padding-left: 44px;
|
|
10960
10960
|
|
|
10961
|
-
.
|
|
10961
|
+
.advt-vis-chart-antd-btn {
|
|
10962
10962
|
border-radius: 4px;
|
|
10963
10963
|
padding: 6px 22px;
|
|
10964
10964
|
}
|
|
@@ -11078,7 +11078,7 @@ ${r}
|
|
|
11078
11078
|
height: 36px;
|
|
11079
11079
|
flex: 1;
|
|
11080
11080
|
|
|
11081
|
-
.
|
|
11081
|
+
.advt-vis-chart-antd-picker {
|
|
11082
11082
|
height: 36px;
|
|
11083
11083
|
}
|
|
11084
11084
|
}
|
|
@@ -11098,17 +11098,17 @@ ${r}
|
|
|
11098
11098
|
height: 100%;
|
|
11099
11099
|
flex: 1;
|
|
11100
11100
|
|
|
11101
|
-
.
|
|
11101
|
+
.advt-vis-chart-antd-menu {
|
|
11102
11102
|
margin-top: 8px;
|
|
11103
11103
|
|
|
11104
|
-
.
|
|
11104
|
+
.advt-vis-chart-antd-menu-item {
|
|
11105
11105
|
width: 100%;
|
|
11106
11106
|
margin: 0;
|
|
11107
11107
|
border-radius: 0;
|
|
11108
11108
|
height: 48px;
|
|
11109
11109
|
line-height: 48px;
|
|
11110
11110
|
|
|
11111
|
-
&.
|
|
11111
|
+
&.advt-vis-chart-antd-menu-item-selected {
|
|
11112
11112
|
background:
|
|
11113
11113
|
linear-gradient(180deg, rgba(0, 140, 214, 0.1) 0%, rgba(0, 110, 255, 0.1) 100%),
|
|
11114
11114
|
#fff;
|
|
@@ -11119,7 +11119,7 @@ ${r}
|
|
|
11119
11119
|
|
|
11120
11120
|
.right-content {
|
|
11121
11121
|
flex: 1;
|
|
11122
|
-
.
|
|
11122
|
+
.advt-vis-chart-antd-form {
|
|
11123
11123
|
padding: 8px;
|
|
11124
11124
|
}
|
|
11125
11125
|
|
|
@@ -11142,7 +11142,7 @@ ${r}
|
|
|
11142
11142
|
flex: 1;
|
|
11143
11143
|
|
|
11144
11144
|
.boundary-type-select {
|
|
11145
|
-
.
|
|
11145
|
+
.advt-vis-chart-antd-select-selector {
|
|
11146
11146
|
border-right: none;
|
|
11147
11147
|
}
|
|
11148
11148
|
}
|
|
@@ -11153,7 +11153,7 @@ ${r}
|
|
|
11153
11153
|
`,v8i=i=>M.createElement("svg",ke({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),M.createElement("path",{d:"M10.2922 14.9805L6.53982 10.8977L16.6663 10.8977V9.10209L6.53982 9.10209L10.2922 5.01946L9.10769 3.75L3.33301 10L9.10769 16.25L10.2922 14.9805Z",fill:"#89898A"})),b8i=[{key:"custom",label:"Custom",value:"custom"},{key:"today",label:"Today",value:"today"},{key:"last7Days",label:"Last 7 days",value:"last7Days"},{key:"last30Days",label:"Last 30 days",value:"last30Days"},{key:"last1Year",label:"Last year",value:"last1Year"},{key:"thisWeek",label:"This week",value:"thisWeek"},{key:"thisMonth",label:"This month",value:"thisMonth"},{key:"thisQuarter",label:"This quarter",value:"thisQuarter"},{key:"thisYear",label:"This year",value:"thisYear"},{key:"weekToDate",label:"Week-to-date",value:"weekToDate"},{key:"monthToDate",label:"Month-to-date",value:"monthToDate"},{key:"quarterToDate",label:"Quarter-to-date",value:"quarterToDate"},{key:"yearToDate",label:"Year-to-date",value:"yearToDate"},{key:"advanced",label:"Advanced",value:"advanced"}],y8i=[{key:"lastPeriod",label:"Last N period",value:"lastPeriod"},{key:"periodAgo",label:"N periods ago",value:"periodAgo"},{key:"periodBoundary",label:"Current/previous period boundary",value:"periodBoundary"}],_8i=[{key:"current",label:"Current",value:"current"},{key:"previous",label:"Previous",value:"previous"}],US=[{key:"minute",label:"Minute",value:"minute"},{key:"hour",label:"Hour",value:"hour"},{key:"day",label:"Day",value:"day"},{key:"week",label:"Week",value:"week"},{key:"month",label:"Month",value:"month"},{key:"quarter",label:"Quarter",value:"quarter"},{key:"year",label:"Year",value:"year"}],lQe=[{key:"minute",label:"Minute",value:"minute"},{key:"hour",label:"Hour",value:"hour"},{key:"year",label:"Year",value:"year"},{key:"quarter",label:"Quarter",value:"quarter"},{key:"month",label:"Month",value:"month"},{key:"week",label:"Week",value:"week"},{key:"day",label:"Day",value:"day"}],C8i=[{key:"first",label:"First",value:"first"},{key:"last",label:"Last",value:"last"}],uQe={type:"lastPeriod",lastPeriod:{range:7,unit:"day"},periodAgo:{range:7,unit:"day"},periodBoundary:{periodType:"current",periodUnit:"month",periodRange:void 0,boundaryType:"first",boundaryUnit:"day"}},O5={second:0,minute:1,hour:2,day:3,week:4,month:5,quarter:6,year:7},x8i=i=>{if(i&&Object.prototype.hasOwnProperty.call(O5,i)){const e=O5[i];return US.filter(t=>O5[t.value]<e)}return US},S8i=i=>{const e=O5[i==null?void 0:i.toLowerCase()];return e!==void 0?lQe.filter(t=>O5[t.value]<e):lQe},w8i=(i,e,t)=>{var n,r,o,a,s,l;if((e==null?void 0:e.type)==="custom"&&(n=e==null?void 0:e.custom)!=null&&n.from&&(r=e==null?void 0:e.custom)!=null&&r.to){const u=Fr(e.custom.from).format(Ob),c=Fr(e.custom.to).format(Ob);return`${u}-${c}`}if((e==null?void 0:e.type)==="advanced"&&e.advanced){const u=e.advanced;let c="";if((u==null?void 0:u.type)==="lastPeriod")return t({id:"lastNUnits"},{range:(o=u==null?void 0:u.lastPeriod)==null?void 0:o.range,unit:t({id:"unit"+((a=u.lastPeriod)==null?void 0:a.unit)})});if((u==null?void 0:u.type)==="periodAgo")return t({id:"periodAgoNUnits"},{range:(s=u.periodAgo)==null?void 0:s.range,unit:t({id:"unit"+((l=u.periodAgo)==null?void 0:l.unit)})});if((u==null?void 0:u.type)==="periodBoundary"){const h=u.periodBoundary;if((h==null?void 0:h.periodType)==="current")return t({id:"currentNUnit"},{periodUnit:t({id:"unit"+h.periodUnit}),boundaryType:t({id:h.boundaryType}),boundaryUnit:t({id:"unit"+h.boundaryUnit})});if((h==null?void 0:h.periodType)==="previous")return t({id:"previousNUnits"},{periodRange:h.periodRange,periodUnit:t({id:"unit"+h.periodUnit}),boundaryType:t({id:h.boundaryType}),boundaryUnit:t({id:"unit"+h.boundaryUnit})})}return c}return i},E8i=i=>i==null?void 0:i.dimensionUnit,A8i=(i,e)=>{var t,n,r;if(!(i!=null&&i.type)){const o=e==null?void 0:e.mql;let a;if(typeof o=="object")a=o==null?void 0:o.timeConstraint;else if(typeof o=="string")try{a=(t=JSON.parse(o))==null?void 0:t.timeConstraint}catch(s){console.error(s),a={}}return(a==null?void 0:a.type)==="advanced"&&((r=(n=a==null?void 0:a.advanced)==null?void 0:n.custom)!=null&&r.from)?{type:"custom",custom:{from:a.advanced.custom.from,to:a.advanced.custom.to||Fr().format("YYYY-MM-DD HH:mm:ss")}}:{}}return i},{Text:I5}=Nx,T8i=qx`
|
|
11154
11154
|
${()=>ml`
|
|
11155
11155
|
.advanced-select-dropdown {
|
|
11156
|
-
&.
|
|
11156
|
+
&.advt-vis-chart-antd-select-dropdown {
|
|
11157
11157
|
z-index: 1065;
|
|
11158
11158
|
}
|
|
11159
11159
|
}
|
|
@@ -11175,8 +11175,8 @@ ${r}
|
|
|
11175
11175
|
}
|
|
11176
11176
|
}
|
|
11177
11177
|
|
|
11178
|
-
.
|
|
11179
|
-
.
|
|
11178
|
+
.advt-vis-chart-antd-picker-body {
|
|
11179
|
+
.advt-vis-chart-antd-picker-content {
|
|
11180
11180
|
thead > tr > th {
|
|
11181
11181
|
line-height: 36px;
|
|
11182
11182
|
color: #323233;
|
|
@@ -11197,23 +11197,23 @@ ${r}
|
|
|
11197
11197
|
border: 1px solid #008cd6;
|
|
11198
11198
|
border-radius: 4px;
|
|
11199
11199
|
|
|
11200
|
-
.
|
|
11200
|
+
.advt-vis-chart-antd-picker-panel {
|
|
11201
11201
|
padding: 0 16px;
|
|
11202
11202
|
}
|
|
11203
11203
|
|
|
11204
|
-
.
|
|
11204
|
+
.advt-vis-chart-antd-picker-time-panel-column {
|
|
11205
11205
|
border: none;
|
|
11206
11206
|
}
|
|
11207
11207
|
|
|
11208
|
-
.
|
|
11208
|
+
.advt-vis-chart-antd-picker-footer {
|
|
11209
11209
|
border-top: 1px solid #c8c8c8;
|
|
11210
11210
|
}
|
|
11211
11211
|
|
|
11212
|
-
.
|
|
11212
|
+
.advt-vis-chart-antd-picker-ranges {
|
|
11213
11213
|
display: none;
|
|
11214
11214
|
}
|
|
11215
11215
|
|
|
11216
|
-
.
|
|
11216
|
+
.advt-vis-chart-antd-picker-footer-extra {
|
|
11217
11217
|
padding: 0;
|
|
11218
11218
|
height: 48px;
|
|
11219
11219
|
line-height: 48px;
|
|
@@ -11257,8 +11257,8 @@ ${r}
|
|
|
11257
11257
|
}
|
|
11258
11258
|
}
|
|
11259
11259
|
|
|
11260
|
-
.
|
|
11261
|
-
.
|
|
11260
|
+
.advt-vis-chart-antd-menu {
|
|
11261
|
+
.advt-vis-chart-antd-menu-item {
|
|
11262
11262
|
padding-left: 8px !important;
|
|
11263
11263
|
margin: 4px 0;
|
|
11264
11264
|
width: 100%;
|
|
@@ -11284,16 +11284,16 @@ ${r}
|
|
|
11284
11284
|
margin-right: 8px;
|
|
11285
11285
|
}
|
|
11286
11286
|
|
|
11287
|
-
.
|
|
11287
|
+
.advt-vis-chart-antd-breadcrumb {
|
|
11288
11288
|
font-size: 12px;
|
|
11289
11289
|
height: 24px;
|
|
11290
11290
|
line-height: 24px;
|
|
11291
11291
|
|
|
11292
|
-
.
|
|
11292
|
+
.advt-vis-chart-antd-breadcrumb-separator {
|
|
11293
11293
|
margin-inline:;
|
|
11294
11294
|
}
|
|
11295
11295
|
|
|
11296
|
-
.
|
|
11296
|
+
.advt-vis-chart-antd-tag {
|
|
11297
11297
|
cursor: pointer;
|
|
11298
11298
|
color: #008cd6;
|
|
11299
11299
|
font-size: 12px;
|
|
@@ -11326,10 +11326,10 @@ ${r}
|
|
|
11326
11326
|
height: 100%;
|
|
11327
11327
|
padding-top: 8px;
|
|
11328
11328
|
|
|
11329
|
-
.
|
|
11329
|
+
.advt-vis-chart-antd-menu {
|
|
11330
11330
|
margin-top: 8px;
|
|
11331
11331
|
|
|
11332
|
-
.
|
|
11332
|
+
.advt-vis-chart-antd-menu-item {
|
|
11333
11333
|
width: 100%;
|
|
11334
11334
|
margin: 0;
|
|
11335
11335
|
border-radius: 0;
|
|
@@ -11337,7 +11337,7 @@ ${r}
|
|
|
11337
11337
|
line-height: 48px;
|
|
11338
11338
|
padding-left: 8px !important;
|
|
11339
11339
|
|
|
11340
|
-
&.
|
|
11340
|
+
&.advt-vis-chart-antd-menu-item-selected {
|
|
11341
11341
|
background: linear-gradient(180deg, rgba(0, 140, 214, 0.1) 0%, rgba(0, 110, 255, 0.1) 100%), #fff;
|
|
11342
11342
|
}
|
|
11343
11343
|
}
|
|
@@ -11348,12 +11348,12 @@ ${r}
|
|
|
11348
11348
|
padding-top: 8px;
|
|
11349
11349
|
flex: 1;
|
|
11350
11350
|
|
|
11351
|
-
.
|
|
11351
|
+
.advt-vis-chart-antd-form {
|
|
11352
11352
|
margin-top: 8px;
|
|
11353
11353
|
padding: 0 8px;
|
|
11354
11354
|
}
|
|
11355
11355
|
|
|
11356
|
-
.
|
|
11356
|
+
.advt-vis-chart-antd-form-item {
|
|
11357
11357
|
margin-bottom: 16px;
|
|
11358
11358
|
|
|
11359
11359
|
&:last-child {
|
|
@@ -11373,7 +11373,7 @@ ${r}
|
|
|
11373
11373
|
}
|
|
11374
11374
|
}
|
|
11375
11375
|
|
|
11376
|
-
.
|
|
11376
|
+
.advt-vis-chart-antd-form-item-label {
|
|
11377
11377
|
padding: 0;
|
|
11378
11378
|
font-weight: 700;
|
|
11379
11379
|
> label {
|
|
@@ -11427,17 +11427,17 @@ ${r}
|
|
|
11427
11427
|
}
|
|
11428
11428
|
`}
|
|
11429
11429
|
`,aRi=({popoverOpen:i,onCancel:e})=>{const t=$d(),{chartJson:n,updateChartJson:r}=Od(),[o,a]=ce.useState(""),[s,l]=ce.useState([]),[u]=No.useForm(),c=No.useWatch(null,u),[h,d]=ce.useState({}),[f,g]=ce.useState(!1),[p,m]=ce.useState([]),[v,b]=ce.useState(!1),y=ce.useRef(null);ce.useEffect(()=>{const w=E=>{i&&y.current&&!y.current.contains(E.target)&&e()};return document.addEventListener("mousedown",w),()=>{document.removeEventListener("mousedown",w)}},[i]),ce.useEffect(()=>{var w;if((w=n==null?void 0:n.metrics)!=null&&w.length){a(n.metrics[0]);const E=n.metrics.map(A=>({key:A,label:A}));l(E)}},[n==null?void 0:n.metrics]),ce.useEffect(()=>{n!=null&&n.dataFormat&&d(n==null?void 0:n.dataFormat)},[n==null?void 0:n.dataFormat]),ce.useEffect(()=>{if(o){const w=h[o]||{formatType:"none",decimalPlaces:0};u.setFieldsValue({formatType:w.formatType,decimalPlaces:w.decimalPlaces});const E=dQe.some(T=>T.value===(w==null?void 0:w.formatType)),A=_(E,w);(w==null?void 0:w.formatType)==="number"&&(w!=null&&w.suffix)&&b(!0),g(E),m(A)}},[o]);const _=(w,E)=>{const A=dQe.map(T=>{let R=we.jsx(yo,{id:T.value});return T!=null&&T.desc&&(R=we.jsxs("div",{className:"label-desc",children:[we.jsx(yo,{id:T.value}),we.jsx("span",{className:"desc",children:T==null?void 0:T.desc})]})),{key:T.value,label:R,value:T.value}});if(!w&&(E!=null&&E.formatType)){let T=t.formatMessage({id:E==null?void 0:E.formatType});return E!=null&&E.suffix&&(T=T+` (${E==null?void 0:E.suffix})`),[...A,{key:E==null?void 0:E.formatType,label:T,value:E==null?void 0:E.formatType,disabled:!0}]}return A},S=(w,E)=>{d(A=>Wi(ke({},A),{[o]:{formatType:E.formatType,decimalPlaces:E.decimalPlaces}}))},x=()=>{const w=ke({},h);r("dataFormat",w),e==null||e()};return we.jsxs(oRi,{className:"data-format-modal",ref:y,children:[we.jsxs("div",{className:"modal-content",children:[we.jsxs("div",{className:"left-content",children:[we.jsxs("div",{className:"title",children:[we.jsx(yo,{id:"metrics"}),` (${(s==null?void 0:s.length)||0})`]}),we.jsx(yp,{selectedKeys:[o],mode:"inline",theme:"light",items:s,onClick:({key:w})=>{a(w)}})]}),we.jsxs("div",{className:"right-content",children:[we.jsx("div",{className:"title",children:o}),we.jsx(No,{layout:"vertical",form:u,onValuesChange:S,children:we.jsxs(hg,{vertical:!0,children:[we.jsx(No.Item,{label:we.jsx(yo,{id:"formatType"}),name:"formatType",children:we.jsx(td,{disabled:!f||v,options:p,getPopupContainer:w=>w.parentNode,labelRender:w=>{const{label:E,value:A}=w;let T=E;if(A==="number"){const R=h[o];R!=null&&R.suffix&&(T=t.formatMessage({id:A}),T=`${T} (${R==null?void 0:R.suffix})`)}return T}})}),we.jsx(No.Item,{label:we.jsx(yo,{id:"decimalPlaces"}),name:"decimalPlaces",colon:!1,children:we.jsx(Px,{className:"decimal-places",min:0,max:4,disabled:!f||(c==null?void 0:c.formatType)==="none"||v})})]})})]})]}),we.jsxs("div",{className:"footer",children:[we.jsx("div",{className:"footer-btn cancel-btn",children:we.jsx(kl,{type:"text",onClick:()=>e==null?void 0:e(),children:we.jsx(yo,{id:"cancel"})})}),we.jsx("div",{className:"footer-btn apply-btn",children:we.jsx(kl,{type:"text",onClick:x,children:we.jsx(yo,{id:"modalApply"})})})]})]})},yue=[{key:"download-image",label:"DownloadImage"},{key:"download-excel",label:"DownloadExcel"},{key:"data-format",label:"MetricDataFormat"}],sRi=()=>{const{chartJson:i,drillBy:e}=Od(),[t,n]=ce.useState(!1),r=()=>Sa(null,null,function*(){const a=i==null?void 0:i.chartName;try{rRi(".chart-container",a||"chart",!0)()}catch(s){console.log(s)}}),o=()=>{var u,c;const a=i==null?void 0:i.chartName;let s=(i==null?void 0:i.data)||[],l=a||"chart-data-export";e!=null&&e.visible&&((c=(u=e==null?void 0:e.chartState)==null?void 0:u.dataset)!=null&&c.data)&&(s=e.chartState.dataset.data,l=a+"-drill-by-data-export"),XGt(s,l)};return we.jsx(we.Fragment,{children:we.jsx(Kie,{trigger:["click"],menu:{items:yue==null?void 0:yue.map(a=>({key:a.key,label:we.jsx(yo,{id:a==null?void 0:a.label})})),onClick:({key:a})=>{a==="download-image"?r():a==="download-excel"?o():a==="data-format"&&n(!0)}},children:we.jsx(VI,{classNames:{root:"advt-chart-popover"},content:we.jsx(aRi,{popoverOpen:t,onCancel:()=>{n(!1)}}),open:t,placement:"bottomRight",arrow:!1,children:we.jsx(kl,{className:"download-button",icon:we.jsx(Cg,{component:Q8i})})},"data-format")})})},lRi=Bs.div`
|
|
11430
|
-
${i=>{const{theme:e,style:t}=i;return{display:"flex",flexDirection:"column",height:"100%",width:"100%",".chart-container":Wi(ke({position:"relative",boxSizing:"border-box",overflow:"hidden",height:"100%",width:"100%",borderRadius:"4px",background:e==="dark"?"#1E1E1E":"#FFFFFF",border:e==="dark"?"1px solid #333":"1px solid #C8C8C8"},t),{"&.full-screen":{position:"fixed",top:0,left:0,zIndex:"9999",width:"100%",height:"100%",borderRadius:"0",background:"#FFFFFF",border:"none"}}),".chart-content":{position:"relative",width:"100%",height:"calc(100% - 48px)",minHeight:"200px",display:"flex",alignItems:"center",justifyContent:"center"}}}}
|
|
11430
|
+
${i=>{const{theme:e,style:t}=i;return{display:"flex",flexDirection:"column",height:"100%",width:"100%",".chart-container":Wi(ke({position:"relative",boxSizing:"border-box",overflow:"hidden",height:"100%",width:"100%",borderRadius:"4px",background:e==="dark"?"#1E1E1E":"#FFFFFF",border:e==="dark"?"1px solid #333":"1px solid #C8C8C8"},t),{"&.full-screen":{position:"fixed",top:0,left:0,zIndex:"9999",width:"100%",height:"100%",borderRadius:"0",background:"#FFFFFF",border:"none",margin:0}}),".chart-content":{position:"relative",width:"100%",height:"calc(100% - 48px)",minHeight:"200px",display:"flex",alignItems:"center",justifyContent:"center"}}}}
|
|
11431
11431
|
`,uRi=Bs.div`
|
|
11432
|
-
${i=>{const{theme:e}=i;return{position:"relative",height:"48px",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 16px",boxSizing:"border-box",".chart-name":{height:"32px",lineHeight:"32px",fontSize:"14px",fontWeight:"700",color:e==="dark"?"#C8C8C8":"#323233"},".
|
|
11432
|
+
${i=>{const{theme:e}=i;return{position:"relative",height:"48px",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 16px",boxSizing:"border-box",".chart-name":{height:"32px",lineHeight:"32px",fontSize:"14px",fontWeight:"700",color:e==="dark"?"#C8C8C8":"#323233"},".advt-vis-chart-antd-btn":{height:"32px",width:"36px",borderRadius:"4px",color:"#89898A"},".chart-actions":{display:"flex",alignItems:"center",justifyContent:"center",height:"32px","&.disabled":{".chart-type-change":{cursor:"not-allowed",".advt-vis-chart-antd-btn":{pointerEvents:"none"}}},".chart-type-button(not:disabled)":{"&:hover":{color:"#008CD6",background:e==="dark"?"#323233":"linear-gradient(180deg, rgba(0, 140, 214, 0.10) 0%, rgba(0, 110, 255, 0.10) 100%), #FFF"}},".chart-type-button.active":{color:"#008CD6",background:e==="dark"?"#323233":"linear-gradient(180deg, rgba(0, 140, 214, 0.10) 0%, rgba(0, 110, 255, 0.10) 100%), #FFF"},".chart-actions-right":{height:"32px",lineHeight:"32px",marginLeft:"8px",display:"flex",alignItems:"center",gap:"8px"},".advt-vis-chart-antd-btn-icon>.anticon":{fontSize:"20px"}}}}}
|
|
11433
11433
|
`,cRi=qx`
|
|
11434
|
-
.
|
|
11434
|
+
.advt-vis-chart-antd-dropdown .advt-vis-chart-antd-dropdown-menu {
|
|
11435
11435
|
min-width: 156px;
|
|
11436
11436
|
padding: 8px 0;
|
|
11437
11437
|
border: 1px solid #008CD6;
|
|
11438
11438
|
border-radius: 4px;
|
|
11439
11439
|
|
|
11440
|
-
.
|
|
11440
|
+
.advt-vis-chart-antd-dropdown-menu-item {
|
|
11441
11441
|
padding: 8px;
|
|
11442
11442
|
height: 32px;
|
|
11443
11443
|
line-height: 32px;
|
|
@@ -11483,7 +11483,7 @@ ${r}
|
|
|
11483
11483
|
background: #C8C8C8;
|
|
11484
11484
|
border-radius: 4px;
|
|
11485
11485
|
}
|
|
11486
|
-
`,gQe=({style:i})=>we.jsx(_ue,{className:"gpt-vis",style:i,children:we.jsx(Pae,{})}),pRi=({debug:i,loadingTimeout:e,loading:t,setLoading:n,style:r})=>{const o=ce.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?we.jsx(gQe,{style:r}):we.jsx(_ue,{className:"gpt-vis",style:r,children:we.jsx("p",{children:"Chart generation error."})})},pQe=ce.memo(({style:i,content:e,components:t,debug:n,loadingTimeout:r})=>{const[o,a]=ce.useState(!0),[s,l]=ce.useState(null),[u,c]=ce.useState(null),h=m=>Sa(null,null,function*(){try{let v=JSON.parse(m);qGt(v)&&(v=yield YGt(v),v.type||(v.type="bar")),l(v),a(!1)}catch(v){c(v)}});if(ce.useEffect(()=>{h(e)},[e]),u)return we.jsx(pRi,{loadingTimeout:r,debug:n,style:i,setLoading:a});if(o)return we.jsx(gQe,{style:i});n&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",s);const p=s,{className:d,chartStyle:f}=p,g=Rh(p,["className","chartStyle"]);return we.jsxs(_ue,{className:"gpt-vis",style:i,children:[we.jsx(gRi,{}),we.jsx(uqt,{chartProps:g,children:we.jsx(fRi,{className:d,chartStyle:f,components:t})})]})}),mRi=i=>{const o=i,{children:e,className:t="",node:n}=o,r=Rh(o,["children","className","node"]);return we.jsx("code",Wi(ke({},r),{className:t,children:e}))},vRi=i=>function(t){var m;const{children:n,className:r=""}=t,o=String(n).trim(),a=r.includes("language-vis-chart"),{components:s,languageRenderers:l,defaultRenderer:u,debug:c,loadingTimeout:h=5e3,style:d}=i;if(a)return we.jsx(pQe,{style:d,content:o,components:s,debug:c,loadingTimeout:h});const f=((m=r.match(/language-(.*)/))==null?void 0:m[1])||"",g=l,p=g&&g[f];return p?we.jsx(p,ke({},t)):u?we.jsx(u,ke({},t)):we.jsx(mRi,ke({},t))},mQe=i=>vRi(i),vQe=i=>mQe(Wi(ke({},i),{components:ke(ke({},Qy),rp(i,"components",{}))})),bRi={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",unitsecond:"second",unitminute:"minute",unithour:"hour",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",second:"Second",minute:"Minute",hour:"Hour",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",NoDrillDown:"No drill-down dimensions available",metricError:"Failed to fetch metric data",chartDataLoadingFailed:"Data loading failed",drillDataLoadingFailed:"Drill data loading failed",DownloadImage:"Download image",DownloadExcel:"Download excel",MetricDataFormat:"Metric data format",fullscreen:"Fullscreen",formatType:"Format type",decimalPlaces:"Decimal places",metrics:"Metrics",none:"None",number:"Number",percentage_raw:"Percentage (raw)",percentage_scaled:"Percentage (scaled)",temperature:"Temperature",currency:"Currency",custom_unit:"Custom unit"};var M2=(i=>(i.enUS="en-US",i.zhCN="zh-CN",i.zhTW="zh-TW",i.jaJP="ja-JP",i))(M2||{});const yRi={timeRange:"时间范围",custom:"自定义",today:"今天",last7Days:"过去7天",last30Days:"过去30天",last1Year:"过去1年",lastNUnits:"过去 {range} {unit}",periodAgoNUnits:"前 {range} {unit}",unitsecond:"秒",unitminute:"分",unithour:"时",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:"减少",second:"秒",minute:"分",hour:"时",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:"下钻",NoDrillDown:"暂无下钻维度",metricError:"指标数据获取失败",chartDataLoadingFailed:"数据加载失败",drillDataLoadingFailed:"下钻数据加载失败",DownloadImage:"下载图片",DownloadExcel:"下载 Excel",MetricDataFormat:"指标数据格式",fullscreen:"全屏",formatType:"格式类型",decimalPlaces:"小数位数",metrics:"指标",none:"无",number:"数字",percentage_raw:"百分比(原始)",percentage_scaled:"百分比(缩放)",temperature:"温度",currency:"货币",custom_unit:"自定义单位"},_Ri={timeRange:"時間範圍",custom:"自訂",today:"今天",last7Days:"過去7天",last30Days:"過去30天",last1Year:"過去1年",lastNUnits:"過去{last}{unit}",periodAgoNUnits:"前{range}{unit}",unitsecond:"秒",unitminute:"分",unithour:"時",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:"減少",second:"秒",minute:"分",hour:"時",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:"下钻",NoDrillDown:"暂无下钻维度",metricError:"指标数据获取失败",chartDataLoadingFailed:"数据加载失败",drillDataLoadingFailed:"下鑽數據加載失敗",DownloadImage:"下載圖片",DownloadExcel:"下載 Excel",MetricDataFormat:"指標數據格式",fullscreen:"全螢幕",formatType:"格式類型",decimalPlaces:"小數位數",metrics:"指標",none:"無",number:"數字",percentage_raw:"百分比(原始)",percentage_scaled:"百分比(縮放)",temperature:"溫度",currency:"貨幣",custom_unit:"自訂單位"},CRi={[M2.enUS]:ke({},bRi),[M2.zhCN]:ke({},yRi),[M2.zhTW]:ke({},_Ri)};var D5={},Cue={exports:{}},bQe;function tc(){return bQe||(bQe=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})(Cue)),Cue.exports}var P5={},yQe;function xRi(){if(yQe)return P5;yQe=1,Object.defineProperty(P5,"__esModule",{value:!0}),P5.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 P5.default=i,P5}var L5={},B5={},F5={},xue={exports:{}},Sue={exports:{}},wue={exports:{}},Eue={exports:{}},_Qe;function CQe(){return _Qe||(_Qe=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})(Eue)),Eue.exports}var Aue={exports:{}},xQe;function SRi(){return xQe||(xQe=1,(function(i){var e=CQe().default;function t(n,r){if(e(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var a=o.call(n,r||"default");if(e(a)!="object")return a;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})(Aue)),Aue.exports}var SQe;function wRi(){return SQe||(SQe=1,(function(i){var e=CQe().default,t=SRi();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})(wue)),wue.exports}var wQe;function ERi(){return wQe||(wQe=1,(function(i){var e=wRi();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})(Sue)),Sue.exports}var EQe;function hF(){return EQe||(EQe=1,(function(i){var e=ERi();function t(r,o){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);o&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),a.push.apply(a,s)}return a}function n(r){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{};o%2?t(Object(a),!0).forEach(function(s){e(r,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(a,s))})}return r}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports})(xue)),xue.exports}var N5={},AQe;function dF(){return AQe||(AQe=1,Object.defineProperty(N5,"__esModule",{value:!0}),N5.commonLocale=void 0,N5.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),N5}var TQe;function ARi(){if(TQe)return F5;TQe=1;var i=tc().default;Object.defineProperty(F5,"__esModule",{value:!0}),F5.default=void 0;var e=i(hF()),t=dF(),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 F5.default=n,F5}var H5={},RQe;function MQe(){if(RQe)return H5;RQe=1,Object.defineProperty(H5,"__esModule",{value:!0}),H5.default=void 0;const i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};return H5.default=i,H5}var kQe;function OQe(){if(kQe)return B5;kQe=1;var i=tc().default;Object.defineProperty(B5,"__esModule",{value:!0}),B5.default=void 0;var e=i(ARi()),t=i(MQe());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 B5.default=n,B5}var IQe;function TRi(){if(IQe)return L5;IQe=1;var i=tc().default;Object.defineProperty(L5,"__esModule",{value:!0}),L5.default=void 0;var e=i(OQe());return L5.default=e.default,L5}var DQe;function RRi(){if(DQe)return D5;DQe=1;var i=tc().default;Object.defineProperty(D5,"__esModule",{value:!0}),D5.default=void 0;var e=i(xRi()),t=i(TRi()),n=i(OQe()),r=i(MQe());const o="${label} is not a valid ${type}",a={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 D5.default=a,D5}var Tue,PQe;function MRi(){return PQe||(PQe=1,Tue=RRi()),Tue}var kRi=MRi();const ORi=Xr(kRi);var $5={},z5={},LQe;function IRi(){if(LQe)return z5;LQe=1,Object.defineProperty(z5,"__esModule",{value:!0}),z5.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 z5.default=i,z5}var W5={},V5={},j5={},BQe;function DRi(){if(BQe)return j5;BQe=1;var i=tc().default;Object.defineProperty(j5,"__esModule",{value:!0}),j5.default=void 0;var e=i(hF()),t=dF(),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 j5.default=n,j5}var U5={},FQe;function NQe(){if(FQe)return U5;FQe=1,Object.defineProperty(U5,"__esModule",{value:!0}),U5.default=void 0;const i={placeholder:"時間を選択",rangePlaceholder:["開始時間","終了時間"]};return U5.default=i,U5}var HQe;function $Qe(){if(HQe)return V5;HQe=1;var i=tc().default;Object.defineProperty(V5,"__esModule",{value:!0}),V5.default=void 0;var e=i(DRi()),t=i(NQe());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 V5.default=n,V5}var zQe;function PRi(){if(zQe)return W5;zQe=1;var i=tc().default;Object.defineProperty(W5,"__esModule",{value:!0}),W5.default=void 0;var e=i($Qe());return W5.default=e.default,W5}var WQe;function LRi(){if(WQe)return $5;WQe=1;var i=tc().default;Object.defineProperty($5,"__esModule",{value:!0}),$5.default=void 0;var e=i(IRi()),t=i(PRi()),n=i($Qe()),r=i(NQe());const o="${label}は有効な${type}ではありません",a={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 $5.default=a,$5}var Rue,VQe;function BRi(){return VQe||(VQe=1,Rue=LRi()),Rue}var FRi=BRi();const NRi=Xr(FRi);var G5={},q5={},jQe;function HRi(){if(jQe)return q5;jQe=1,Object.defineProperty(q5,"__esModule",{value:!0}),q5.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 q5.default=i,q5}var Y5={},X5={},K5={},UQe;function $Ri(){if(UQe)return K5;UQe=1;var i=tc().default;Object.defineProperty(K5,"__esModule",{value:!0}),K5.default=void 0;var e=i(hF()),t=dF(),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 K5.default=n,K5}var Z5={},GQe;function qQe(){if(GQe)return Z5;GQe=1,Object.defineProperty(Z5,"__esModule",{value:!0}),Z5.default=void 0;const i={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};return Z5.default=i,Z5}var YQe;function XQe(){if(YQe)return X5;YQe=1;var i=tc().default;Object.defineProperty(X5,"__esModule",{value:!0}),X5.default=void 0;var e=i($Ri()),t=i(qQe());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="确定",X5.default=n,X5}var KQe;function zRi(){if(KQe)return Y5;KQe=1;var i=tc().default;Object.defineProperty(Y5,"__esModule",{value:!0}),Y5.default=void 0;var e=i(XQe());return Y5.default=e.default,Y5}var ZQe;function WRi(){if(ZQe)return G5;ZQe=1;var i=tc().default;Object.defineProperty(G5,"__esModule",{value:!0}),G5.default=void 0;var e=i(HRi()),t=i(zRi()),n=i(XQe()),r=i(qQe());const o="${label}不是一个有效的${type}",a={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 G5.default=a,G5}var Mue,QQe;function VRi(){return QQe||(QQe=1,Mue=WRi()),Mue}var jRi=VRi();const URi=Xr(jRi);var Q5={},J5={},JQe;function GRi(){if(JQe)return J5;JQe=1,Object.defineProperty(J5,"__esModule",{value:!0}),J5.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 J5.default=i,J5}var e8={},t8={},i8={},eJe;function qRi(){if(eJe)return i8;eJe=1;var i=tc().default;Object.defineProperty(i8,"__esModule",{value:!0}),i8.default=void 0;var e=i(hF()),t=dF(),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 i8.default=n,i8}var n8={},tJe;function iJe(){if(tJe)return n8;tJe=1,Object.defineProperty(n8,"__esModule",{value:!0}),n8.default=void 0;const i={placeholder:"請選擇時間",rangePlaceholder:["開始時間","結束時間"]};return n8.default=i,n8}var nJe;function rJe(){if(nJe)return t8;nJe=1;var i=tc().default;Object.defineProperty(t8,"__esModule",{value:!0}),t8.default=void 0;var e=i(qRi()),t=i(iJe());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="確 定",t8.default=n,t8}var oJe;function YRi(){if(oJe)return e8;oJe=1;var i=tc().default;Object.defineProperty(e8,"__esModule",{value:!0}),e8.default=void 0;var e=i(rJe());return e8.default=e.default,e8}var aJe;function XRi(){if(aJe)return Q5;aJe=1;var i=tc().default;Object.defineProperty(Q5,"__esModule",{value:!0}),Q5.default=void 0;var e=i(GRi()),t=i(YRi()),n=i(rJe()),r=i(iJe());const o="${label}不是一個有效的${type}",a={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 Q5.default=a,Q5}var kue,sJe;function KRi(){return sJe||(sJe=1,kue=XRi()),kue}var ZRi=KRi();const QRi=Xr(ZRi),JRi={[M2.enUS]:ORi,[M2.zhCN]:URi,[M2.zhTW]:QRi,[M2.jaJP]:NRi};var fF={exports:{}},e9i=fF.exports,lJe;function t9i(){return lJe||(lJe=1,(function(i,e){(function(t,n){i.exports=n(P3e())})(e9i,(function(t){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}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(a,s){return s==="W"?a+"周":a+"日"},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(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return r.default.locale(o,null,!0),o}))})(fF)),fF.exports}t9i();const i9i=i=>{switch(i){case"zh-CN":Fr.locale("zh-cn");break}},n9i={light:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6",colorText:"#323233"}},dark:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6"}}},r9i=i=>{var s,l;const a=i,{children:e}=a,t=Rh(a,["children"]),n=ce.useMemo(()=>$xi(t),[t]),r=((s=n.common)==null?void 0:s.lang)||navigator.language||"zh-CN",o=((l=n.common)==null?void 0:l.theme)||"light";return i9i(r),we.jsx(u$e.Provider,{value:n,children:we.jsx(Z0i,{locale:r,messages:CRi[r],defaultLocale:"zh-CN",children:we.jsx(Yf,{theme:n9i[o],locale:JRi[r],children:e})})})};var o9i="*",a9i=(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]||[],a=this._events[o9i]||[],s=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)}};s(o),s(a)},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 lNi(){}function uNi(){}function uJe(i){const e=[],t=String(i||"");let n=t.indexOf(","),r=0,o=!1;for(;!o;){n===-1&&(n=t.length,o=!0);const a=t.slice(r,n).trim();(a||!o)&&e.push(a),r=n+1,n=t.indexOf(",",r)}return e}function cJe(i,e){const t={};return(i[i.length-1]===""?[...i,""]:i).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const s9i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l9i=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u9i={};function hJe(i,e){return(u9i.jsx?l9i:s9i).test(i)}const c9i=/[ \t\n\f\r]/g;function h9i(i){return typeof i=="object"?i.type==="text"?dJe(i.value):!1:dJe(i)}function dJe(i){return i.replace(c9i,"")===""}class r8{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}r8.prototype.normal={},r8.prototype.property={},r8.prototype.space=void 0;function fJe(i,e){const t={},n={};for(const r of i)Object.assign(t,r.property),Object.assign(n,r.normal);return new r8(t,n,e)}function o8(i){return i.toLowerCase()}class ld{constructor(e,t){this.attribute=t,this.property=e}}ld.prototype.attribute="",ld.prototype.booleanish=!1,ld.prototype.boolean=!1,ld.prototype.commaOrSpaceSeparated=!1,ld.prototype.commaSeparated=!1,ld.prototype.defined=!1,ld.prototype.mustUseProperty=!1,ld.prototype.number=!1,ld.prototype.overloadedBoolean=!1,ld.prototype.property="",ld.prototype.spaceSeparated=!1,ld.prototype.space=void 0;let d9i=0;const so=g_(),Dl=g_(),Oue=g_(),un=g_(),Ya=g_(),GS=g_(),Jd=g_();function g_(){return Eo(2,++d9i)}const Iue=Object.freeze(Object.defineProperty({__proto__:null,boolean:so,booleanish:Dl,commaOrSpaceSeparated:Jd,commaSeparated:GS,number:un,overloadedBoolean:Oue,spaceSeparated:Ya},Symbol.toStringTag,{value:"Module"})),Due=Object.keys(Iue);class Pue extends ld{constructor(e,t,n,r){let o=-1;if(super(e,t),gJe(this,"space",r),typeof n=="number")for(;++o<Due.length;){const a=Due[o];gJe(this,Due[o],(n&Iue[a])===Iue[a])}}}Pue.prototype.defined=!0;function gJe(i,e,t){t&&(i[e]=t)}function qS(i){const e={},t={};for(const[n,r]of Object.entries(i.properties)){const o=new Pue(n,i.transform(i.attributes||{},n),r,i.space);i.mustUseProperty&&i.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),e[n]=o,t[o8(n)]=n,t[o8(o.attribute)]=n}return new r8(e,t,i.space)}const pJe=qS({properties:{ariaActiveDescendant:null,ariaAtomic:Dl,ariaAutoComplete:null,ariaBusy:Dl,ariaChecked:Dl,ariaColCount:un,ariaColIndex:un,ariaColSpan:un,ariaControls:Ya,ariaCurrent:null,ariaDescribedBy:Ya,ariaDetails:null,ariaDisabled:Dl,ariaDropEffect:Ya,ariaErrorMessage:null,ariaExpanded:Dl,ariaFlowTo:Ya,ariaGrabbed:Dl,ariaHasPopup:null,ariaHidden:Dl,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ya,ariaLevel:un,ariaLive:null,ariaModal:Dl,ariaMultiLine:Dl,ariaMultiSelectable:Dl,ariaOrientation:null,ariaOwns:Ya,ariaPlaceholder:null,ariaPosInSet:un,ariaPressed:Dl,ariaReadOnly:Dl,ariaRelevant:null,ariaRequired:Dl,ariaRoleDescription:Ya,ariaRowCount:un,ariaRowIndex:un,ariaRowSpan:un,ariaSelected:Dl,ariaSetSize:un,ariaSort:null,ariaValueMax:un,ariaValueMin:un,ariaValueNow:un,ariaValueText:null,role:null},transform(i,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function mJe(i,e){return e in i?i[e]:e}function vJe(i,e){return mJe(i,e.toLowerCase())}const f9i=qS({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:GS,acceptCharset:Ya,accessKey:Ya,action:null,allow:null,allowFullScreen:so,allowPaymentRequest:so,allowUserMedia:so,alt:null,as:null,async:so,autoCapitalize:null,autoComplete:Ya,autoFocus:so,autoPlay:so,blocking:Ya,capture:null,charSet:null,checked:so,cite:null,className:Ya,cols:un,colSpan:null,content:null,contentEditable:Dl,controls:so,controlsList:Ya,coords:un|GS,crossOrigin:null,data:null,dateTime:null,decoding:null,default:so,defer:so,dir:null,dirName:null,disabled:so,download:Oue,draggable:Dl,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:so,formTarget:null,headers:Ya,height:un,hidden:Oue,high:un,href:null,hrefLang:null,htmlFor:Ya,httpEquiv:Ya,id:null,imageSizes:null,imageSrcSet:null,inert:so,inputMode:null,integrity:null,is:null,isMap:so,itemId:null,itemProp:Ya,itemRef:Ya,itemScope:so,itemType:Ya,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:so,low:un,manifest:null,max:null,maxLength:un,media:null,method:null,min:null,minLength:un,multiple:so,muted:so,name:null,nonce:null,noModule:so,noValidate:so,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:so,optimum:un,pattern:null,ping:Ya,placeholder:null,playsInline:so,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:so,referrerPolicy:null,rel:Ya,required:so,reversed:so,rows:un,rowSpan:un,sandbox:Ya,scope:null,scoped:so,seamless:so,selected:so,shadowRootClonable:so,shadowRootDelegatesFocus:so,shadowRootMode:null,shape:null,size:un,sizes:null,slot:null,span:un,spellCheck:Dl,src:null,srcDoc:null,srcLang:null,srcSet:null,start:un,step:null,style:null,tabIndex:un,target:null,title:null,translate:null,type:null,typeMustMatch:so,useMap:null,value:Dl,width:un,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ya,axis:null,background:null,bgColor:null,border:un,borderColor:null,bottomMargin:un,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:so,declare:so,event:null,face:null,frame:null,frameBorder:null,hSpace:un,leftMargin:un,link:null,longDesc:null,lowSrc:null,marginHeight:un,marginWidth:un,noResize:so,noHref:so,noShade:so,noWrap:so,object:null,profile:null,prompt:null,rev:null,rightMargin:un,rules:null,scheme:null,scrolling:Dl,standby:null,summary:null,text:null,topMargin:un,valueType:null,version:null,vAlign:null,vLink:null,vSpace:un,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:so,disableRemotePlayback:so,prefix:null,property:null,results:un,security:null,unselectable:null},space:"html",transform:vJe}),g9i=qS({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:Jd,accentHeight:un,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:un,amplitude:un,arabicForm:null,ascent:un,attributeName:null,attributeType:null,azimuth:un,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:un,by:null,calcMode:null,capHeight:un,className:Ya,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:un,diffuseConstant:un,direction:null,display:null,dur:null,divisor:un,dominantBaseline:null,download:so,dx:null,dy:null,edgeMode:null,editable:null,elevation:un,enableBackground:null,end:null,event:null,exponent:un,externalResourcesRequired:null,fill:null,fillOpacity:un,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:GS,g2:GS,glyphName:GS,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:un,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:un,horizOriginX:un,horizOriginY:un,id:null,ideographic:un,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:un,k:un,k1:un,k2:un,k3:un,k4:un,kernelMatrix:Jd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:un,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:un,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:un,overlineThickness:un,paintOrder:null,panose1:null,path:null,pathLength:un,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ya,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:un,pointsAtY:un,pointsAtZ:un,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Jd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Jd,rev:Jd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Jd,requiredFeatures:Jd,requiredFonts:Jd,requiredFormats:Jd,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:un,specularExponent:un,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:un,strikethroughThickness:un,string:null,stroke:null,strokeDashArray:Jd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:un,strokeOpacity:un,strokeWidth:null,style:null,surfaceScale:un,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Jd,tabIndex:un,tableValues:null,target:null,targetX:un,targetY:un,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Jd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:un,underlineThickness:un,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:un,values:null,vAlphabetic:un,vMathematical:un,vectorEffect:null,vHanging:un,vIdeographic:un,version:null,vertAdvY:un,vertOriginX:un,vertOriginY:un,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:un,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:mJe}),bJe=qS({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()}}),yJe=qS({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:vJe}),_Je=qS({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,e){return"xml:"+e.slice(3).toLowerCase()}}),p9i={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"},m9i=/[A-Z]/g,CJe=/-[a-z]/g,v9i=/^data[-\w.:]+$/i;function gF(i,e){const t=o8(e);let n=e,r=ld;if(t in i.normal)return i.property[i.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&v9i.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(CJe,y9i);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!CJe.test(o)){let a=o.replace(m9i,b9i);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}r=Pue}return new r(n,e)}function b9i(i){return"-"+i.toLowerCase()}function y9i(i){return i.charAt(1).toUpperCase()}const a8=fJe([pJe,f9i,bJe,yJe,_Je],"html"),k2=fJe([pJe,g9i,bJe,yJe,_Je],"svg");function xJe(i){const e=String(i||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function SJe(i){return i.join(" ").trim()}var YS={},Lue,wJe;function _9i(){if(wJe)return Lue;wJe=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,l=`
|
|
11486
|
+
`,gQe=({style:i})=>we.jsx(_ue,{className:"gpt-vis",style:i,children:we.jsx(Pae,{})}),pRi=({debug:i,loadingTimeout:e,loading:t,setLoading:n,style:r})=>{const o=ce.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?we.jsx(gQe,{style:r}):we.jsx(_ue,{className:"gpt-vis",style:r,children:we.jsx("p",{children:"Chart generation error."})})},pQe=ce.memo(({style:i,content:e,components:t,debug:n,loadingTimeout:r})=>{const[o,a]=ce.useState(!0),[s,l]=ce.useState(null),[u,c]=ce.useState(null),h=m=>Sa(null,null,function*(){try{let v=JSON.parse(m);qGt(v)&&(v=yield YGt(v),v.type||(v.type="bar")),l(v),a(!1)}catch(v){c(v)}});if(ce.useEffect(()=>{h(e)},[e]),u)return we.jsx(pRi,{loadingTimeout:r,debug:n,style:i,setLoading:a});if(o)return we.jsx(gQe,{style:i});n&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",s);const p=s,{className:d,chartStyle:f}=p,g=Rh(p,["className","chartStyle"]);return we.jsxs(_ue,{className:"gpt-vis",style:i,children:[we.jsx(gRi,{}),we.jsx(uqt,{chartProps:g,children:we.jsx(fRi,{className:d,chartStyle:f,components:t})})]})}),mRi=i=>{const o=i,{children:e,className:t="",node:n}=o,r=Rh(o,["children","className","node"]);return we.jsx("code",Wi(ke({},r),{className:t,children:e}))},vRi=i=>function(t){var m;const{children:n,className:r=""}=t,o=String(n).trim(),a=r.includes("language-vis-chart"),{components:s,languageRenderers:l,defaultRenderer:u,debug:c,loadingTimeout:h=5e3,style:d}=i;if(a)return we.jsx(pQe,{style:d,content:o,components:s,debug:c,loadingTimeout:h});const f=((m=r.match(/language-(.*)/))==null?void 0:m[1])||"",g=l,p=g&&g[f];return p?we.jsx(p,ke({},t)):u?we.jsx(u,ke({},t)):we.jsx(mRi,ke({},t))},mQe=i=>vRi(i),vQe=i=>mQe(Wi(ke({},i),{components:ke(ke({},Qy),rp(i,"components",{}))})),bRi={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",unitsecond:"second",unitminute:"minute",unithour:"hour",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",second:"Second",minute:"Minute",hour:"Hour",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",NoDrillDown:"No drill-down dimensions available",metricError:"Failed to fetch metric data",chartDataLoadingFailed:"Data loading failed",drillDataLoadingFailed:"Drill data loading failed",DownloadImage:"Download image",DownloadExcel:"Download excel",MetricDataFormat:"Metric data format",fullscreen:"Fullscreen",formatType:"Format type",decimalPlaces:"Decimal places",metrics:"Metrics",none:"None",number:"Number",percentage_raw:"Percentage (raw)",percentage_scaled:"Percentage (scaled)",temperature:"Temperature",currency:"Currency",custom_unit:"Custom unit"};var M2=(i=>(i.enUS="en-US",i.zhCN="zh-CN",i.zhTW="zh-TW",i.jaJP="ja-JP",i))(M2||{});const yRi={timeRange:"时间范围",custom:"自定义",today:"今天",last7Days:"过去7天",last30Days:"过去30天",last1Year:"过去1年",lastNUnits:"过去 {range} {unit}",periodAgoNUnits:"前 {range} {unit}",unitsecond:"秒",unitminute:"分",unithour:"时",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:"减少",second:"秒",minute:"分",hour:"时",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:"下钻",NoDrillDown:"暂无下钻维度",metricError:"指标数据获取失败",chartDataLoadingFailed:"数据加载失败",drillDataLoadingFailed:"下钻数据加载失败",DownloadImage:"下载图片",DownloadExcel:"下载 Excel",MetricDataFormat:"指标数据格式",fullscreen:"全屏",formatType:"格式类型",decimalPlaces:"小数位数",metrics:"指标",none:"无",number:"数字",percentage_raw:"百分比(原始)",percentage_scaled:"百分比(缩放)",temperature:"温度",currency:"货币",custom_unit:"自定义单位"},_Ri={timeRange:"時間範圍",custom:"自訂",today:"今天",last7Days:"過去7天",last30Days:"過去30天",last1Year:"過去1年",lastNUnits:"過去{last}{unit}",periodAgoNUnits:"前{range}{unit}",unitsecond:"秒",unitminute:"分",unithour:"時",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:"減少",second:"秒",minute:"分",hour:"時",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:"下钻",NoDrillDown:"暂无下钻维度",metricError:"指标数据获取失败",chartDataLoadingFailed:"数据加载失败",drillDataLoadingFailed:"下鑽數據加載失敗",DownloadImage:"下載圖片",DownloadExcel:"下載 Excel",MetricDataFormat:"指標數據格式",fullscreen:"全螢幕",formatType:"格式類型",decimalPlaces:"小數位數",metrics:"指標",none:"無",number:"數字",percentage_raw:"百分比(原始)",percentage_scaled:"百分比(縮放)",temperature:"溫度",currency:"貨幣",custom_unit:"自訂單位"},CRi={[M2.enUS]:ke({},bRi),[M2.zhCN]:ke({},yRi),[M2.zhTW]:ke({},_Ri)};var D5={},Cue={exports:{}},bQe;function tc(){return bQe||(bQe=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})(Cue)),Cue.exports}var P5={},yQe;function xRi(){if(yQe)return P5;yQe=1,Object.defineProperty(P5,"__esModule",{value:!0}),P5.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 P5.default=i,P5}var L5={},B5={},F5={},xue={exports:{}},Sue={exports:{}},wue={exports:{}},Eue={exports:{}},_Qe;function CQe(){return _Qe||(_Qe=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})(Eue)),Eue.exports}var Aue={exports:{}},xQe;function SRi(){return xQe||(xQe=1,(function(i){var e=CQe().default;function t(n,r){if(e(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var a=o.call(n,r||"default");if(e(a)!="object")return a;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})(Aue)),Aue.exports}var SQe;function wRi(){return SQe||(SQe=1,(function(i){var e=CQe().default,t=SRi();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})(wue)),wue.exports}var wQe;function ERi(){return wQe||(wQe=1,(function(i){var e=wRi();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})(Sue)),Sue.exports}var EQe;function hF(){return EQe||(EQe=1,(function(i){var e=ERi();function t(r,o){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);o&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),a.push.apply(a,s)}return a}function n(r){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{};o%2?t(Object(a),!0).forEach(function(s){e(r,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(a,s))})}return r}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports})(xue)),xue.exports}var N5={},AQe;function dF(){return AQe||(AQe=1,Object.defineProperty(N5,"__esModule",{value:!0}),N5.commonLocale=void 0,N5.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),N5}var TQe;function ARi(){if(TQe)return F5;TQe=1;var i=tc().default;Object.defineProperty(F5,"__esModule",{value:!0}),F5.default=void 0;var e=i(hF()),t=dF(),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 F5.default=n,F5}var H5={},RQe;function MQe(){if(RQe)return H5;RQe=1,Object.defineProperty(H5,"__esModule",{value:!0}),H5.default=void 0;const i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};return H5.default=i,H5}var kQe;function OQe(){if(kQe)return B5;kQe=1;var i=tc().default;Object.defineProperty(B5,"__esModule",{value:!0}),B5.default=void 0;var e=i(ARi()),t=i(MQe());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 B5.default=n,B5}var IQe;function TRi(){if(IQe)return L5;IQe=1;var i=tc().default;Object.defineProperty(L5,"__esModule",{value:!0}),L5.default=void 0;var e=i(OQe());return L5.default=e.default,L5}var DQe;function RRi(){if(DQe)return D5;DQe=1;var i=tc().default;Object.defineProperty(D5,"__esModule",{value:!0}),D5.default=void 0;var e=i(xRi()),t=i(TRi()),n=i(OQe()),r=i(MQe());const o="${label} is not a valid ${type}",a={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 D5.default=a,D5}var Tue,PQe;function MRi(){return PQe||(PQe=1,Tue=RRi()),Tue}var kRi=MRi();const ORi=Xr(kRi);var $5={},z5={},LQe;function IRi(){if(LQe)return z5;LQe=1,Object.defineProperty(z5,"__esModule",{value:!0}),z5.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 z5.default=i,z5}var W5={},V5={},j5={},BQe;function DRi(){if(BQe)return j5;BQe=1;var i=tc().default;Object.defineProperty(j5,"__esModule",{value:!0}),j5.default=void 0;var e=i(hF()),t=dF(),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 j5.default=n,j5}var U5={},FQe;function NQe(){if(FQe)return U5;FQe=1,Object.defineProperty(U5,"__esModule",{value:!0}),U5.default=void 0;const i={placeholder:"時間を選択",rangePlaceholder:["開始時間","終了時間"]};return U5.default=i,U5}var HQe;function $Qe(){if(HQe)return V5;HQe=1;var i=tc().default;Object.defineProperty(V5,"__esModule",{value:!0}),V5.default=void 0;var e=i(DRi()),t=i(NQe());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 V5.default=n,V5}var zQe;function PRi(){if(zQe)return W5;zQe=1;var i=tc().default;Object.defineProperty(W5,"__esModule",{value:!0}),W5.default=void 0;var e=i($Qe());return W5.default=e.default,W5}var WQe;function LRi(){if(WQe)return $5;WQe=1;var i=tc().default;Object.defineProperty($5,"__esModule",{value:!0}),$5.default=void 0;var e=i(IRi()),t=i(PRi()),n=i($Qe()),r=i(NQe());const o="${label}は有効な${type}ではありません",a={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 $5.default=a,$5}var Rue,VQe;function BRi(){return VQe||(VQe=1,Rue=LRi()),Rue}var FRi=BRi();const NRi=Xr(FRi);var G5={},q5={},jQe;function HRi(){if(jQe)return q5;jQe=1,Object.defineProperty(q5,"__esModule",{value:!0}),q5.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 q5.default=i,q5}var Y5={},X5={},K5={},UQe;function $Ri(){if(UQe)return K5;UQe=1;var i=tc().default;Object.defineProperty(K5,"__esModule",{value:!0}),K5.default=void 0;var e=i(hF()),t=dF(),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 K5.default=n,K5}var Z5={},GQe;function qQe(){if(GQe)return Z5;GQe=1,Object.defineProperty(Z5,"__esModule",{value:!0}),Z5.default=void 0;const i={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};return Z5.default=i,Z5}var YQe;function XQe(){if(YQe)return X5;YQe=1;var i=tc().default;Object.defineProperty(X5,"__esModule",{value:!0}),X5.default=void 0;var e=i($Ri()),t=i(qQe());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="确定",X5.default=n,X5}var KQe;function zRi(){if(KQe)return Y5;KQe=1;var i=tc().default;Object.defineProperty(Y5,"__esModule",{value:!0}),Y5.default=void 0;var e=i(XQe());return Y5.default=e.default,Y5}var ZQe;function WRi(){if(ZQe)return G5;ZQe=1;var i=tc().default;Object.defineProperty(G5,"__esModule",{value:!0}),G5.default=void 0;var e=i(HRi()),t=i(zRi()),n=i(XQe()),r=i(qQe());const o="${label}不是一个有效的${type}",a={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 G5.default=a,G5}var Mue,QQe;function VRi(){return QQe||(QQe=1,Mue=WRi()),Mue}var jRi=VRi();const URi=Xr(jRi);var Q5={},J5={},JQe;function GRi(){if(JQe)return J5;JQe=1,Object.defineProperty(J5,"__esModule",{value:!0}),J5.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 J5.default=i,J5}var e8={},t8={},i8={},eJe;function qRi(){if(eJe)return i8;eJe=1;var i=tc().default;Object.defineProperty(i8,"__esModule",{value:!0}),i8.default=void 0;var e=i(hF()),t=dF(),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 i8.default=n,i8}var n8={},tJe;function iJe(){if(tJe)return n8;tJe=1,Object.defineProperty(n8,"__esModule",{value:!0}),n8.default=void 0;const i={placeholder:"請選擇時間",rangePlaceholder:["開始時間","結束時間"]};return n8.default=i,n8}var nJe;function rJe(){if(nJe)return t8;nJe=1;var i=tc().default;Object.defineProperty(t8,"__esModule",{value:!0}),t8.default=void 0;var e=i(qRi()),t=i(iJe());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="確 定",t8.default=n,t8}var oJe;function YRi(){if(oJe)return e8;oJe=1;var i=tc().default;Object.defineProperty(e8,"__esModule",{value:!0}),e8.default=void 0;var e=i(rJe());return e8.default=e.default,e8}var aJe;function XRi(){if(aJe)return Q5;aJe=1;var i=tc().default;Object.defineProperty(Q5,"__esModule",{value:!0}),Q5.default=void 0;var e=i(GRi()),t=i(YRi()),n=i(rJe()),r=i(iJe());const o="${label}不是一個有效的${type}",a={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 Q5.default=a,Q5}var kue,sJe;function KRi(){return sJe||(sJe=1,kue=XRi()),kue}var ZRi=KRi();const QRi=Xr(ZRi),JRi={[M2.enUS]:ORi,[M2.zhCN]:URi,[M2.zhTW]:QRi,[M2.jaJP]:NRi};var fF={exports:{}},e9i=fF.exports,lJe;function t9i(){return lJe||(lJe=1,(function(i,e){(function(t,n){i.exports=n(P3e())})(e9i,(function(t){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}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(a,s){return s==="W"?a+"周":a+"日"},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(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return r.default.locale(o,null,!0),o}))})(fF)),fF.exports}t9i();const i9i=i=>{switch(i){case"zh-CN":Fr.locale("zh-cn");break}},n9i={light:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6",colorText:"#323233"}},dark:{token:{colorPrimary:"#008CD6",colorInfo:"#008cd6"}}},r9i=i=>{var s,l;const a=i,{children:e}=a,t=Rh(a,["children"]),n=ce.useMemo(()=>$xi(t),[t]),r=((s=n.common)==null?void 0:s.lang)||navigator.language||"zh-CN",o=((l=n.common)==null?void 0:l.theme)||"light";return i9i(r),we.jsx(u$e.Provider,{value:n,children:we.jsx(Z0i,{locale:r,messages:CRi[r],defaultLocale:"zh-CN",children:we.jsx(Yf,{theme:n9i[o],locale:JRi[r],prefixCls:"advt-vis-chart-antd",children:e})})})};var o9i="*",a9i=(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]||[],a=this._events[o9i]||[],s=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)}};s(o),s(a)},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 lNi(){}function uNi(){}function uJe(i){const e=[],t=String(i||"");let n=t.indexOf(","),r=0,o=!1;for(;!o;){n===-1&&(n=t.length,o=!0);const a=t.slice(r,n).trim();(a||!o)&&e.push(a),r=n+1,n=t.indexOf(",",r)}return e}function cJe(i,e){const t={};return(i[i.length-1]===""?[...i,""]:i).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const s9i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l9i=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u9i={};function hJe(i,e){return(u9i.jsx?l9i:s9i).test(i)}const c9i=/[ \t\n\f\r]/g;function h9i(i){return typeof i=="object"?i.type==="text"?dJe(i.value):!1:dJe(i)}function dJe(i){return i.replace(c9i,"")===""}class r8{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}r8.prototype.normal={},r8.prototype.property={},r8.prototype.space=void 0;function fJe(i,e){const t={},n={};for(const r of i)Object.assign(t,r.property),Object.assign(n,r.normal);return new r8(t,n,e)}function o8(i){return i.toLowerCase()}class ld{constructor(e,t){this.attribute=t,this.property=e}}ld.prototype.attribute="",ld.prototype.booleanish=!1,ld.prototype.boolean=!1,ld.prototype.commaOrSpaceSeparated=!1,ld.prototype.commaSeparated=!1,ld.prototype.defined=!1,ld.prototype.mustUseProperty=!1,ld.prototype.number=!1,ld.prototype.overloadedBoolean=!1,ld.prototype.property="",ld.prototype.spaceSeparated=!1,ld.prototype.space=void 0;let d9i=0;const so=g_(),Dl=g_(),Oue=g_(),un=g_(),Ya=g_(),GS=g_(),Jd=g_();function g_(){return Eo(2,++d9i)}const Iue=Object.freeze(Object.defineProperty({__proto__:null,boolean:so,booleanish:Dl,commaOrSpaceSeparated:Jd,commaSeparated:GS,number:un,overloadedBoolean:Oue,spaceSeparated:Ya},Symbol.toStringTag,{value:"Module"})),Due=Object.keys(Iue);class Pue extends ld{constructor(e,t,n,r){let o=-1;if(super(e,t),gJe(this,"space",r),typeof n=="number")for(;++o<Due.length;){const a=Due[o];gJe(this,Due[o],(n&Iue[a])===Iue[a])}}}Pue.prototype.defined=!0;function gJe(i,e,t){t&&(i[e]=t)}function qS(i){const e={},t={};for(const[n,r]of Object.entries(i.properties)){const o=new Pue(n,i.transform(i.attributes||{},n),r,i.space);i.mustUseProperty&&i.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),e[n]=o,t[o8(n)]=n,t[o8(o.attribute)]=n}return new r8(e,t,i.space)}const pJe=qS({properties:{ariaActiveDescendant:null,ariaAtomic:Dl,ariaAutoComplete:null,ariaBusy:Dl,ariaChecked:Dl,ariaColCount:un,ariaColIndex:un,ariaColSpan:un,ariaControls:Ya,ariaCurrent:null,ariaDescribedBy:Ya,ariaDetails:null,ariaDisabled:Dl,ariaDropEffect:Ya,ariaErrorMessage:null,ariaExpanded:Dl,ariaFlowTo:Ya,ariaGrabbed:Dl,ariaHasPopup:null,ariaHidden:Dl,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ya,ariaLevel:un,ariaLive:null,ariaModal:Dl,ariaMultiLine:Dl,ariaMultiSelectable:Dl,ariaOrientation:null,ariaOwns:Ya,ariaPlaceholder:null,ariaPosInSet:un,ariaPressed:Dl,ariaReadOnly:Dl,ariaRelevant:null,ariaRequired:Dl,ariaRoleDescription:Ya,ariaRowCount:un,ariaRowIndex:un,ariaRowSpan:un,ariaSelected:Dl,ariaSetSize:un,ariaSort:null,ariaValueMax:un,ariaValueMin:un,ariaValueNow:un,ariaValueText:null,role:null},transform(i,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function mJe(i,e){return e in i?i[e]:e}function vJe(i,e){return mJe(i,e.toLowerCase())}const f9i=qS({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:GS,acceptCharset:Ya,accessKey:Ya,action:null,allow:null,allowFullScreen:so,allowPaymentRequest:so,allowUserMedia:so,alt:null,as:null,async:so,autoCapitalize:null,autoComplete:Ya,autoFocus:so,autoPlay:so,blocking:Ya,capture:null,charSet:null,checked:so,cite:null,className:Ya,cols:un,colSpan:null,content:null,contentEditable:Dl,controls:so,controlsList:Ya,coords:un|GS,crossOrigin:null,data:null,dateTime:null,decoding:null,default:so,defer:so,dir:null,dirName:null,disabled:so,download:Oue,draggable:Dl,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:so,formTarget:null,headers:Ya,height:un,hidden:Oue,high:un,href:null,hrefLang:null,htmlFor:Ya,httpEquiv:Ya,id:null,imageSizes:null,imageSrcSet:null,inert:so,inputMode:null,integrity:null,is:null,isMap:so,itemId:null,itemProp:Ya,itemRef:Ya,itemScope:so,itemType:Ya,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:so,low:un,manifest:null,max:null,maxLength:un,media:null,method:null,min:null,minLength:un,multiple:so,muted:so,name:null,nonce:null,noModule:so,noValidate:so,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:so,optimum:un,pattern:null,ping:Ya,placeholder:null,playsInline:so,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:so,referrerPolicy:null,rel:Ya,required:so,reversed:so,rows:un,rowSpan:un,sandbox:Ya,scope:null,scoped:so,seamless:so,selected:so,shadowRootClonable:so,shadowRootDelegatesFocus:so,shadowRootMode:null,shape:null,size:un,sizes:null,slot:null,span:un,spellCheck:Dl,src:null,srcDoc:null,srcLang:null,srcSet:null,start:un,step:null,style:null,tabIndex:un,target:null,title:null,translate:null,type:null,typeMustMatch:so,useMap:null,value:Dl,width:un,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ya,axis:null,background:null,bgColor:null,border:un,borderColor:null,bottomMargin:un,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:so,declare:so,event:null,face:null,frame:null,frameBorder:null,hSpace:un,leftMargin:un,link:null,longDesc:null,lowSrc:null,marginHeight:un,marginWidth:un,noResize:so,noHref:so,noShade:so,noWrap:so,object:null,profile:null,prompt:null,rev:null,rightMargin:un,rules:null,scheme:null,scrolling:Dl,standby:null,summary:null,text:null,topMargin:un,valueType:null,version:null,vAlign:null,vLink:null,vSpace:un,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:so,disableRemotePlayback:so,prefix:null,property:null,results:un,security:null,unselectable:null},space:"html",transform:vJe}),g9i=qS({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:Jd,accentHeight:un,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:un,amplitude:un,arabicForm:null,ascent:un,attributeName:null,attributeType:null,azimuth:un,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:un,by:null,calcMode:null,capHeight:un,className:Ya,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:un,diffuseConstant:un,direction:null,display:null,dur:null,divisor:un,dominantBaseline:null,download:so,dx:null,dy:null,edgeMode:null,editable:null,elevation:un,enableBackground:null,end:null,event:null,exponent:un,externalResourcesRequired:null,fill:null,fillOpacity:un,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:GS,g2:GS,glyphName:GS,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:un,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:un,horizOriginX:un,horizOriginY:un,id:null,ideographic:un,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:un,k:un,k1:un,k2:un,k3:un,k4:un,kernelMatrix:Jd,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:un,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:un,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:un,overlineThickness:un,paintOrder:null,panose1:null,path:null,pathLength:un,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ya,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:un,pointsAtY:un,pointsAtZ:un,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Jd,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Jd,rev:Jd,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Jd,requiredFeatures:Jd,requiredFonts:Jd,requiredFormats:Jd,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:un,specularExponent:un,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:un,strikethroughThickness:un,string:null,stroke:null,strokeDashArray:Jd,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:un,strokeOpacity:un,strokeWidth:null,style:null,surfaceScale:un,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Jd,tabIndex:un,tableValues:null,target:null,targetX:un,targetY:un,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Jd,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:un,underlineThickness:un,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:un,values:null,vAlphabetic:un,vMathematical:un,vectorEffect:null,vHanging:un,vIdeographic:un,version:null,vertAdvY:un,vertOriginX:un,vertOriginY:un,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:un,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:mJe}),bJe=qS({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()}}),yJe=qS({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:vJe}),_Je=qS({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,e){return"xml:"+e.slice(3).toLowerCase()}}),p9i={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"},m9i=/[A-Z]/g,CJe=/-[a-z]/g,v9i=/^data[-\w.:]+$/i;function gF(i,e){const t=o8(e);let n=e,r=ld;if(t in i.normal)return i.property[i.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&v9i.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(CJe,y9i);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!CJe.test(o)){let a=o.replace(m9i,b9i);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}r=Pue}return new r(n,e)}function b9i(i){return"-"+i.toLowerCase()}function y9i(i){return i.charAt(1).toUpperCase()}const a8=fJe([pJe,f9i,bJe,yJe,_Je],"html"),k2=fJe([pJe,g9i,bJe,yJe,_Je],"svg");function xJe(i){const e=String(i||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function SJe(i){return i.join(" ").trim()}var YS={},Lue,wJe;function _9i(){if(wJe)return Lue;wJe=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,l=`
|
|
11487
11487
|
`,u="/",c="*",h="",d="comment",f="declaration";function g(m,v){if(typeof m!="string")throw new TypeError("First argument must be a string");if(!m)return[];v=v||{};var b=1,y=1;function _(I){var L=I.match(e);L&&(b+=L.length);var F=I.lastIndexOf(l);y=~F?I.length-F:y+I.length}function S(){var I={line:b,column:y};return function(L){return L.position=new x(I),A(),L}}function x(I){this.start=I,this.end={line:b,column:y},this.source=v.source}x.prototype.content=m;function w(I){var L=new Error(v.source+":"+b+":"+y+": "+I);if(L.reason=I,L.filename=v.source,L.line=b,L.column=y,L.source=m,!v.silent)throw L}function E(I){var L=I.exec(m);if(L){var F=L[0];return _(F),m=m.slice(F.length),L}}function A(){E(t)}function T(I){var L;for(I=I||[];L=R();)L!==!1&&I.push(L);return I}function R(){var I=S();if(!(u!=m.charAt(0)||c!=m.charAt(1))){for(var L=2;h!=m.charAt(L)&&(c!=m.charAt(L)||u!=m.charAt(L+1));)++L;if(L+=2,h===m.charAt(L-1))return w("End of comment missing");var F=m.slice(2,L-2);return y+=2,_(F),m=m.slice(L),y+=2,I({type:d,comment:F})}}function k(){var I=S(),L=E(n);if(L){if(R(),!E(r))return w("property missing ':'");var F=E(o),V=I({type:f,property:p(L[0].replace(i,h)),value:F?p(F[0].replace(i,h)):h});return E(a),V}}function O(){var I=[];T(I);for(var L;L=k();)L!==!1&&(I.push(L),T(I));return I}return A(),O()}function p(m){return m?m.replace(s,h):h}return Lue=g,Lue}var EJe;function C9i(){if(EJe)return YS;EJe=1;var i=YS&&YS.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(YS,"__esModule",{value:!0}),YS.default=t;const e=i(_9i());function t(n,r){let o=null;if(!n||typeof n!="string")return o;const a=(0,e.default)(n),s=typeof r=="function";return a.forEach(l=>{if(l.type!=="declaration")return;const{property:u,value:c}=l;s?r(u,c,l):c&&(o=o||{},o[u]=c)}),o}return YS}var s8={},AJe;function x9i(){if(AJe)return s8;AJe=1,Object.defineProperty(s8,"__esModule",{value:!0}),s8.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)},a=function(u,c){return c.toUpperCase()},s=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,s):u=u.replace(n,s),u.replace(e,a))};return s8.camelCase=l,s8}var l8,TJe;function S9i(){if(TJe)return l8;TJe=1;var i=l8&&l8.__importDefault||function(r){return r&&r.__esModule?r:{default:r}},e=i(C9i()),t=x9i();function n(r,o){var a={};return!r||typeof r!="string"||(0,e.default)(r,function(s,l){s&&l&&(a[(0,t.camelCase)(s,o)]=l)}),a}return n.default=n,l8=n,l8}var w9i=S9i();const E9i=Xr(w9i),pF=RJe("end"),jp=RJe("start");function RJe(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 A9i(i){const e=jp(i),t=pF(i);if(e&&t)return{start:e,end:t}}function u8(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?MJe(i.position):"start"in i||"end"in i?MJe(i):"line"in i||"column"in i?Bue(i):""}function Bue(i){return kJe(i&&i.line)+":"+kJe(i&&i.column)}function MJe(i){return Bue(i&&i.start)+"-"+Bue(i&&i.end)}function kJe(i){return i&&typeof i=="number"?i:1}class ic extends Error{constructor(e,t,n){super(),typeof t=="string"&&(n=t,t=void 0);let r="",o={},a=!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=ke({},t)),typeof e=="string"?r=e:!o.cause&&e&&(a=!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 s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=u8(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=a&&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}}ic.prototype.file="",ic.prototype.name="",ic.prototype.reason="",ic.prototype.message="",ic.prototype.stack="",ic.prototype.column=void 0,ic.prototype.line=void 0,ic.prototype.ancestors=void 0,ic.prototype.cause=void 0,ic.prototype.fatal=void 0,ic.prototype.place=void 0,ic.prototype.ruleId=void 0,ic.prototype.source=void 0;const Fue={}.hasOwnProperty,T9i=new Map,R9i=/[A-Z]/g,M9i=new Set(["table","tbody","thead","tfoot","tr"]),k9i=new Set(["td","th"]),OJe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function O9i(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=H9i(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=N9i(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"?k2:a8,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},o=IJe(r,i,void 0);return o&&typeof o!="string"?o:r.create(i,r.Fragment,{children:o||void 0},void 0)}function IJe(i,e,t){if(e.type==="element")return I9i(i,e,t);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return D9i(i,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return L9i(i,e,t);if(e.type==="mdxjsEsm")return P9i(i,e);if(e.type==="root")return B9i(i,e,t);if(e.type==="text")return F9i(i,e)}function I9i(i,e,t){const n=i.schema;let r=n;e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=k2,i.schema=r),i.ancestors.push(e);const o=PJe(i,e.tagName,!1),a=$9i(i,e);let s=Hue(i,e);return M9i.has(e.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!h9i(l):!0})),DJe(i,a,o,e),Nue(a,s),i.ancestors.pop(),i.schema=n,i.create(e,o,a,t)}function D9i(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)}c8(i,e.position)}function P9i(i,e){if(e.data&&e.data.estree&&i.evaluater)return i.evaluater.evaluateProgram(e.data.estree);c8(i,e.position)}function L9i(i,e,t){const n=i.schema;let r=n;e.name==="svg"&&n.space==="html"&&(r=k2,i.schema=r),i.ancestors.push(e);const o=e.name===null?i.Fragment:PJe(i,e.name,!0),a=z9i(i,e),s=Hue(i,e);return DJe(i,a,o,e),Nue(a,s),i.ancestors.pop(),i.schema=n,i.create(e,o,a,t)}function B9i(i,e,t){const n={};return Nue(n,Hue(i,e)),i.create(e,i.Fragment,n,t)}function F9i(i,e){return e.value}function DJe(i,e,t,n){typeof t!="string"&&t!==i.Fragment&&i.passNode&&(e.node=n)}function Nue(i,e){if(e.length>0){const t=e.length>1?e:e[0];t&&(i.children=t)}}function N9i(i,e,t){return n;function n(r,o,a,s){const u=Array.isArray(a.children)?t:e;return s?u(o,a,s):u(o,a)}}function H9i(i,e){return t;function t(n,r,o,a){const s=Array.isArray(o.children),l=jp(n);return e(r,o,a,s,{columnNumber:l?l.column-1:void 0,fileName:i,lineNumber:l?l.line:void 0},void 0)}}function $9i(i,e){const t={};let n,r;for(r in e.properties)if(r!=="children"&&Fue.call(e.properties,r)){const o=W9i(i,r,e.properties[r]);if(o){const[a,s]=o;i.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&k9i.has(e.tagName)?n=s:t[a]=s}}if(n){const o=t.style||(t.style={});o[i.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return t}function z9i(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 a=o.expression;a.type;const s=a.properties[0];s.type,Object.assign(t,i.evaluater.evaluateExpression(s.argument))}else c8(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 s=n.value.data.estree.body[0];s.type,o=i.evaluater.evaluateExpression(s.expression)}else c8(i,e.position);else o=n.value===null?!0:n.value;t[r]=o}return t}function Hue(i,e){const t=[];let n=-1;const r=i.passKeys?new Map:T9i;for(;++n<e.children.length;){const o=e.children[n];let a;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;a=l+"-"+u,r.set(l,u+1)}}const s=IJe(i,o,a);s!==void 0&&t.push(s)}return t}function W9i(i,e,t){const n=gF(i.schema,e);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=n.commaSeparated?cJe(t):SJe(t)),n.property==="style"){let r=typeof t=="object"?t:V9i(i,String(t));return i.stylePropertyNameCase==="css"&&(r=j9i(r)),["style",r]}return[i.elementAttributeNameCase==="react"&&n.space?p9i[n.property]||n.property:n.attribute,t]}}function V9i(i,e){try{return E9i(e,{reactCompat:!0})}catch(t){if(i.ignoreInvalidStyle)return{};const n=t,r=new ic("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=OJe+"#cannot-parse-style-attribute",r}}function PJe(i,e,t){let n;if(!t)n={type:"Literal",value:e};else if(e.includes(".")){const r=e.split(".");let o=-1,a;for(;++o<r.length;){const s=hJe(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};a=a?{type:"MemberExpression",object:a,property:s,computed:!!(o&&s.type==="Literal"),optional:!1}:s}n=a}else n=hJe(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(n.type==="Literal"){const r=n.value;return Fue.call(i.components,r)?i.components[r]:r}if(i.evaluater)return i.evaluater.evaluateExpression(n);c8(i)}function c8(i,e){const t=new ic("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=OJe+"#cannot-handle-mdx-estrees-without-createevaluater",t}function j9i(i){const e={};let t;for(t in i)Fue.call(i,t)&&(e[U9i(t)]=i[t]);return e}function U9i(i){let e=i.replace(R9i,G9i);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function G9i(i){return"-"+i.toLowerCase()}const $ue={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"]},q9i={};function zue(i,e){const t=q9i,n=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,r=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return LJe(i,n,r)}function LJe(i,e,t){if(Y9i(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 BJe(i.children,e,t)}return Array.isArray(i)?BJe(i,e,t):""}function BJe(i,e,t){const n=[];let r=-1;for(;++r<i.length;)n[r]=LJe(i[r],e,t);return n.join("")}function Y9i(i){return!!(i&&typeof i=="object")}const FJe=document.createElement("i");function Wue(i){const e="&"+i+";";FJe.innerHTML=e;const t=FJe.textContent;return t.charCodeAt(t.length-1)===59&&i!=="semi"||t===e?!1:t}function ef(i,e,t,n){const r=i.length;let o=0,a;if(e<0?e=-e>r?0:r+e:e=e>r?r:e,t=t>0?t:0,n.length<1e4)a=Array.from(n),a.unshift(e,t),i.splice(...a);else for(t&&i.splice(e,t);o<n.length;)a=n.slice(o,o+1e4),a.unshift(e,0),i.splice(...a),o+=1e4,e+=1e4}function C0(i,e){return i.length>0?(ef(i,i.length,0,e),i):e}const NJe={}.hasOwnProperty;function HJe(i){const e={};let t=-1;for(;++t<i.length;)X9i(e,i[t]);return e}function X9i(i,e){let t;for(t in e){const r=(NJe.call(i,t)?i[t]:void 0)||(i[t]={}),o=e[t];let a;if(o)for(a in o){NJe.call(r,a)||(r[a]=[]);const s=o[a];K9i(r[a],Array.isArray(s)?s:s?[s]:[])}}}function K9i(i,e){let t=-1;const n=[];for(;++t<e.length;)(e[t].add==="after"?i:n).push(e[t]);ef(i,0,0,n)}function $Je(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 Rg(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Oc=O2(/[A-Za-z]/),nc=O2(/[\dA-Za-z]/),Z9i=O2(/[#-'*+\--9=?A-Z^-~]/);function mF(i){return i!==null&&(i<32||i===127)}const Vue=O2(/\d/),Q9i=O2(/[\dA-Fa-f]/),J9i=O2(/[!-/:-@[-`{-~]/);function kr(i){return i!==null&&i<-2}function Fa(i){return i!==null&&(i<0||i===32)}function Ro(i){return i===-2||i===-1||i===32}const vF=O2(new RegExp("\\p{P}|\\p{S}","u")),p_=O2(/\s/);function O2(i){return e;function e(t){return t!==null&&t>-1&&i.test(String.fromCharCode(t))}}function XS(i){const e=[];let t=-1,n=0,r=0;for(;++t<i.length;){const o=i.charCodeAt(t);let a="";if(o===37&&nc(i.charCodeAt(t+1))&&nc(i.charCodeAt(t+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const s=i.charCodeAt(t+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),r=1):a="�"}else a=String.fromCharCode(o);a&&(e.push(i.slice(n,t),encodeURIComponent(a)),n=t+r+1,a=""),r&&(t+=r,r=0)}return e.join("")+i.slice(n)}function Ko(i,e,t,n){const r=n?n-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(l){return Ro(l)?(i.enter(t),s(l)):e(l)}function s(l){return Ro(l)&&o++<r?(i.consume(l),s):(i.exit(t),e(l))}}const e7i={tokenize:t7i};function t7i(i){const e=i.attempt(this.parser.constructs.contentInitial,n,r);let t;return e;function n(s){if(s===null){i.consume(s);return}return i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),Ko(i,e,"linePrefix")}function r(s){return i.enter("paragraph"),o(s)}function o(s){const l=i.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=l),t=l,a(s)}function a(s){if(s===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(s);return}return kr(s)?(i.consume(s),i.exit("chunkText"),o):(i.consume(s),a)}}const i7i={tokenize:n7i},zJe={tokenize:r7i};function n7i(i){const e=this,t=[];let n=0,r,o,a;return s;function s(y){if(n<t.length){const _=t[n];return e.containerState=_[1],i.attempt(_[0].continuation,l,u)(y)}return u(y)}function l(y){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&b();const _=e.events.length;let S=_,x;for(;S--;)if(e.events[S][0]==="exit"&&e.events[S][1].type==="chunkFlow"){x=e.events[S][1].end;break}v(n);let w=_;for(;w<e.events.length;)e.events[w][1].end=ke({},x),w++;return ef(e.events,S+1,0,e.events.slice(_)),e.events.length=w,u(y)}return s(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(zJe,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,a=e.now().offset,g(y)}function d(y){return e.containerState={},i.attempt(zJe,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 kr(y)?(i.consume(y),m(i.exit("chunkFlow")),n=0,e.interrupt=void 0,s):(i.consume(y),p)}function m(y,_){const S=e.sliceStream(y);if(_&&S.push(null),y.previous=o,o&&(o.next=y),o=y,r.defineSkip(y.start),r.write(S),e.parser.lazy[y.start.line]){let x=r.events.length;for(;x--;)if(r.events[x][1].start.offset<a&&(!r.events[x][1].end||r.events[x][1].end.offset>a))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),x=w;x<e.events.length;)e.events[x][1].end=ke({},T),x++;ef(e.events,E+1,0,e.events.slice(w)),e.events.length=x}}function v(y){let _=t.length;for(;_-- >y;){const S=t[_];e.containerState=S[1],S[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 r7i(i,e,t){return Ko(i,i.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function KS(i){if(i===null||Fa(i)||p_(i))return 1;if(vF(i))return 2}function bF(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 jue={name:"attention",resolveAll:o7i,tokenize:a7i};function o7i(i,e){let t=-1,n,r,o,a,s,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=ke({},i[n][1].end),d=ke({},i[t][1].start);WJe(h,-l),WJe(d,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:ke({},i[n][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:ke({},i[t][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:ke({},i[n][1].end),end:ke({},i[t][1].start)},r={type:l>1?"strong":"emphasis",start:ke({},a.start),end:ke({},s.end)},i[n][1].end=ke({},a.start),i[t][1].start=ke({},s.end),u=[],i[n][1].end.offset-i[n][1].start.offset&&(u=C0(u,[["enter",i[n][1],e],["exit",i[n][1],e]])),u=C0(u,[["enter",r,e],["enter",a,e],["exit",a,e],["enter",o,e]]),u=C0(u,bF(e.parser.constructs.insideSpan.null,i.slice(n+1,t),e)),u=C0(u,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",r,e]]),i[t][1].end.offset-i[t][1].start.offset?(c=2,u=C0(u,[["enter",i[t][1],e],["exit",i[t][1],e]])):c=0,ef(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 a7i(i,e){const t=this.parser.constructs.attentionMarkers.null,n=this.previous,r=KS(n);let o;return a;function a(l){return o=l,i.enter("attentionSequence"),s(l)}function s(l){if(l===o)return i.consume(l),s;const u=i.exit("attentionSequence"),c=KS(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 WJe(i,e){i.column+=e,i.offset+=e,i._bufferIndex+=e}const s7i={name:"autolink",tokenize:l7i};function l7i(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 Oc(f)?(i.consume(f),a):f===64?t(f):u(f)}function a(f){return f===43||f===45||f===46||nc(f)?(n=1,s(f)):u(f)}function s(f){return f===58?(i.consume(f),n=0,l):(f===43||f===45||f===46||nc(f))&&n++<32?(i.consume(f),s):(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||mF(f)?t(f):(i.consume(f),l)}function u(f){return f===64?(i.consume(f),c):Z9i(f)?(i.consume(f),u):t(f)}function c(f){return nc(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||nc(f))&&n++<63){const g=f===45?d:h;return i.consume(f),g}return t(f)}}const h8={partial:!0,tokenize:u7i};function u7i(i,e,t){return n;function n(o){return Ro(o)?Ko(i,r,"linePrefix")(o):r(o)}function r(o){return o===null||kr(o)?e(o):t(o)}}const VJe={continuation:{tokenize:h7i},exit:d7i,name:"blockQuote",tokenize:c7i};function c7i(i,e,t){const n=this;return r;function r(a){if(a===62){const s=n.containerState;return s.open||(i.enter("blockQuote",{_container:!0}),s.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(a),i.exit("blockQuoteMarker"),o}return t(a)}function o(a){return Ro(a)?(i.enter("blockQuotePrefixWhitespace"),i.consume(a),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),e):(i.exit("blockQuotePrefix"),e(a))}}function h7i(i,e,t){const n=this;return r;function r(a){return Ro(a)?Ko(i,o,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return i.attempt(VJe,e,t)(a)}}function d7i(i){i.exit("blockQuote")}const jJe={name:"characterEscape",tokenize:f7i};function f7i(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 J9i(o)?(i.enter("characterEscapeValue"),i.consume(o),i.exit("characterEscapeValue"),i.exit("characterEscape"),e):t(o)}}const UJe={name:"characterReference",tokenize:g7i};function g7i(i,e,t){const n=this;let r=0,o,a;return s;function s(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,a=nc,c(h))}function u(h){return h===88||h===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(h),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),o=6,a=Q9i,c):(i.enter("characterReferenceValue"),o=7,a=Vue,c(h))}function c(h){if(h===59&&r){const d=i.exit("characterReferenceValue");return a===nc&&!Wue(n.sliceSerialize(d))?t(h):(i.enter("characterReferenceMarker"),i.consume(h),i.exit("characterReferenceMarker"),i.exit("characterReference"),e)}return a(h)&&r++<o?(i.consume(h),c):t(h)}}const GJe={partial:!0,tokenize:m7i},qJe={concrete:!0,name:"codeFenced",tokenize:p7i};function p7i(i,e,t){const n=this,r={partial:!0,tokenize:S};let o=0,a=0,s;return l;function l(x){return u(x)}function u(x){const w=n.events[n.events.length-1];return o=w&&w[1].type==="linePrefix"?w[2].sliceSerialize(w[1],!0).length:0,s=x,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===s?(a++,i.consume(x),c):a<3?t(x):(i.exit("codeFencedFenceSequence"),Ro(x)?Ko(i,h,"whitespace")(x):h(x))}function h(x){return x===null||kr(x)?(i.exit("codeFencedFence"),n.interrupt?e(x):i.check(GJe,p,_)(x)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===null||kr(x)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),h(x)):Ro(x)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),Ko(i,f,"whitespace")(x)):x===96&&x===s?t(x):(i.consume(x),d)}function f(x){return x===null||kr(x)?h(x):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===null||kr(x)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),h(x)):x===96&&x===s?t(x):(i.consume(x),g)}function p(x){return i.attempt(r,_,m)(x)}function m(x){return i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),v}function v(x){return o>0&&Ro(x)?Ko(i,b,"linePrefix",o+1)(x):b(x)}function b(x){return x===null||kr(x)?i.check(GJe,p,_)(x):(i.enter("codeFlowValue"),y(x))}function y(x){return x===null||kr(x)?(i.exit("codeFlowValue"),b(x)):(i.consume(x),y)}function _(x){return i.exit("codeFenced"),e(x)}function S(x,w,E){let A=0;return T;function T(L){return x.enter("lineEnding"),x.consume(L),x.exit("lineEnding"),R}function R(L){return x.enter("codeFencedFence"),Ro(L)?Ko(x,k,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):k(L)}function k(L){return L===s?(x.enter("codeFencedFenceSequence"),O(L)):E(L)}function O(L){return L===s?(A++,x.consume(L),O):A>=a?(x.exit("codeFencedFenceSequence"),Ro(L)?Ko(x,I,"whitespace")(L):I(L)):E(L)}function I(L){return L===null||kr(L)?(x.exit("codeFencedFence"),w(L)):E(L)}}}function m7i(i,e,t){const n=this;return r;function r(a){return a===null?t(a):(i.enter("lineEnding"),i.consume(a),i.exit("lineEnding"),o)}function o(a){return n.parser.lazy[n.now().line]?t(a):e(a)}}const Uue={name:"codeIndented",tokenize:b7i},v7i={partial:!0,tokenize:y7i};function b7i(i,e,t){const n=this;return r;function r(u){return i.enter("codeIndented"),Ko(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?a(u):t(u)}function a(u){return u===null?l(u):kr(u)?i.attempt(v7i,a,l)(u):(i.enter("codeFlowValue"),s(u))}function s(u){return u===null||kr(u)?(i.exit("codeFlowValue"),a(u)):(i.consume(u),s)}function l(u){return i.exit("codeIndented"),e(u)}}function y7i(i,e,t){const n=this;return r;function r(a){return n.parser.lazy[n.now().line]?t(a):kr(a)?(i.enter("lineEnding"),i.consume(a),i.exit("lineEnding"),r):Ko(i,o,"linePrefix",5)(a)}function o(a){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):kr(a)?r(a):t(a)}}const _7i={name:"codeText",previous:x7i,resolve:C7i,tokenize:S7i};function C7i(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 x7i(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function S7i(i,e,t){let n=0,r,o;return a;function a(h){return i.enter("codeText"),i.enter("codeTextSequence"),s(h)}function s(h){return h===96?(i.consume(h),n++,s):(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)):kr(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||kr(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 w7i{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&&d8(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),d8(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),d8(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);d8(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);d8(this.left,t.reverse())}}}function d8(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 YJe(i){const e={};let t=-1,n,r,o,a,s,l,u;const c=new w7i(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,E7i(c,t)),t=e[t],u=!0);else if(n[1]._container){for(o=t,r=void 0;o--;)if(a=c.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(r&&(c.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=o);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;r&&(n[1].end=ke({},c.get(r)[1].start),s=c.slice(r,t),s.unshift(n),c.splice(r,t-r+1,s))}}return ef(i,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function E7i(i,e){const t=i.get(e)[1],n=i.get(e)[2];let r=e-1;const o=[];let a=t._tokenizer;a||(a=n.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const s=a.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&&a.defineSkip(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=t;++d<s.length;)s[d][0]==="exit"&&s[d-1][0]==="enter"&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(p=d+1,m.push(p),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):m.pop(),d=m.length;d--;){const v=s.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 A7i={resolve:R7i,tokenize:M7i},T7i={partial:!0,tokenize:k7i};function R7i(i){return YJe(i),i}function M7i(i,e){let t;return n;function n(s){return i.enter("content"),t=i.enter("chunkContent",{contentType:"content"}),r(s)}function r(s){return s===null?o(s):kr(s)?i.check(T7i,a,o)(s):(i.consume(s),r)}function o(s){return i.exit("chunkContent"),i.exit("content"),e(s)}function a(s){return i.consume(s),i.exit("chunkContent"),t.next=i.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}}function k7i(i,e,t){const n=this;return r;function r(a){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(a),i.exit("lineEnding"),Ko(i,o,"linePrefix")}function o(a){if(a===null||kr(a))return t(a);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):i.interrupt(n.parser.constructs.flow,t,e)(a)}}function XJe(i,e,t,n,r,o,a,s,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||mF(v)?t(v):(i.enter(n),i.enter(a),i.enter(s),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(s),i.enter("chunkString",{contentType:"string"}),f(v))}function f(v){return v===62?(i.exit("chunkString"),i.exit(s),d(v)):v===null||v===60||kr(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||Fa(v))?(i.exit("chunkString"),i.exit(s),i.exit(a),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||mF(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 KJe(i,e,t,n,r,o){const a=this;let s=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 s>999||f===null||f===91||f===93&&!l||f===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?t(f):f===93?(i.exit(o),i.enter(r),i.consume(f),i.exit(r),i.exit(n),e):kr(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||kr(f)||s++>999?(i.exit("chunkString"),c(f)):(i.consume(f),l||(l=!Ro(f)),f===92?d:h)}function d(f){return f===91||f===92||f===93?(i.consume(f),s++,h):h(f)}}function ZJe(i,e,t,n,r,o){let a;return s;function s(d){return d===34||d===39||d===40?(i.enter(n),i.enter(r),i.consume(d),i.exit(r),a=d===40?41:d,l):t(d)}function l(d){return d===a?(i.enter(r),i.consume(d),i.exit(r),i.exit(n),e):(i.enter(o),u(d))}function u(d){return d===a?(i.exit(o),l(a)):d===null?t(d):kr(d)?(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),Ko(i,u,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===a||d===null||kr(d)?(i.exit("chunkString"),u(d)):(i.consume(d),d===92?h:c)}function h(d){return d===a||d===92?(i.consume(d),c):c(d)}}function f8(i,e){let t;return n;function n(r){return kr(r)?(i.enter("lineEnding"),i.consume(r),i.exit("lineEnding"),t=!0,n):Ro(r)?Ko(i,n,t?"linePrefix":"lineSuffix")(r):e(r)}}const O7i={name:"definition",tokenize:D7i},I7i={partial:!0,tokenize:P7i};function D7i(i,e,t){const n=this;let r;return o;function o(f){return i.enter("definition"),a(f)}function a(f){return KJe.call(n,i,s,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function s(f){return r=Rg(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 Fa(f)?f8(i,u)(f):u(f)}function u(f){return XJe(i,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function c(f){return i.attempt(I7i,h,h)(f)}function h(f){return Ro(f)?Ko(i,d,"whitespace")(f):d(f)}function d(f){return f===null||kr(f)?(i.exit("definition"),n.parser.defined.push(r),e(f)):t(f)}}function P7i(i,e,t){return n;function n(s){return Fa(s)?f8(i,r)(s):t(s)}function r(s){return ZJe(i,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Ro(s)?Ko(i,a,"whitespace")(s):a(s)}function a(s){return s===null||kr(s)?e(s):t(s)}}const L7i={name:"hardBreakEscape",tokenize:B7i};function B7i(i,e,t){return n;function n(o){return i.enter("hardBreakEscape"),i.consume(o),r}function r(o){return kr(o)?(i.exit("hardBreakEscape"),e(o)):t(o)}}const F7i={name:"headingAtx",resolve:N7i,tokenize:H7i};function N7i(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"},ef(i,n,t-n+1,[["enter",r,e],["enter",o,e],["exit",o,e],["exit",r,e]])),i}function H7i(i,e,t){let n=0;return r;function r(c){return i.enter("atxHeading"),o(c)}function o(c){return i.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&n++<6?(i.consume(c),a):c===null||Fa(c)?(i.exit("atxHeadingSequence"),s(c)):t(c)}function s(c){return c===35?(i.enter("atxHeadingSequence"),l(c)):c===null||kr(c)?(i.exit("atxHeading"),e(c)):Ro(c)?Ko(i,s,"whitespace")(c):(i.enter("atxHeadingText"),u(c))}function l(c){return c===35?(i.consume(c),l):(i.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||Fa(c)?(i.exit("atxHeadingText"),s(c)):(i.consume(c),u)}}const $7i=["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"],QJe=["pre","script","style","textarea"],z7i={concrete:!0,name:"htmlFlow",resolveTo:j7i,tokenize:U7i},W7i={partial:!0,tokenize:q7i},V7i={partial:!0,tokenize:G7i};function j7i(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 U7i(i,e,t){const n=this;let r,o,a,s,l;return u;function u(H){return c(H)}function c(H){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(H),h}function h(H){return H===33?(i.consume(H),d):H===47?(i.consume(H),o=!0,p):H===63?(i.consume(H),r=3,n.interrupt?e:z):Oc(H)?(i.consume(H),a=String.fromCharCode(H),m):t(H)}function d(H){return H===45?(i.consume(H),r=2,f):H===91?(i.consume(H),r=5,s=0,g):Oc(H)?(i.consume(H),r=4,n.interrupt?e:z):t(H)}function f(H){return H===45?(i.consume(H),n.interrupt?e:z):t(H)}function g(H){const J="CDATA[";return H===J.charCodeAt(s++)?(i.consume(H),s===J.length?n.interrupt?e:k:g):t(H)}function p(H){return Oc(H)?(i.consume(H),a=String.fromCharCode(H),m):t(H)}function m(H){if(H===null||H===47||H===62||Fa(H)){const J=H===47,re=a.toLowerCase();return!J&&!o&&QJe.includes(re)?(r=1,n.interrupt?e(H):k(H)):$7i.includes(a.toLowerCase())?(r=6,J?(i.consume(H),v):n.interrupt?e(H):k(H)):(r=7,n.interrupt&&!n.parser.lazy[n.now().line]?t(H):o?b(H):y(H))}return H===45||nc(H)?(i.consume(H),a+=String.fromCharCode(H),m):t(H)}function v(H){return H===62?(i.consume(H),n.interrupt?e:k):t(H)}function b(H){return Ro(H)?(i.consume(H),b):T(H)}function y(H){return H===47?(i.consume(H),T):H===58||H===95||Oc(H)?(i.consume(H),_):Ro(H)?(i.consume(H),y):T(H)}function _(H){return H===45||H===46||H===58||H===95||nc(H)?(i.consume(H),_):S(H)}function S(H){return H===61?(i.consume(H),x):Ro(H)?(i.consume(H),S):y(H)}function x(H){return H===null||H===60||H===61||H===62||H===96?t(H):H===34||H===39?(i.consume(H),l=H,w):Ro(H)?(i.consume(H),x):E(H)}function w(H){return H===l?(i.consume(H),l=null,A):H===null||kr(H)?t(H):(i.consume(H),w)}function E(H){return H===null||H===34||H===39||H===47||H===60||H===61||H===62||H===96||Fa(H)?S(H):(i.consume(H),E)}function A(H){return H===47||H===62||Ro(H)?y(H):t(H)}function T(H){return H===62?(i.consume(H),R):t(H)}function R(H){return H===null||kr(H)?k(H):Ro(H)?(i.consume(H),R):t(H)}function k(H){return H===45&&r===2?(i.consume(H),F):H===60&&r===1?(i.consume(H),V):H===62&&r===4?(i.consume(H),X):H===63&&r===3?(i.consume(H),z):H===93&&r===5?(i.consume(H),q):kr(H)&&(r===6||r===7)?(i.exit("htmlFlowData"),i.check(W7i,j,O)(H)):H===null||kr(H)?(i.exit("htmlFlowData"),O(H)):(i.consume(H),k)}function O(H){return i.check(V7i,I,j)(H)}function I(H){return i.enter("lineEnding"),i.consume(H),i.exit("lineEnding"),L}function L(H){return H===null||kr(H)?O(H):(i.enter("htmlFlowData"),k(H))}function F(H){return H===45?(i.consume(H),z):k(H)}function V(H){return H===47?(i.consume(H),a="",W):k(H)}function W(H){if(H===62){const J=a.toLowerCase();return QJe.includes(J)?(i.consume(H),X):k(H)}return Oc(H)&&a.length<8?(i.consume(H),a+=String.fromCharCode(H),W):k(H)}function q(H){return H===93?(i.consume(H),z):k(H)}function z(H){return H===62?(i.consume(H),X):H===45&&r===2?(i.consume(H),z):k(H)}function X(H){return H===null||kr(H)?(i.exit("htmlFlowData"),j(H)):(i.consume(H),X)}function j(H){return i.exit("htmlFlow"),e(H)}}function G7i(i,e,t){const n=this;return r;function r(a){return kr(a)?(i.enter("lineEnding"),i.consume(a),i.exit("lineEnding"),o):t(a)}function o(a){return n.parser.lazy[n.now().line]?t(a):e(a)}}function q7i(i,e,t){return n;function n(r){return i.enter("lineEnding"),i.consume(r),i.exit("lineEnding"),i.attempt(h8,e,t)}}const Y7i={name:"htmlText",tokenize:X7i};function X7i(i,e,t){const n=this;let r,o,a;return s;function s(z){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(z),l}function l(z){return z===33?(i.consume(z),u):z===47?(i.consume(z),S):z===63?(i.consume(z),y):Oc(z)?(i.consume(z),E):t(z)}function u(z){return z===45?(i.consume(z),c):z===91?(i.consume(z),o=0,g):Oc(z)?(i.consume(z),b):t(z)}function c(z){return z===45?(i.consume(z),f):t(z)}function h(z){return z===null?t(z):z===45?(i.consume(z),d):kr(z)?(a=h,V(z)):(i.consume(z),h)}function d(z){return z===45?(i.consume(z),f):h(z)}function f(z){return z===62?F(z):z===45?d(z):h(z)}function g(z){const X="CDATA[";return z===X.charCodeAt(o++)?(i.consume(z),o===X.length?p:g):t(z)}function p(z){return z===null?t(z):z===93?(i.consume(z),m):kr(z)?(a=p,V(z)):(i.consume(z),p)}function m(z){return z===93?(i.consume(z),v):p(z)}function v(z){return z===62?F(z):z===93?(i.consume(z),v):p(z)}function b(z){return z===null||z===62?F(z):kr(z)?(a=b,V(z)):(i.consume(z),b)}function y(z){return z===null?t(z):z===63?(i.consume(z),_):kr(z)?(a=y,V(z)):(i.consume(z),y)}function _(z){return z===62?F(z):y(z)}function S(z){return Oc(z)?(i.consume(z),x):t(z)}function x(z){return z===45||nc(z)?(i.consume(z),x):w(z)}function w(z){return kr(z)?(a=w,V(z)):Ro(z)?(i.consume(z),w):F(z)}function E(z){return z===45||nc(z)?(i.consume(z),E):z===47||z===62||Fa(z)?A(z):t(z)}function A(z){return z===47?(i.consume(z),F):z===58||z===95||Oc(z)?(i.consume(z),T):kr(z)?(a=A,V(z)):Ro(z)?(i.consume(z),A):F(z)}function T(z){return z===45||z===46||z===58||z===95||nc(z)?(i.consume(z),T):R(z)}function R(z){return z===61?(i.consume(z),k):kr(z)?(a=R,V(z)):Ro(z)?(i.consume(z),R):A(z)}function k(z){return z===null||z===60||z===61||z===62||z===96?t(z):z===34||z===39?(i.consume(z),r=z,O):kr(z)?(a=k,V(z)):Ro(z)?(i.consume(z),k):(i.consume(z),I)}function O(z){return z===r?(i.consume(z),r=void 0,L):z===null?t(z):kr(z)?(a=O,V(z)):(i.consume(z),O)}function I(z){return z===null||z===34||z===39||z===60||z===61||z===96?t(z):z===47||z===62||Fa(z)?A(z):(i.consume(z),I)}function L(z){return z===47||z===62||Fa(z)?A(z):t(z)}function F(z){return z===62?(i.consume(z),i.exit("htmlTextData"),i.exit("htmlText"),e):t(z)}function V(z){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(z),i.exit("lineEnding"),W}function W(z){return Ro(z)?Ko(i,q,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):q(z)}function q(z){return i.enter("htmlTextData"),a(z)}}const Gue={name:"labelEnd",resolveAll:J7i,resolveTo:eMi,tokenize:tMi},K7i={tokenize:iMi},Z7i={tokenize:nMi},Q7i={tokenize:rMi};function J7i(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&&ef(i,0,i.length,t),i}function eMi(i,e){let t=i.length,n=0,r,o,a,s;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(a){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"&&(a=t);const l={type:i[o][1].type==="labelLink"?"link":"image",start:ke({},i[o][1].start),end:ke({},i[i.length-1][1].end)},u={type:"label",start:ke({},i[o][1].start),end:ke({},i[a][1].end)},c={type:"labelText",start:ke({},i[o+n+2][1].end),end:ke({},i[a-2][1].start)};return s=[["enter",l,e],["enter",u,e]],s=C0(s,i.slice(o+1,o+n+3)),s=C0(s,[["enter",c,e]]),s=C0(s,bF(e.parser.constructs.insideSpan.null,i.slice(o+n+4,a-3),e)),s=C0(s,[["exit",c,e],i[a-2],i[a-1],["exit",u,e]]),s=C0(s,i.slice(a+1)),s=C0(s,[["exit",l,e]]),ef(i,o,i.length,s),i}function tMi(i,e,t){const n=this;let r=n.events.length,o,a;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 s;function s(d){return o?o._inactive?h(d):(a=n.parser.defined.includes(Rg(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(K7i,c,a?c:h)(d):d===91?i.attempt(Z7i,c,a?u:h)(d):a?c(d):h(d)}function u(d){return i.attempt(Q7i,c,h)(d)}function c(d){return e(d)}function h(d){return o._balanced=!0,t(d)}}function iMi(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 Fa(h)?f8(i,o)(h):o(h)}function o(h){return h===41?c(h):XJe(i,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function a(h){return Fa(h)?f8(i,l)(h):c(h)}function s(h){return t(h)}function l(h){return h===34||h===39||h===40?ZJe(i,u,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):c(h)}function u(h){return Fa(h)?f8(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 nMi(i,e,t){const n=this;return r;function r(s){return KJe.call(n,i,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return n.parser.defined.includes(Rg(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(s):t(s)}function a(s){return t(s)}}function rMi(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 oMi={name:"labelStartImage",resolveAll:Gue.resolveAll,tokenize:aMi};function aMi(i,e,t){const n=this;return r;function r(s){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(s),i.exit("labelImageMarker"),o}function o(s){return s===91?(i.enter("labelMarker"),i.consume(s),i.exit("labelMarker"),i.exit("labelImage"),a):t(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?t(s):e(s)}}const sMi={name:"labelStartLink",resolveAll:Gue.resolveAll,tokenize:lMi};function lMi(i,e,t){const n=this;return r;function r(a){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(a),i.exit("labelMarker"),i.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in n.parser.constructs?t(a):e(a)}}const que={name:"lineEnding",tokenize:uMi};function uMi(i,e){return t;function t(n){return i.enter("lineEnding"),i.consume(n),i.exit("lineEnding"),Ko(i,e,"linePrefix")}}const yF={name:"thematicBreak",tokenize:cMi};function cMi(i,e,t){let n=0,r;return o;function o(u){return i.enter("thematicBreak"),a(u)}function a(u){return r=u,s(u)}function s(u){return u===r?(i.enter("thematicBreakSequence"),l(u)):n>=3&&(u===null||kr(u))?(i.exit("thematicBreak"),e(u)):t(u)}function l(u){return u===r?(i.consume(u),n++,l):(i.exit("thematicBreakSequence"),Ro(u)?Ko(i,s,"whitespace")(u):s(u))}}const ud={continuation:{tokenize:gMi},exit:mMi,name:"list",tokenize:fMi},hMi={partial:!0,tokenize:vMi},dMi={partial:!0,tokenize:pMi};function fMi(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,a=0;return s;function s(f){const g=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:Vue(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(yF,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 Vue(f)&&++a<10?(i.consume(f),l):(!n.interrupt||a<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(h8,n.interrupt?t:c,i.attempt(hMi,d,h))}function c(f){return n.containerState.initialBlankLine=!0,o++,d(f)}function h(f){return Ro(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 gMi(i,e,t){const n=this;return n.containerState._closeFlow=void 0,i.check(h8,r,o);function r(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ko(i,e,"listItemIndent",n.containerState.size+1)(s)}function o(s){return n.containerState.furtherBlankLines||!Ro(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,a(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,i.attempt(dMi,e,a)(s))}function a(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ko(i,i.attempt(ud,e,t),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function pMi(i,e,t){const n=this;return Ko(i,r,"listItemIndent",n.containerState.size+1);function r(o){const a=n.events[n.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===n.containerState.size?e(o):t(o)}}function mMi(i){i.exit(this.containerState.type)}function vMi(i,e,t){const n=this;return Ko(i,r,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){const a=n.events[n.events.length-1];return!Ro(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):t(o)}}const JJe={name:"setextUnderline",resolveTo:bMi,tokenize:yMi};function bMi(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 a={type:"setextHeading",start:ke({},i[n][1].start),end:ke({},i[i.length-1][1].end)};return i[r][1].type="setextHeadingText",o?(i.splice(r,0,["enter",a,e]),i.splice(o+1,0,["exit",i[n][1],e]),i[n][1].end=ke({},i[o][1].end)):i[n][1]=a,i.push(["exit",a,e]),i}function yMi(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,a(u)):t(u)}function a(u){return i.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===r?(i.consume(u),s):(i.exit("setextHeadingLineSequence"),Ro(u)?Ko(i,l,"lineSuffix")(u):l(u))}function l(u){return u===null||kr(u)?(i.exit("setextHeadingLine"),e(u)):t(u)}}const _Mi={tokenize:CMi};function CMi(i){const e=this,t=i.attempt(h8,n,i.attempt(this.parser.constructs.flowInitial,r,Ko(i,i.attempt(this.parser.constructs.flow,r,i.attempt(A7i,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 xMi={resolveAll:tet()},SMi=eet("string"),wMi=eet("text");function eet(i){return{resolveAll:tet(i==="text"?EMi:void 0),tokenize:e};function e(t){const n=this,r=this.parser.constructs[i],o=t.attempt(r,a,s);return a;function a(c){return u(c)?o(c):s(c)}function s(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 tet(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 EMi(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,a=-1,s=0,l;for(;o--;){const u=r[o];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(u===-2)l=!0,s++;else if(u!==-1){o++;break}}if(e._contentTypeTextTrailing&&t===i.length&&(s=0),s){const u={type:t===i.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:n.start._bufferIndex+a,_index:n.start._index+o,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:ke({},n.end)};n.end=ke({},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 AMi=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:O7i},disable:{null:[]},document:{42:ud,43:ud,45:ud,48:ud,49:ud,50:ud,51:ud,52:ud,53:ud,54:ud,55:ud,56:ud,57:ud,62:VJe},flow:{35:F7i,42:yF,45:[JJe,yF],60:z7i,61:JJe,95:yF,96:qJe,126:qJe},flowInitial:{[-2]:Uue,[-1]:Uue,32:Uue},insideSpan:{null:[jue,xMi]},string:{38:UJe,92:jJe},text:{[-5]:que,[-4]:que,[-3]:que,33:oMi,38:UJe,42:jue,60:[s7i,Y7i],91:sMi,92:[L7i,jJe],93:Gue,95:jue,96:_7i}},Symbol.toStringTag,{value:"Module"}));function TMi(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 a=[],s=[];const l={attempt:w(S),check:w(x),consume:b,enter:y,exit:_,interrupt:w(x,{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(R){return a=C0(a,R),m(),a[a.length-1]!==null?[]:(E(e,0),u.events=bF(o,u.events,u),u.events)}function d(R,k){return MMi(f(R),k)}function f(R){return RMi(a,R)}function g(){const{_bufferIndex:R,_index:k,line:O,column:I,offset:L}=n;return{_bufferIndex:R,_index:k,line:O,column:I,offset:L}}function p(R){r[R.line]=R.column,T()}function m(){let R;for(;n._index<a.length;){const k=a[n._index];if(typeof k=="string")for(R=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===R&&n._bufferIndex<k.length;)v(k.charCodeAt(n._bufferIndex));else v(k)}}function v(R){c=c(R)}function b(R){kr(R)?(n.line++,n.column=1,n.offset+=R===-3?2:1,T()):R!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=R}function y(R,k){const O=k||{};return O.type=R,O.start=g(),u.events.push(["enter",O,u]),s.push(O),O}function _(R){const k=s.pop();return k.end=g(),u.events.push(["exit",k,u]),k}function S(R,k){E(R,k.from)}function x(R,k){k.restore()}function w(R,k){return O;function O(I,L,F){let V,W,q,z;return Array.isArray(I)?j(I):"tokenize"in I?j([I]):X(I);function X(se){return ie;function ie(ue){const he=ue!==null&&se[ue],ge=ue!==null&&se.null,pe=[...Array.isArray(he)?he:he?[he]:[],...Array.isArray(ge)?ge:ge?[ge]:[]];return j(pe)(ue)}}function j(se){return V=se,W=0,se.length===0?F:H(se[W])}function H(se){return ie;function ie(ue){return z=A(),q=se,se.partial||(u.currentConstruct=se),se.name&&u.parser.constructs.disable.null.includes(se.name)?re():se.tokenize.call(k?Object.assign(Object.create(u),k):u,l,J,re)(ue)}}function J(se){return R(q,z),L}function re(se){return z.restore(),++W<V.length?H(V[W]):F}}}function E(R,k){R.resolveAll&&!o.includes(R)&&o.push(R),R.resolve&&ef(u.events,k,u.events.length-k,R.resolve(u.events.slice(k),u)),R.resolveTo&&(u.events=R.resolveTo(u.events,u))}function A(){const R=g(),k=u.previous,O=u.currentConstruct,I=u.events.length,L=Array.from(s);return{from:I,restore:F};function F(){n=R,u.previous=k,u.currentConstruct=O,u.events.length=I,s=L,T()}}function T(){n.line in r&&n.column<2&&(n.column=r[n.line],n.offset+=r[n.line]-1)}}function RMi(i,e){const t=e.start._index,n=e.start._bufferIndex,r=e.end._index,o=e.end._bufferIndex;let a;if(t===r)a=[i[t].slice(n,o)];else{if(a=i.slice(t,r),n>-1){const s=a[0];typeof s=="string"?a[0]=s.slice(n):a.shift()}o>0&&a.push(i[r].slice(0,o))}return a}function MMi(i,e){let t=-1;const n=[];let r;for(;++t<i.length;){const o=i[t];let a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
|
|
11488
11488
|
`;break}case-3:{a=`\r
|
|
11489
11489
|
`;break}case-2:{a=e?" ":" ";break}case-1:{if(!e&&r)continue;a=" ";break}default:a=String.fromCharCode(o)}r=o===-2,n.push(a)}return n.join("")}function kMi(i){const n={constructs:HJe([AMi,...(i||{}).extensions||[]]),content:r(e7i),defined:[],document:r(i7i),flow:r(_Mi),lazy:{},string:r(SMi),text:r(wMi)};return n;function r(o){return a;function a(s){return TMi(n,o,s)}}}function OMi(i){for(;!YJe(i););return i}const iet=/[\0\t\n\r]/g;function IMi(){let i=1,e="",t=!0,n;return r;function r(o,a,s){const l=[];let u,c,h,d,f;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),h=0,e="",t&&(o.charCodeAt(0)===65279&&h++,t=void 0);h<o.length;){if(iet.lastIndex=h,u=iet.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 s&&(n&&l.push(-5),e&&l.push(e),l.push(null)),l}}const DMi=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function PMi(i){return i.replace(DMi,LMi)}function LMi(i,e,t){if(e)return e;if(t.charCodeAt(0)===35){const r=t.charCodeAt(1),o=r===120||r===88;return $Je(t.slice(o?2:1),o?16:10)}return Wue(t)||i}const net={}.hasOwnProperty;function BMi(i,e,t){return typeof e!="string"&&(t=e,e=void 0),FMi(t)(OMi(kMi(t).document().write(IMi()(i,e,!0))))}function FMi(i){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Ue),autolinkProtocol:A,autolinkEmail:A,atxHeading:o(Ee),blockQuote:o(ge),characterEscape:A,characterReference:A,codeFenced:o(pe),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(pe,a),codeText:o(me,a),codeTextData:A,data:A,codeFlowValue:A,definition:o(fe),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(Se),hardBreakEscape:o(Ae),hardBreakTrailing:o(Ae),htmlFlow:o(Te,a),htmlFlowData:A,htmlText:o(Te,a),htmlTextData:A,image:o(Oe),label:a,link:o(Ue),listItem:o(rt),listItemValue:d,listOrdered:o(ze,h),listUnordered:o(ze),paragraph:o(qe),reference:H,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(Ee),strong:o(Ze),thematicBreak:o(gt)},exit:{atxHeading:l(),atxHeadingSequence:S,autolink:l(),autolinkEmail:he,autolinkProtocol:ue,blockQuote:l(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:re,characterReferenceMarkerNumeric:re,characterReferenceValue:se,characterReference:ie,codeFenced:l(m),codeFencedFence:p,codeFencedFenceInfo:f,codeFencedFenceMeta:g,codeFlowValue:T,codeIndented:l(v),codeText:l(L),codeTextData:T,data:T,definition:l(),definitionDestinationString:_,definitionLabelString:b,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(k),hardBreakTrailing:l(k),htmlFlow:l(O),htmlFlowData:T,htmlText:l(I),htmlTextData:T,image:l(V),label:q,labelText:W,lineEnding:R,link:l(F),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:J,resourceDestinationString:z,resourceTitleString:X,resource:j,setextHeading:l(E),setextHeadingLineSequence:w,setextHeadingText:x,strong:l(),thematicBreak:l()}};ret(e,(i||{}).mdastExtensions||[]);const t={};return n;function n(Le){let Xe={type:"root",children:[]};const Mt={stack:[Xe],tokenStack:[],config:e,enter:s,exit:u,buffer:a,resume:c,data:t},Nt=[];let Ft=-1;for(;++Ft<Le.length;)if(Le[Ft][1].type==="listOrdered"||Le[Ft][1].type==="listUnordered")if(Le[Ft][0]==="enter")Nt.push(Ft);else{const vi=Nt.pop();Ft=r(Le,vi,Ft)}for(Ft=-1;++Ft<Le.length;){const vi=e[Le[Ft][0]];net.call(vi,Le[Ft][1].type)&&vi[Le[Ft][1].type].call(Object.assign({sliceSerialize:Le[Ft][2].sliceSerialize},Mt),Le[Ft][1])}if(Mt.tokenStack.length>0){const vi=Mt.tokenStack[Mt.tokenStack.length-1];(vi[1]||oet).call(Mt,void 0,vi[0])}for(Xe.position={start:I2(Le.length>0?Le[0][1].start:{line:1,column:1,offset:0}),end:I2(Le.length>0?Le[Le.length-2][1].end:{line:1,column:1,offset:0})},Ft=-1;++Ft<e.transforms.length;)Xe=e.transforms[Ft](Xe)||Xe;return Xe}function r(Le,Xe,Mt){let Nt=Xe-1,Ft=-1,vi=!1,Zt,at,st,yt;for(;++Nt<=Mt;){const dt=Le[Nt];switch(dt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{dt[0]==="enter"?Ft++:Ft--,yt=void 0;break}case"lineEndingBlank":{dt[0]==="enter"&&(Zt&&!yt&&!Ft&&!st&&(st=Nt),yt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:yt=void 0}if(!Ft&&dt[0]==="enter"&&dt[1].type==="listItemPrefix"||Ft===-1&&dt[0]==="exit"&&(dt[1].type==="listUnordered"||dt[1].type==="listOrdered")){if(Zt){let et=Nt;for(at=void 0;et--;){const tt=Le[et];if(tt[1].type==="lineEnding"||tt[1].type==="lineEndingBlank"){if(tt[0]==="exit")continue;at&&(Le[at][1].type="lineEndingBlank",vi=!0),tt[1].type="lineEnding",at=et}else if(!(tt[1].type==="linePrefix"||tt[1].type==="blockQuotePrefix"||tt[1].type==="blockQuotePrefixWhitespace"||tt[1].type==="blockQuoteMarker"||tt[1].type==="listItemIndent"))break}st&&(!at||st<at)&&(Zt._spread=!0),Zt.end=Object.assign({},at?Le[at][1].start:dt[1].end),Le.splice(at||Nt,0,["exit",Zt,dt[2]]),Nt++,Mt++}if(dt[1].type==="listItemPrefix"){const et={type:"listItem",_spread:!1,start:Object.assign({},dt[1].start),end:void 0};Zt=et,Le.splice(Nt,0,["enter",et,dt[2]]),Nt++,Mt++,st=void 0,yt=!0}}}return Le[Xe][1]._spread=vi,Mt}function o(Le,Xe){return Mt;function Mt(Nt){s.call(this,Le(Nt),Nt),Xe&&Xe.call(this,Nt)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(Le,Xe,Mt){this.stack[this.stack.length-1].children.push(Le),this.stack.push(Le),this.tokenStack.push([Xe,Mt||void 0]),Le.position={start:I2(Xe.start),end:void 0}}function l(Le){return Xe;function Xe(Mt){Le&&Le.call(this,Mt),u.call(this,Mt)}}function u(Le,Xe){const Mt=this.stack.pop(),Nt=this.tokenStack.pop();if(Nt)Nt[0].type!==Le.type&&(Xe?Xe.call(this,Le,Nt[0]):(Nt[1]||oet).call(this,Le,Nt[0]));else throw new Error("Cannot close `"+Le.type+"` ("+u8({start:Le.start,end:Le.end})+"): it’s not open");Mt.position.end=I2(Le.end)}function c(){return zue(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function d(Le){if(this.data.expectingFirstListItemValue){const Xe=this.stack[this.stack.length-2];Xe.start=Number.parseInt(this.sliceSerialize(Le),10),this.data.expectingFirstListItemValue=void 0}}function f(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.lang=Le}function g(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.meta=Le}function p(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function m(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Le.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Le.replace(/(\r?\n|\r)$/g,"")}function b(Le){const Xe=this.resume(),Mt=this.stack[this.stack.length-1];Mt.label=Xe,Mt.identifier=Rg(this.sliceSerialize(Le)).toLowerCase()}function y(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.title=Le}function _(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.url=Le}function S(Le){const Xe=this.stack[this.stack.length-1];if(!Xe.depth){const Mt=this.sliceSerialize(Le).length;Xe.depth=Mt}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function w(Le){const Xe=this.stack[this.stack.length-1];Xe.depth=this.sliceSerialize(Le).codePointAt(0)===61?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function A(Le){const Mt=this.stack[this.stack.length-1].children;let Nt=Mt[Mt.length-1];(!Nt||Nt.type!=="text")&&(Nt=$e(),Nt.position={start:I2(Le.start),end:void 0},Mt.push(Nt)),this.stack.push(Nt)}function T(Le){const Xe=this.stack.pop();Xe.value+=this.sliceSerialize(Le),Xe.position.end=I2(Le.end)}function R(Le){const Xe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Mt=Xe.children[Xe.children.length-1];Mt.position.end=I2(Le.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(Xe.type)&&(A.call(this,Le),T.call(this,Le))}function k(){this.data.atHardBreak=!0}function O(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Le}function I(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Le}function L(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.value=Le}function F(){const Le=this.stack[this.stack.length-1];if(this.data.inReference){const Xe=this.data.referenceType||"shortcut";Le.type+="Reference",Le.referenceType=Xe,delete Le.url,delete Le.title}else delete Le.identifier,delete Le.label;this.data.referenceType=void 0}function V(){const Le=this.stack[this.stack.length-1];if(this.data.inReference){const Xe=this.data.referenceType||"shortcut";Le.type+="Reference",Le.referenceType=Xe,delete Le.url,delete Le.title}else delete Le.identifier,delete Le.label;this.data.referenceType=void 0}function W(Le){const Xe=this.sliceSerialize(Le),Mt=this.stack[this.stack.length-2];Mt.label=PMi(Xe),Mt.identifier=Rg(Xe).toLowerCase()}function q(){const Le=this.stack[this.stack.length-1],Xe=this.resume(),Mt=this.stack[this.stack.length-1];if(this.data.inReference=!0,Mt.type==="link"){const Nt=Le.children;Mt.children=Nt}else Mt.alt=Xe}function z(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.url=Le}function X(){const Le=this.resume(),Xe=this.stack[this.stack.length-1];Xe.title=Le}function j(){this.data.inReference=void 0}function H(){this.data.referenceType="collapsed"}function J(Le){const Xe=this.resume(),Mt=this.stack[this.stack.length-1];Mt.label=Xe,Mt.identifier=Rg(this.sliceSerialize(Le)).toLowerCase(),this.data.referenceType="full"}function re(Le){this.data.characterReferenceType=Le.type}function se(Le){const Xe=this.sliceSerialize(Le),Mt=this.data.characterReferenceType;let Nt;Mt?(Nt=$Je(Xe,Mt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Nt=Wue(Xe);const Ft=this.stack[this.stack.length-1];Ft.value+=Nt}function ie(Le){const Xe=this.stack.pop();Xe.position.end=I2(Le.end)}function ue(Le){T.call(this,Le);const Xe=this.stack[this.stack.length-1];Xe.url=this.sliceSerialize(Le)}function he(Le){T.call(this,Le);const Xe=this.stack[this.stack.length-1];Xe.url="mailto:"+this.sliceSerialize(Le)}function ge(){return{type:"blockquote",children:[]}}function pe(){return{type:"code",lang:null,meta:null,value:""}}function me(){return{type:"inlineCode",value:""}}function fe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Se(){return{type:"emphasis",children:[]}}function Ee(){return{type:"heading",depth:0,children:[]}}function Ae(){return{type:"break"}}function Te(){return{type:"html",value:""}}function Oe(){return{type:"image",title:null,url:"",alt:null}}function Ue(){return{type:"link",title:null,url:"",children:[]}}function ze(Le){return{type:"list",ordered:Le.type==="listOrdered",start:null,spread:Le._spread,children:[]}}function rt(Le){return{type:"listItem",spread:Le._spread,checked:null,children:[]}}function qe(){return{type:"paragraph",children:[]}}function Ze(){return{type:"strong",children:[]}}function $e(){return{type:"text",value:""}}function gt(){return{type:"thematicBreak"}}}function I2(i){return{line:i.line,column:i.column,offset:i.offset}}function ret(i,e){let t=-1;for(;++t<e.length;){const n=e[t];Array.isArray(n)?ret(i,n):NMi(i,n)}}function NMi(i,e){let t;for(t in e)if(net.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 oet(i,e){throw i?new Error("Cannot close `"+i.type+"` ("+u8({start:i.start,end:i.end})+"): a different token (`"+e.type+"`, "+u8({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+u8({start:e.start,end:e.end})+") is still open")}function HMi(i){const e=this;e.parser=t;function t(n){return BMi(n,Wi(ke(ke({},e.data("settings")),i),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function $Mi(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 zMi(i,e){const t={type:"element",tagName:"br",properties:{},children:[]};return i.patch(e,t),[i.applyData(e,t),{type:"text",value:`
|